News:

Support the VirtueMart project and become a member

Main Menu

Administrator Bug After Upgrade

Started by jackied, August 29, 2012, 20:40:15 PM

Previous topic - Next topic

jackied

I can't access Virtuemart on the backend of Joomla after upgrading from VM1 to VM2. I haven't even gotten to the part of migrating my data, because when I click on Virtuemart on the backend, I get this error in Chrome: The website encountered an error while retrieving http://charlesproductsdev.com/administrator/index.php?option=com_virtuemart. It may be down for maintenance or configured incorrectly.

Front end seems fine. Here are the relevant error logs:

[Wed Aug 29 00:11:10 2012] [error] [client 66.249.72.148] PHP Notice:  Undefined index: view in /vservers/c70800-h223469/htdocs/components/com_virtuemart/router.php on line 1025
[Wed Aug 29 00:11:10 2012] [error] [client 66.249.72.148] PHP Notice:  Undefined index:  in /vservers/c70800-h223469/htdocs/components/com_virtuemart/router.php on line 1027
[Wed Aug 29 00:11:10 2012] [error] [client 66.249.72.148] PHP Notice:  Undefined index: view in /vservers/c70800-h223469/htdocs/components/com_virtuemart/router.php on line 1025
[Wed Aug 29 00:11:10 2012] [error] [client 66.249.72.148] PHP Notice:  Undefined index:  in /vservers/c70800-h223469/htdocs/components/com_virtuemart/router.php on line 1027
[Wed Aug 29 00:11:10 2012] [error] [client 66.249.72.148] PHP Warning:  Illegal offset type in isset or empty in /vservers/c70800-h223469/htdocs/libraries/joomla/application/menu.php on line 127


Can anyone please help? I've tried starting over twice, but I keep getting this problem.

jackied

I found my exact problem here: http://forum.virtuemart.net/index.php?topic=99970.0

Unfortunately, there is no solution there.

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

jackied

Hi jenkinhill,

Thanks for your reply. I deleted the classes folder within the admin directory, but that did not help. I am now getting these errors:

[Tue Sep 04 06:58:22 2012] [error] [client 66.249.72.49] PHP Warning:  Illegal offset type in isset or empty in /vservers/c70800-h223469/htdocs/libraries/joomla/application/menu.php on line 127

[Tue Sep 04 09:53:21 2012] [error] [client 66.101.199.50] PHP Warning:  require_once(/vservers/c70800-h223469/htdocs/administrator/components/com_virtuemart/classes/mainframe.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /vservers/c70800-h223469/htdocs/administrator/components/com_virtuemart/global.php on line 37, referer: http://charlesproductsdev.com/administrator/index.php

[Tue Sep 04 09:53:21 2012] [error] [client 66.101.199.50] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/vservers/c70800-h223469/htdocs/administrator/components/com_virtuemart/classes/mainframe.class.php' (include_path='.:/php/includes') in /vservers/c70800-h223469/htdocs/administrator/components/com_virtuemart/global.php on line 37, referer: http://charlesproductsdev.com/administrator/index.php

jackied

No ideas? The upgrade made Virtuemart unusable.

jenkinhill

The files giving the error are not part of VM2 - they are old VM1.1 files. Did you do this:  "rename your old com_virtuemart folders." - step 3 in the migration process, http://forum.virtuemart.net/index.php?topic=95236.0 ?
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

jackied

Thanks!! That's exactly what it was. I had been following a different set of directions that didn't include that step.