Hi, as i said LOVE the ZX, but my client wants a different design. How do I go about uninstalling it? I deleted all the banners, but I still have empty divs classes like slider-wrapper and nivoSlider in my code.
Thanks,
Max
Printable View
Hi, as i said LOVE the ZX, but my client wants a different design. How do I go about uninstalling it? I deleted all the banners, but I still have empty divs classes like slider-wrapper and nivoSlider in my code.
Thanks,
Max
You'll need to remove all the new code that was added with the plugin (either remove the files that you added when uploading OR remove the commented code in the modified files) and then run the uninstall SQL command. It was described earlier in this thread:
https://www.zen-cart.com/showthread....32#post1247932
Hi all. Does anyone have this working via HTTPS and a Secure site?
I have the Slideshow working well when running HTTP. I have since activated SSL in Zencart and have the entire site now running SSL via HTTPS. Unfortunately, the ZX Slideshow simply looks to be loading then vanishes when you go via the HTTPS URL. You can see the difference via the two URLS below:
https://bareprotein.com.au/shop/ - the Slideshow tries to load and vanishes
VS.
http://bareprotein.com.au/shop/ - Slideshow loads quick and stays visible.
Any suggestions as to the issue?
Thanks,
Chris
you are in a jquery mess.
when in https; you are stuck in a loop.... which is why the site is running slow in https.
if you open the developer tools in your browser and look at the console, you will see the error:
https://www.bareprotein.com.au/shop/undefined 404 (Not Found)
and it keeps on getting repeated. it looks like it may be from this code:
but it is not stopping from there when entering a break point.Code:// For debugging
var trace = function(msg){
if(this.console && typeof console.log !== 'undefined') { console.log(msg); }
};
debugging jquery can be tricky. sorry i do not have more to go on.
best.
Chris, I don't have a straight answer, but there is something I'd like you to try before we go any further. Please check your includes/configure.php file and see what it says under HTTP_SERVER - looks to me it's set for the www.bareprotein.com.au and you're trying to access the site without the www, which then causes a CORS error. You'll need to decide wheher you'll be using the www or not and then add a rule in the htaccess file so the other version is not available (redirect to the chosen version). Let's start with that and see where it takes us.
Thanks Balihr, the CORS error is what the server support team are telling me either, but not sure how to correct this. Here is what I have in the /includes/configure.php file:
define('HTTP_SERVER', 'http://www.bareprotein.com.au');
define('HTTPS_SERVER', 'https://www.bareprotein.com.au');
I have been playing with RewriteCond in my .htaccess file. To be honest, not sure what I'm really trying to do with it, but having a play withe the following to no avail:
RewriteCond %{HTTP_HOST} bareprotein\.com\.au [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.bareprotein.com.au/$1 [R,L]
It comes back to your comment on whether I'll be using www or not. To that, i'd look to guidance on what is standard practice and try and get this sorted based on that decision. Based on that recommendation and decision, I assume I then need to adjust both the configure.php file and the .htaccess? Also please advise exactly where the .htaccess file should be as I have one at the root of the site and one in the /includes folder.
Thanks all for your help.
Chris
A jquery mess! I like that... not. I think I have gone about implementing add-ons, following instructions and each may use a different version. It does look a mess and I agree trying to debug this is a nightmare. I'm running with Balihr right now on getting the CORS error corrected as it may just be running around between www and the non-www server request.
Thanks for the feedback. I feel I'm closing in on the issue with your assistance.
Chris
i think the CORS error should be easy to fix.... you guys can figure that out... although it looks easy enough to try and remove the www from both definitions in the configure file.
that HOWEVER is not the problem you are posting about. if you look at the console using developer tools you have the CORS error in both places; and yet one url the slider works, and the other url, the slider does not.
it is ENTIRELY possible that by removing the www and hopefully addressing the CORS error, the slider may work.... although i'm not sure why that world work....
as i previously stated, debugging jquery can be tricky, especially if you have limited experience...
here is the jquery error/loop....
Attachment 18023
best.
I see what you mean now and understand having taken a look at the developer tool. With jquery being the issue, I'm in over my head! If anyone has any further thoughts on this issue, open to hear them... otherwise, think it is time to seek some help from an someone who can debug this for me. I'll try the template guys first, but think this will just get passed back from support as my issue. As I said, I have implemented a number of add-ons myself and don't think they are playing together well at this stage from a jquery standpoint. Thanks again! Chris
First thing I would do is delete jquery and get a true version which would have a line like this at the top... /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ not like yours.. which is a stripped down version of something... which may work for what they was striped for and not much else! The amount of scripts you have loading may require more from jQuery then what you have now...
personally I use version 3 and load just after my css to make sure it gets set before any scripts that require it.. I use the latest versions of owl carousel without any issues.