News:

Looking for documentation? Take a look on our wiki

Main Menu

error trying to migrate to vm2

Started by Fresher, October 20, 2012, 21:17:18 PM

Previous topic - Next topic

Fresher

Hi. Im was using joomla 1.5 and vm1. now i wanna update vm1 to vm2. i did everything as it is in this tutorial http://forum.virtuemart.net/index.php?topic=95236.0 , but trying to do a migration i get this error:

Fatal error: Call to undefined function memory_get_peak_usage() in /var/www/clients/client1/web1/web/administrator/components/com_virtuemart/helpers/config.php on line 278

please help :/

bytelord

Hello,

Should upgrade your PHP version, which one you have now? I suggest 5.3.x

Take a look here also: http://forum.virtuemart.net/index.php?topic=94067

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Fresher

#2
v5.1.6

thanks.

bytelord

ok then,

Try first with a local installation using xampp (version 1.7.8 for example that haves php 5.3.8, not 1.8.x).
If is working then is a PHP issue. If your provider have too old PHP version and does not upgrade it, then sorry, just change provider, PHP 5.1.x is old imho.

Don't forget that also joomla 2.5.x will have issues with PHP 5.1.x

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Fresher

Quote from: bytelord on October 20, 2012, 22:43:38 PM
ok then,

Try first with a local installation using xampp (version 1.7.8 for example that haves php 5.3.8, not 1.8.x).
If is working then is a PHP issue. If your provider have too old PHP version and does not upgrade it, then sorry, just change provider, PHP 5.1.x is old imho.

Don't forget that also joomla 2.5.x will have issues with PHP 5.1.x

Regards

thank you bytelord.

bytelord

You are welcome. Please try it and post back your results.
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Fresher

ok..i did as it was written here http://forum.virtuemart.net/index.php?topic=94067.msg309104#msg309104

now i have another error

QuoteFatal error: Call to undefined function json_encode() in /var/www/clients/client1/web1/web/administrator/components/com_virtuemart/helpers/vmtable.php on line 399

any ideas? or just try to change the php version and everything will be easier?

bytelord

Hello,

Yes because that function is not supported also for PHP 5.1.x ... VM is been updated all the time so that fix was for a very early beta version, now new commands have took place that is not supported.
Please upgrade your PHP to 5.3.x

Use xampp as i suggested.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!