News:

Support the VirtueMart project and become a member

Main Menu

Upgrade from 1.1.9 to 2.0.22b results in HTTP 500 error

Started by Nemonic, August 28, 2013, 22:29:36 PM

Previous topic - Next topic

Nemonic

Before I start, I am a complete noob to Joomla/Virtuemart but have enough experience with PHP/MySQL to muddle my way though most tasks. I've moved the site to a test domain and updated virtuemart.cfg.php to reflect the different domain.

Current versions:
Joomla 1.5.26
Virtuemart 1.1.9

Following the steps from this tutorial, Virtuemart 2.0.22b installs without errors however the shop is not accessible after the install. All I get is a HTTP 500 error. Any ideas?

Here's the results from the install:

alterTable ADD jos_virtuemart_order_items.product_discountedPriceWithoutTax : ALTER TABLE `jos_virtuemart_order_items` ADD product_discountedPriceWithoutTax decimal(15,5) FIRST

alterTable CHANGE jos_virtuemart_waitingusers.notify_date : ALTER TABLE `jos_virtuemart_waitingusers` CHANGE COLUMN `notify_date` `notify_date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP


Table updated: Tablename jos_virtuemart_order_items dropped: 0 altered: 0 added: 1
Table updated: Tablename jos_virtuemart_waitingusers dropped: 0 altered: 1 added: 0

Install Component Success

Warning
COM_VIRTUEMART_WARN_NO_SAFE_PATH_SET
Warning, the Safe Path is empty, for safety reasons it is very important to create a folder in a path not accessible by an URL, create also a folder invoices in it to store your sensitive data secure. Our suggested path is for your system /home4/marishaw/public_html/vmfiles, use this link to the config


Here's the error I get when I click "go to shop" immediately after the install:

The website encountered an error while retrieving
http://www.marishawaii.com/mera/administrator/index.php?option=com_virtuemart&task=disableDangerousTools&token=992b9a76e12b7565c64bad65437e5d8d.
It may be down for maintenance or configured incorrectly.


And if I go to the store directly:

The website encountered an error while retrieving
http://marishawaii.com/mera/merastoredirect.html.
It may be down for maintenance or configured incorrectly.


Which to my eyes make sense because there is no merastoredirect.html, except there never was a merastoredirect.html and it worked before.  ::) I can only assume that's because it's a fly page and is generated by virtuemart but I have no idea where to even start to try to solve this. Any help offered will be greatly appreciated!


jenkinhill

Did you do the migration with some form of SEF enabled? Obviously the error is something related only to your site.

The preferred migration scheme is http://docs.virtuemart.net/tutorials/30-installation-migration-upgrade-vm-2/77-upgrading-vm1-to-vm2.html
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

Nemonic

Quote from: jenkinhill on August 28, 2013, 23:15:00 PM
Did you do the migration with some form of SEF enabled? Obviously the error is something related only to your site.

The preferred migration scheme is http://docs.virtuemart.net/tutorials/30-installation-migration-upgrade-vm-2/77-upgrading-vm1-to-vm2.html

Well... that was interesting. I disabled SEF urls, cleared my cache and verified that it worked before trying the upgrade again. This this time without renaming the com_virtuemart folder (that's the only real difference between your preferred method and the link I posted). I'm not getting an error anymore. I'm not getting anything else either, a complete blank page on both the shop and the back end.

Edit: I take that back, I am getting the HTTP 500 error for both the store and the back end. Had to clear my cache again before I saw it though.

Maxim Pishnyak

There is a sticked thread in this forum section. Non official manual for migration.
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

Nemonic

Quote from: Maxim Pishnyak on August 29, 2013, 10:29:34 AM
There is a sticked thread in this forum section. Non official manual for migration.

Thanks but I've been through the stickies and searched this forum extensively. None of the guides posted have mentioned this particular issue. I guess I should have mentioned this in the first post but I wouldn't be asking for help if I hadn't already scoured the interwebs. I'm still searching though and if I find a fix I'll be sure to post it here but any insights or suggestions you are always appreciated.

Some other fixes I've already tried:

http://emanipur.org/blog/item/3-500-internal-server-error-on-virtuemart-installation
http://forum.joomla.org/viewtopic.php?p=2188030 (all except editing ps_checkout.php as we don't have joomfish)

Maxim Pishnyak

You could pm me access and we will try to migrate successfully.
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

Nemonic

Quote from: Maxim Pishnyak on August 30, 2013, 07:13:29 AM
You could pm me access and we will try to migrate successfully.

Wow! That would be amazing. I've gone through and disabled/uninstalled most of the components, just in case any of them are the problem but still no luck. I'll restore the working 1.1.9 backup with all the components still enabled and setup a FTP/cPanel account for you, then PM you the details. Thanks so much!

Maxim Pishnyak

Quote from: Nemonic on August 28, 2013, 22:29:36 PM
Following the steps from this tutorial, Virtuemart 2.0.22b installs without errors however the shop is not accessible after the install. All I get is a HTTP 500 error. Any ideas?
Next time I'll check what error did you have. Probably you made installation/migration of VM2.0.22b onto Joomla1.5.




VM2.0.22b can't launch on Joomla1.5. That's why you have this error. You need to migrate then to Joomla2.5 and repeat migration process then.
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