Author Topic: [fixed]Category Issue: "Class: 'VitruemartController{Category}' not found  (Read 10666 times)

aaronf

  • Beginner
  • *
  • Posts: 20
Hello all.
I am loving VM2 thus far. A big thanks to the developers for all the hard work, it seems like a big improvement. Looking forward to the stable release! :D

My system:
J! 1.7 (recently updated from J! 1.5 using J!Upgrade)
VM2 1.9.8G (recently migrated from 1.1.9)

This is a new store and still in the process of getting off the ground for the first time. However, since migrating to VM2 (with few problems other than the loss of all manufacturers), all of the category links respond in this error:

Fatal error: Class 'VirtuemartController{Name of category}' not found in .../components/com_virtuemart/virtuemart.php on line 59

Some of the subcategory pages will actually come up, but when any subcategory is clicked, I get the error. If you want to see the error in action, I will leave my site public for a few hours. You can view it at Survival and Homestead Store: Berkey, Sunoven, Wondermill.

Thanks,
Aaron

P.S.: There is also the issue on my site that any page but the home page shows the error: "The choosen template couldnt found on the filesystem: jMint-TG". If I need to post a separate support post or post elsewhere, let me know. Otherwise, I would like suggestions on this issue as well.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #1 on: October 03, 2011, 20:07:35 pm »
have you created a joomla menu link to the virtuemart component?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #2 on: October 04, 2011, 02:33:25 am »
Banquet,
1.1.9 worked fine without it, is it now necessary in VM2?

I just tried making menu items for categories, no difference. Any other suggestions?

Aaron

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #3 on: October 04, 2011, 03:28:51 am »
Do the categories have names? How did u migrate?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #4 on: October 04, 2011, 03:47:06 am »
Yes, the categories have names. I.e.: Camping, Water Filters, etc.

I migrated using the built in Update/Migration tool in the VM2 control panel under tools.

Thanks,
Aaron

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #5 on: October 04, 2011, 15:52:48 pm »
are you using mysql   or mysqli  ?  in joomla admin config?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #6 on: October 04, 2011, 17:17:25 pm »
Very keen!

Somehow, when I last used Akeeba Kickstart or when I used JUpgrade to move to J! 1.7 it changed my settings from mySQLi to mySQL... Resetting it has fixed the problem. Thanks!

Any ideas on my "Template couldnt found" error?

Aaron

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #7 on: October 04, 2011, 17:24:59 pm »
the NEW joomla template has to be assigned to everything.

ALSO, OLD virtuemart category, and flypage templates cannot be used.

Its just a matter of a template not being assigned. I dont know where, but thats all it is
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #8 on: October 04, 2011, 17:47:07 pm »
Ahh! Thank you! In my Virtuemart settings, the store was set to use JMint-TG. I've updated the template since installation, so it must have been pointing to an old revision that I uninstalled. When I changed this setting to "Use Joomla Default," my errors disappeared! And the whole site shows in the proper template.

Unfortunately, I've just now noticed that, even though the category pages no longer give the fatal error, the product flypages still do. I can only hope it was an error in the migration tool caused by the false SQL settings. So, I'll try to reload the 1.5 site, migrate again, and see if that helps... Square one again.

Aaron

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10404
  • VirtueMart Version: 3+
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #9 on: October 04, 2011, 18:19:32 pm »
NO, look in a product page, and also category pages,  and see what the template settings are. U can update them with an sql statement
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #10 on: October 04, 2011, 19:01:49 pm »
Sorry, I am not having problems with the template settings anymore. I am no longer getting "Template couldn't found" messages. I am getting this one on product pages:

Fatal error: Class 'VirtuemartController{Name of category}' not found in .../components/com_virtuemart/virtuemart.php on line 59

Aaron

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #11 on: October 06, 2011, 02:11:15 am »
I suppose this thread might be moved to general support now, up to the mods.

Anyway, does anyone have any thoughts on why I might still be getting my fatal category errors when I go to the product pages on the frontend? It seems to be all of them. Changing the server setting back to mySQLi (since jUpgrade obviously sets it to mySQL default) eliminated the issue when selecting categories, but now the issue is the same on flypages.

Thanks,
Aaron

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #12 on: October 06, 2011, 02:58:24 am »
I just noticed that the afflicted flypages (there is a handfull that actually work) disappear when I log into the frontend. I don't know what that means...

Aaron

aaronf

  • Beginner
  • *
  • Posts: 20
Re: Category Issue: "Class: 'VitruemartController{Category}' not found
« Reply #13 on: October 07, 2011, 03:18:53 am »
Updating to revision H solved my fatal errors. Thanks devs!!!

Aaron