VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: steinarasb on November 10, 2011, 11:19:33 AM

Title: Clicking on a category displays nothing
Post by: steinarasb on November 10, 2011, 11:19:33 AM
I'm on VM 1.9.8.RC2M and J! 1.7.2.
All my categories except one displays the proper products.
When I click the non-working category the proper URL-is showing in the address-line, but the view is the same as for the shop fronpage (Virtuemart Default Layout).
Cannot see any errors in the apache log...

Ideas?

Thanks

Title: Re: Clicking on a category displays nothing
Post by: PRO on November 10, 2011, 21:31:25 PM
is this is joomla menu link
Title: Re: Clicking on a category displays nothing
Post by: steinarasb on November 10, 2011, 21:45:04 PM
The non-working link is generated from VM.
I've set the fronpage to "VirtueMart ยป VirtueMart Default Layout" and thats where I try to access the category from.
All other categories displays as expected.
I've also set up a menu (in a module), VirtueMart Category, which acts the same way...
Title: Re: Clicking on a category displays nothing
Post by: PRO on November 10, 2011, 22:17:06 PM
is sef enabled?

sounds like it could also be the layout page being wrong in the category
Title: Re: Clicking on a category displays nothing
Post by: PRO on November 10, 2011, 22:18:01 PM
WHAT happens when you create a joomla menu link to the category? THAT will tell you a lot
Title: Re: Clicking on a category displays nothing
Post by: steinarasb on November 10, 2011, 22:37:53 PM
Hi.
Creating a Joomla menu link to the category gives the same behaviour (I had to give the link a different alias ofc).
I've double cheched the layout for the category-settings and they are the same as for other categories that work.

But disabling SEF made it work!
Obvously I want SEF enabled, but its nice to see something happen! :)
Anything in particular that made you suspect the SEF-functionality?
Title: Re: Clicking on a category displays nothing
Post by: PRO on November 10, 2011, 22:40:48 PM
so the problem is in the alias

Title: Re: Clicking on a category displays nothing
Post by: steinarasb on November 10, 2011, 22:55:07 PM
Thanks!
Changing a letter in the alias of the non-working category indeed makes it work.
Idealy I'd like to keep the original alias, but I can live with this workaround.
I have NO idea why this is makes it work tho...
Title: Re: Clicking on a category displays nothing
Post by: PRO on November 11, 2011, 12:51:41 PM
is the alias the same as another one?
Title: Re: Clicking on a category displays nothing
Post by: steinarasb on November 11, 2011, 12:57:26 PM
Oh my!
Turns out there where a menu point with the same alias in another menu...

Thanks, the wend is saved! :)