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? ::)
What migration guide do you use?
Used: http://www.ostraining.com/blog/joomla/virtuemart-11-to-version-2/
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.
The "official" docs: http://docs.virtuemart.net/tutorials/30-installation-migration-upgrade-vm-2/77-upgrading-vm1-to-vm2.html
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,
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
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?
The VM files should be OK once you have migrated the Joomla version.
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.