Dirty Butter Posted April 1, 2015 Share Posted April 1, 2015 The Grid View choice WAS working for me at one point with v6, but it's not now. The page loads with no products showing at all... just the More bar. Any suggestions about where I should look to see where I messed it up? Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2015 Share Posted April 1, 2015 I get this on the javascript error log: Error: TypeError: Foundation.utils.is_small_only is not a function Source File: https://dirtybutter.com/plushcatalog/skins/blue/js/2.cubecart.js Line: 475 Error: TypeError: Foundation.utils.is_medium_up is not a function Source File: https://dirtybutter.com/plushcatalog/skins/blue/js/2.cubecart.js Line: 6 I also see this in main.php: <script src="https://dirtybutter.com/plushcatalog/skins/blue/js/1.foundation.min.js" type="text/javascript"></script> <script src="https://dirtybutter.com/plushcatalog/skins/blue/js/cubecart.validate.js" type="text/javascript"></script> <script src="https://dirtybutter.com/plushcatalog/skins/blue/js/foundation.min.js" type="text/javascript"></script> <script src="https://dirtybutter.com/plushcatalog/skins/blue/js/cubecart.js" type="text/javascript"></script> <script src="https://dirtybutter.com/plushcatalog/skins/blue/js/2.cubecart.js" type="text/javascript"></script> <script src="https://dirtybutter.com/plushcatalog/skins/blue/js/3.cubecart.validate.js" type="text/javascript"></script> It seems you have duplicate copies of the only three files that are supposed to be in /foundation/js/. Which is probably an unintended consequence of upgrading to CC602 -- the new files were added to the existing files in that folder, and the upgrade did not delete the old files. Although, the script at: /setup/scripts/upgrade/6.0.2.php specifically tries to delete them in the /foundation/ skin folder -- you have /blue/ as the name of your skin folder. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 1, 2015 Author Share Posted April 1, 2015 Thank you! I thought since they were numbered that they were tweaks to the code. I deleted the original files and renamed the three files without the numerals, and it works again. I had issues with this upgrade. I should have just done it manually, obviously. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2015 Share Posted April 1, 2015 "I deleted the original files and renamed the three files without the numerals" For CC602, you should keep the files having the numbers as they were so named in the 602 package. There was a bug report that for some situations, it is very important that these javascript files get loaded (that is, sorted accordingly and listed as such in the HTML) in a specific order. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 2, 2015 Author Share Posted April 2, 2015 So I should leave the numerals in front of the names? I saved copies of both sets, so it's easy enough to replace. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 2, 2015 Share Posted April 2, 2015 Use the filenames that have the numerals at the start. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 2, 2015 Author Share Posted April 2, 2015 Odd. One store has a readme file explaining the numerals provide loading order directions. The other store does not have that file. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 2, 2015 Author Share Posted April 2, 2015 I just noticed that GitHub now has a fix for the foundation errors - is not a function - Bsmither noted in #2 - https://github.com/cubecart/v6/issues/444 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.