VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Toksa on March 08, 2012, 01:14:23 AM

Title: After update I get "Model class virtuemartModelCategory not found in file"
Post by: Toksa on March 08, 2012, 01:14:23 AM
So, ater update from 2.0.0 to 2.0.2 on joomla 1.7,  I get "Model class virtuemartModelCategory not found in file" only on category page. Can someone give me advice? Thanks in advance.
Title: Re: After update I get "Model class virtuemartModelCategory not found in file"
Post by: Toksa on March 08, 2012, 15:53:12 PM
Maybe someone gets the same error, so here's the way i made this error gone.

Open file
components/com_virtuemart/views/category/view.html.php

just bellow this line
if(!class_exists('VmView'))require(JPATH_VM_SITE.DS.'helpers'.DS.'vmview.php');

add new line
if (!class_exists('virtuemartModelCategory')) require(JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'category.php');
Title: Re: After update I get "Model class virtuemartModelCategory not found in file"
Post by: xavierito on May 25, 2012, 12:25:15 PM
area product category the following message:

"VirtuemartModelCategory class model is not in the file"

I put the line of code you indicate, but I still see

Can you help?
Title: Re: After update I get "Model class virtuemartModelCategory not found in file"
Post by: Helloweenie on May 02, 2013, 18:11:43 PM
I had the same error message listed above, could remove the error message from regular pages of virtue mart, but it still appears on main index page where the categories are listed

http://site.gammaray.org/index.php/webshop    (you need to be logged in to see it)

Has anyone in between find a solution on that?

I am running Joomla 2.5.11 and latest VM version.

Harald.