News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

"Ask a Question" link not opening a popup

Started by wayner, February 11, 2014, 12:16:13 PM

Previous topic - Next topic

wayner

Running Virtuemart 2.0.26d (catalogue mode) on Joomla 2.5.18.  After upgrading Virtuemart to latest version, the "Ask a question" link on the product page does not open in a popup window, rather opens in the same window.  Has anyone know how to fix this or maybe where I could start looking?

https://www.rpslighting.com.au/index.php/portable-lighting-kits/diva-lite-kits/kit-d4-230-detail is an example.

Thanks in advance.

jenkinhill

You have a JavaScript issue and a problem with your use of https:


Blocked loading mixed active content "http://api.html5media.info/1.1.5/html5media.min.js"
"NetworkError: 404 Not Found - https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/themes/base/jquery-ui.css"
jquery-ui.css
"NetworkError: 404 Not Found - https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.js"
jquery-ui.js
"CSS Usage: initializing extensions"
"NetworkError: 404 Not Found - https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.js"
jquery-ui.js
Blocked loading mixed active content "http://api.html5media.info/1.1.5/html5media.min.js"

See also http://forum.virtuemart.net/index.php?topic=119638.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

wayner

#2
Thanks jenkinhill,  I'm not sure where you're seeing the 404 errors - I'm using Firefox with Firebug and Chromium Developer Tools.  I have disabled some plugins including the videobox plugin that was causing one of the 404 errors.

The only error I can see is "$.facebox is not a function" in Firebug when I click on the ask a question button.  Can anyone help with this?

jenkinhill

Modern browsers won't load external non-https files into https pages, so that stops things working.

Now you can see the actual issue in that facebox/fancybox is not working. This is usually because you are loading a jQuery version with which facebox cannot function. You can go as recent as jQ1.7.1 but not jQ1.9.  That's why I gave you the link to the jQ FAQ
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

wayner

Thanks Kelvyn,  I now have jquery 1.7.1 loading but although the "$.facebox is not a function" error has disappeared, the original problem remains.  Thoughts???

jenkinhill

Now I would check that the template overrides you are using are correct for the current VM version. You could try using the Beez template for testing this, or rename the override template directory - [yourJoomlaTemplate]/html/com_virtuemart/
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