News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Migration error - Class 'JAccess' when administrator/index.php?option=com_virtue

Started by skrettis, August 22, 2013, 02:32:10 AM

Previous topic - Next topic

skrettis

When entring "admin - virtuemart" page: administrator/index.php?option=com_virtuemart

I get:
Fatal error: Class 'JAccess' not found in /home/bikedesign/public_html/administrator/components/com_virtuemart/helpers/vmview.php on line 84


1. How can I solve this? 
And what the heck is JAccess?  - some sort of API?
  - that are needed in a module/plugin that could be incompatible after migration from 1.1.9 to vm 2?
Ref: http://api.joomla.org/Joomla-Platform/Access/JAccess.html  that explain:  Class that handles all access authorisation routines.   

2. Had a look into vmview.php and there are some lines
   //Get the core actions
      $core_actions = JAccess::getActions('com_virtuemart','component');
      foreach ($core_actions as $action) {
         $result->set($action->name, $user->authorise($action->name, 'com_virtuemart'));
      }

seems like there are some error with DB/Table access cause file access of 'helpers/vmview.php' are 0644 like all the rest of the components...

Anyone?   ::)


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart


Maxim Pishnyak

Could you compare your steps with this guide?
Quote from: Maxim Pishnyak on June 27, 2013, 20:15:34 PM
http://web.archive.org/web/20120803095904/http://www.dashhelp.com/tutorials/joomla-tutorials/75-migrate-virtuemart-1-1-9-to-version-2-0-updates
I'm personally have good experience with dashelp guide.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

roberto250b

i have exactly the same problem here, same tutorial and the same error.

please help me to fix it.

Fatal error: Class 'JAccess' not found in /home/******/public_html/administrator/components/com_virtuemart/helpers/vmview.php on line 84

thank you already,

jenkinhill

Looks like you are using Joomla 1.5, which is no longer supported.  http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012
"We decided to declare now the end of life for VirtueMart 1.1, and that the version 2 of VirtueMart is not any longer maintaining joomla 1.5 compatibility." 4 October 2012

VM 2.0.22 has ACL (Access Control List) to control the access to the VirtueMart administration pages. This class is only available in Joomla 2.5
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

roberto250b

but i have to migrate the whole site to joomla 2.5 and vm to version 2

i thought i do vm first and then migrate it to the new joomla site

but then i have to update joomla first? vm 1 does not work in 2.5.

how do i get my vm files correct?

jenkinhill

The VM  files should be OK once you have migrated the Joomla version.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

da8iwr

What I did to solve this quickly (as im used to also updating in J1.5 first and didn't realise it had changed), was found an older version VM2.0.3, installed that and then once it was transferred and included in the J2.5 website updated it to the latest version.

Of course the correct way should be done above, but this is a work around.
Ian Wright
My Design agency
www.NewWorldDesigns.co.uk
Design - CMS - Ecommerce – SEO

Virtuemart to Froogle / Google Base XML Feed
www.joomlagooglebase.com