Elxis CMS Forum
Extensions => Components => Topic started by: bene on October 21, 2008, 20:43:55
-
Hi everybody. I installed virtuemart and i recieve this error when i try to acces it from Components ( administrator area) .
Fatal error: Cannot make static method mosMenuBar::custom() non static in class vmMenuBar in /home/trotinet/public_html/test/administrator/components/com_virtuemart/classes/menuBar.class.php on line 278
-
Welcome Bene to our community,
As i know virtuemart is not supported from the 2008.0 version and up. Probably there was a compatibility with the 2006 version but the core of Elxis is changed enough since then.
Try to use only components approved for Elxis 2008.1 provided free here http://www.elxis-downloads.com/ (http://www.elxis-downloads.com/)
-
VirtueMart is not supported by Elxis 2008.x.
Component eShop (shopping cart solution for Elxis CMS) will be available in about 1,5 months.
The reason of this specific error is because virtue mart calls dynamically a static method:
uses $object->custom(); instead of mosMenuBar::custom(); and that causes a fatal error under PHP5.
You can fix this error by modifying line 278 on VirtueMart's menuBar.class.php file.