bondimedical Posted December 10, 2015 Share Posted December 10, 2015 I have just done a new install of 6.0.8 and I can't view the Test product. I also can't create a new product. All that happens is that the dot spins round and round in circles? Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2015 Share Posted December 10, 2015 The thing you describe is called a "throbber". It is necessary that whatever javascript is running completes successfully, and thus under javascript control the throbber gets hidden, When the throbber does not go away, then javascript has crashed (or perhaps you have a browser plugin to keep tight control over javascript scripts).Please discover the method your browser uses to display its internal diagnostic console where the javascript engine will have reported what was wrong with the script that caused javascript to crash. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 10, 2015 Author Share Posted December 10, 2015 I am using Chrome. I Inspected the throbber and it said there is 1 error: net::ERR_CONTENT_LENGTH_MISMATCH Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2015 Share Posted December 10, 2015 I have no idea what that means with respect to Chrome.But an Internet search shows a number of hits -- one of which suggests whitelisting your site in your Ad-Blocker. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 10, 2015 Author Share Posted December 10, 2015 I don't use an Ad Blocker.That is the error displayed in the diagnostic console: Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2015 Share Posted December 10, 2015 Again, knowing nothing about Chrome, is there a 'net waterfall? That is, when all the page's code and resources (images, CSS, javascript files) have come in, there is a "timeline" of sorts that shows each item and how long it took to get them.For each GET request and response, there will be the web server headers in the response that should show what the web server said the byte-count of the content was going be, and the waterfall shows the byte-count actually received. So, if a javascript file is requested, and something malformed is received, then, of course, the javascript won't be there to turn off the throbber. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 10, 2015 Author Share Posted December 10, 2015 I can get a waterfall from http://www.webpagetest.org/ but which browser do you use to debug javascript? Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2015 Share Posted December 10, 2015 Firefox, although it has its own diagnostics (Tools, Web Developer, Toggle Tools), I instead use the Web Developer Extension and Firebug addons. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 10, 2015 Author Share Posted December 10, 2015 I have a feeling this may get fairly involved. If I pay you can you have a look at it for me. I can PM you the details? Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2015 Share Posted December 10, 2015 PM me the details. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2015 Share Posted December 10, 2015 For some reason, your web server (or maybe PHP) is truncating the total bytes sent in the response to about 72KiB. This page, being highly compressible, deflates to about 1MiB of content.But, still, the page is getting truncated. The HTML that has the link statements to javascript files at the bottom of the page is just not there. No links to javascript, no javascript files fetched. No javascript to execute, and no replacement of the throbber. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 11, 2015 Author Share Posted December 11, 2015 (edited) I am getting my hosting company to look at the issue now. I have also noticed that I can't enable caching in the Advanced Settings. Is that related to this? Edited December 11, 2015 by bondimedical Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 11, 2015 Author Share Posted December 11, 2015 (edited) This issue has been fixed now thanks to Brian Smither. As he pointed out there was some kind of issue with the server so I contacted my hosting company. They made some changes to ModSec and I could then edit and create products.I am however still unable to enable caching? Edited December 11, 2015 by bondimedical Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 11, 2015 Share Posted December 11, 2015 CubeCart's caching?Try finding a post or two that instruct you to make an entry in /includes/global.inc.php that sets 'files' as the caching mechanism.From what I've read in those posts, system errors get displayed on the screen. Maybe? Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 11, 2015 Author Share Posted December 11, 2015 Thank you again Brian. There was a line in there which said $glob['cache'] = 'file'; which I removed and now its working. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 11, 2015 Share Posted December 11, 2015 Removed??? I have not come across a situation where the presence of $glob['cache'] = 'file'; caused a problem. All I ever read was adding it to solve problems. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 11, 2015 Author Share Posted December 11, 2015 It was not present in my other 6.0.8 store and now the website is loading much faster. Quote Link to comment Share on other sites More sharing options...
bondimedical Posted December 12, 2015 Author Share Posted December 12, 2015 (edited) The cache bug has been reported on Github - https://github.com/cubecart/v6/issues/926 Edited December 12, 2015 by bondimedical Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted December 13, 2015 Share Posted December 13, 2015 It was not present in my other 6.0.8 store and now the website is loading much faster.A CubeCart upgrade inserts a line into the global.inc.php file forcing files based caching which causes problems with being able to enable / disable caching at all but also causes problems for sites if his had been blank before using another caching method, based on the defined priority order, such as Memcache or Memcached.I believe both of these issues are bugs and confusing as wellIan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.