jQuery issues causing missing elements and configuration problems

Started by webnerd3.14, October 07, 2014, 21:00:06 PM

Previous topic - Next topic

webnerd3.14

Hello!

Virtuemart: 2.6.0
Joomla: 2.5.20
PHP: 5.4.32

I have been having many problems with my store because of some jQuery conflicts that I seem to not be able to fix.  I know some of them are caused by my template, and jQuery conflicts, but when I fix those, other problems happen.  If someone can take a look at my javascript errors and tell me which ones are issues with Virtuemart so I can fix them, that would be great!  I can turn on the debug option if needed.

Thank you!  I am having never ending issues with this site, so any help or suggestions would be greatly appreciated!  I have a feeling some of this is due to conflicts between configurations I put in Virtuemart and having converted an HTML template to a Joomla template.  I am not sure where the conflicts are specifically, so anything will help!

http://katrina.despaindesigns.com/store/

Jennifer

jenkinhill

On every page the same errors are reported:

eg. Category (product list) page

"NetworkError: 404 Not Found - http://katrina.despaindesigns.com/templates//js/libs/jquery.min.js"
jquery.min.js
"NetworkError: 404 Not Found - http://katrina.despaindesigns.com/templates//js/script.js"
script.js
"NetworkError: 404 Not Found - http://katrina.despaindesigns.com/templates//js/libs/jquery.min.js"
jquery.min.js
TypeError: l is null
...(function(){var l=$("#cbp-bislideshow"),g=l.children("li"),n=g.length,f=$("#cbp-...   
cbpBGSl....min.js (line 1, col 59)
"NetworkError: 404 Not Found - http://katrina.despaindesigns.com/templates//js/script.js"


You are loading all the js at the bottom of the page body, try loading them in the head so they are loaded in correct order.
You also are loading two jQuery versions, maybe you can drop the one loaded by the template.

Lastly you are using insecure Joomla & VM versions.  http://forum.virtuemart.net/index.php?topic=118683.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum