VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: capricornio on November 27, 2012, 23:39:09 PM

Title: [ SOLVED ] Link to manufacturer requires customer to login first
Post by: capricornio on November 27, 2012, 23:39:09 PM
When a customer is on the productdetails page and clicks the link to the manufacturer, the Ajax modal popup shows empty and close almost immediately. Open link in new tab showed me that message that the customer needs to login first.
Is this a problem with the router ? Or is it not working with SEF ?

Add to cart modal box works fine.
Title: Re: Link to manufacturer requires customer to login first
Post by: bytelord on November 28, 2012, 00:04:49 AM
Hello,

Joomla, VM2 and PHP versions?

Any live url?

Regards
Title: Re: Link to manufacturer requires customer to login first
Post by: capricornio on November 28, 2012, 01:29:11 AM
Quote from: bytelord on November 28, 2012, 00:04:49 AM
Hello,

Joomla, VM2 and PHP versions?

Any live url?

Regards

Joomla 2.5.8 / VM 2.0.12f
www.mylittleloft.nl
Title: Re: Link to manufacturer requires customer to login first
Post by: bytelord on November 28, 2012, 04:39:32 AM
Hello,

This i think caused by your joomla template, have some broken files when loading the modal pages ... maybe is related to SEF, please try with SEF disabled (under joomla configuration). It places double // to the css path

"NetworkError: 404 Not Found - http://www.mylittleloft.nl/templates//css/j17.css"
"NetworkError: 404 Not Found - http://www.mylittleloft.nl/templates//css/reset.css
Title: Re: Link to manufacturer requires customer to login first
Post by: capricornio on November 28, 2012, 23:02:54 PM
Hi bytelord,

Thnx for checking. The css not loading is on purpose because of testing some other things.
Tested with SEF disabled and now it works fine, only disabled SEF is not an option for my customer.
This looks like a router bug to me ?

I have the same when using the VM AllInOne Manufacturer module. All manufacturer links require me to login first with SEF enabled ...

Am I the only one experiencing this problem ? I guess every live VM site wants to have SEF enabled....
Title: Re: Link to manufacturer requires customer to login first
Post by: bytelord on November 28, 2012, 23:07:29 PM
Hello,

Not a router bug, check your .htacaccess configuration joomla configuration file for $livesite
The files that is missing is not vm files, is your joomla template files...

Regards
Title: Re: Link to manufacturer requires customer to login first
Post by: capricornio on November 28, 2012, 23:39:55 PM
Quote from: bytelord on November 28, 2012, 23:07:29 PM
Hello,

Not a router bug, check your .htacaccess configuration joomla configuration file for $livesite
The files that is missing is not vm files, is your joomla template files...

Regards

The missing css files are not the source of the problem. I can easily fix that, but VM keeps having troubles with SEF on manufacturer links.

Looking at the URL it says http://www.mylittleloft.nl/component/virtuemart/manufacturers/no-slippy-hair-clippy.html?tmpl=component&Itemid=269
Looks like this is not a correct SEF URL, since there's still component/virtuemart mentioned.

Did another test: Turn on Joomla SEF and disabled VM SEO. Manufacturer links are working, but now I have a problem with pagination on the browser pages
Title: Re: Link to manufacturer requires customer to login first
Post by: bytelord on November 29, 2012, 02:52:03 AM
Hello,

Check your .htacess file, also try your site without template overrides.

Regards
Title: Re: Link to manufacturer requires customer to login first
Post by: capricornio on November 29, 2012, 17:20:36 PM
Hi Bytelord,

Just found out it had to do with a missing menu item for VM Manufacturer Default Layout

Thnx for your help