VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: one-vibe on December 03, 2013, 14:54:23 PM

Title: COM_VIRTUEMART_CAT_NOT_FOUND
Post by: one-vibe on December 03, 2013, 14:54:23 PM
Hi There

Following an upgrade to 2.024c I now get a COM_VIRTUEMART_CAT_NOT_FOUND error whenever I put something in the cart, I'm a bit of newbie so totally out my depth
here

Has anyone else experienced this or has this error PLEASE HELP!!

Currently running

Joomla 2.5.16
PHP 5.3.27
Virtuemart 2.0.24c


Title: Re: COM_VIRTUEMART_CAT_NOT_FOUND
Post by: GJC Web Design on December 03, 2013, 22:36:13 PM
Hmm - comes from file components\com_virtuemart\views\category\view.html.php  line 148
when the $category->slug is not set... and these conditions are met..

cat slug is the "bit" for the SEF urls e.g. $category->slug => handtools

if ((!empty($categoryId) and $categoryId!==-1 ) and (empty($category->slug) or !$category->published)) {

if(empty($category->slug)){
vmInfo(JText::_('COM_VIRTUEMART_CAT_NOT_FOUND'));
}


so have you unpublished categories for that product or something similar?
Title: Re: COM_VIRTUEMART_CAT_NOT_FOUND
Post by: one-vibe on December 04, 2013, 01:19:34 AM
No all catagories appear published ???
Title: Re: COM_VIRTUEMART_CAT_NOT_FOUND
Post by: GJC Web Design on December 04, 2013, 09:53:29 AM
Then I don't know - that is where the error comes from so you have to do some troubleshooting...