News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

PHP 5.1.6 and memory_get_peak_usage()

Started by Stephen Roberts, December 05, 2011, 19:50:03 PM

Previous topic - Next topic

Stephen Roberts

If you're trying to be PHP 5.1.6 compatible, memory_get_peak_usage() throws an error:

Fatal error: Call to undefined function memory_get_peak_usage() in /var/www/html/imd-test/administrator/components/com_virtuemart/helpers/config.php on line 161

It's only used for debugging so I've commented it out. Is this worth "fixing"?
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com


Stephen Roberts

Thanks...should have searched more first.  :-[
Sell downloadable (virtual) products in VirtueMart 2 and deliver downloads via local server, Amazon S3, and more! http://www.digitollsoftware.com