Hi, I have done a clean install, as shown in Tutorial (http://docs.virtuemart.net/tutorials/30-installation-migration-upgrade-vm-2/80-installation-of-virtuemart-2.html (http://docs.virtuemart.net/tutorials/30-installation-migration-upgrade-vm-2/80-installation-of-virtuemart-2.html)).
I have PHP Version 5.3.3-7 + squeeze15 and Joomla! 2.5.11 and still aparese me this error message, Warning: memory_get_peak_usage() has been disabled for security reasons in /server/www/server/html/web101/administrator/components/com_virtuemart/helpers/config.php on line 279
Locate the config.php file and line 279 is the following code:
-------------------------------------------------- -------------------------------------
function vmRam($notice,$value=NULL){
vmdebug($notice.' used Ram '.round(memory_get_usage(TRUE)/(1024*1024),2).'M ',$value);
}
function vmRamPeak($notice,$value=NULL){
vmdebug($notice.' memory peak '.round(memory_get_peak_usage(TRUE)/(1024*1024),2).'M ',$value);
}
-------------------------------------------------- -------------------------------------
Change the values (TRUE) to (FALSE) and the error continues to appear.
disable the vmdebug? that should be all
Hello Milbo,
Thank you very much for the help but in my:
Configuration / Shop / Advanced Settings / Enable debugging messages
This "No debug"
And yet I still get the message on every page where I have VirtueMart content.
Warning: memory_get_peak_usage() has been disabled for security reasons in /server/www/server/html/web101/administrator/components/com_virtuemart/helpers/config.php on line 279