After update I get "Model class virtuemartModelCategory not found in file"

Started by Toksa, March 08, 2012, 01:14:23 AM

Previous topic - Next topic

Toksa

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.

Toksa

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');

xavierito

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?

Helloweenie

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.