Author Topic: After update I get "Model class virtuemartModelCategory not found in file"  (Read 6079 times)

Toksa

  • Beginner
  • *
  • Posts: 10
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

  • Beginner
  • *
  • Posts: 10
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
Code: [Select]
if(!class_exists('VmView'))require(JPATH_VM_SITE.DS.'helpers'.DS.'vmview.php');
add new line
Code: [Select]
if (!class_exists('virtuemartModelCategory')) require(JPATH_VM_ADMINISTRATOR . DS . 'models' . DS . 'category.php');

xavierito

  • Beginner
  • *
  • Posts: 1
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

  • Beginner
  • *
  • Posts: 1
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.