Jump to content

Grid View Choice not working 6.0.2


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

"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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...