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 :/
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
v5.1.6
thanks.
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
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.
You are welcome. Please try it and post back your results.
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?
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