VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: d0ublezer0 on October 20, 2012, 20:48:41 PM

Title: "Ask a question" Facebox bug with SEF enabled
Post by: d0ublezer0 on October 20, 2012, 20:48:41 PM
I found this: when Joomla SEF is enabled, click the <ask a question> on product details page.
With Firebug i've see this:
"NetworkError: 404 Not Found - http://zebra/catalogue/tech-cap/components/com_virtuemart/assets/images/facebox/closelabel.png"
"NetworkError: 404 Not Found - http://zebra/catalogue/tech-cap/components/com_virtuemart/assets/images/facebox/loading.gif"
"NetworkError: 404 Not Found - http://zebra/templates/system/css/template.css"


/catalogue/tech-cap/ - it is SEF-generated path for currently viewing category. So, popup script trying to add the "/components/com_virtuemart/assets/images/facebox/" value to current URI path. Of course, there's nothing there.

Also, it tries to load styles from a non-existent place (should be a http://zebra/templates/template-name/css/template.css)
As a result, the styles are not applied to the facebox window, and it looks ugly.

J2.5.7, VM2.0.12
Title: Re: "Ask a question" Facebox bug with SEF enabled
Post by: bytelord on October 20, 2012, 22:03:39 PM
Hello,

Bad installation i suppose there is also an issue with http://zebra/templates/system/css/template.css which belongs to your joomla template file.

Also examine with firebug for any js conflicts. Last please make a test without template overrides.

Regards
Title: Re: "Ask a question" Facebox bug with SEF enabled
Post by: simbus82 on September 27, 2013, 11:13:11 AM
This problem is in 2.0.22e too.

Must be resolved. Using template overrides is a GOOD and a MUST TO DO practice in Joomla.

If Facebox fail in this case, facebox is bugged! ... not the template.