VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: jackied on August 29, 2012, 20:40:15 PM

Title: Administrator Bug After Upgrade
Post by: jackied on August 29, 2012, 20:40:15 PM
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.
Title: Re: Administrator Bug After Upgrade
Post by: jackied on August 30, 2012, 16:12:21 PM
I found my exact problem here: http://forum.virtuemart.net/index.php?topic=99970.0

Unfortunately, there is no solution there.
Title: Re: Administrator Bug After Upgrade
Post by: jenkinhill on August 30, 2012, 18:23:29 PM
? https://forum.virtuemart.net/index.php?topic=95232.0
Title: Re: Administrator Bug After Upgrade
Post by: jackied on September 04, 2012, 15:59:15 PM
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
Title: Re: Administrator Bug After Upgrade
Post by: jackied on September 11, 2012, 17:03:16 PM
No ideas? The upgrade made Virtuemart unusable.
Title: Re: Administrator Bug After Upgrade
Post by: jenkinhill on September 11, 2012, 17:40:14 PM
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 ?
Title: Re: Administrator Bug After Upgrade
Post by: jackied on September 12, 2012, 18:17:06 PM
Thanks!! That's exactly what it was. I had been following a different set of directions that didn't include that step.