Hi,
this is the error: http://mantisadressen.ma.funpic.de/
This is a PHP Info of the Server: http://mantisadressen.ma.funpic.de/phpinfo.php
What do I do to get it to work?
Fatal Error with freshly uploaded MantisBT 1.2.2
Moderators: Developer, Contributor
Re: Fatal Error with freshly uploaded MantisBT 1.2.2
A quick and dirty solution might be as follows
Change line 615 of core/html_api.php from
to
and line 100 of core/php_api.php from
to
Change line 615 of core/html_api.php from
Code: Select all
echo sprintf( lang_get( 'memory_usage_in_kb' ), number_format( memory_get_peak_usage() / 1024 ) ), '<br />';
Code: Select all
echo sprintf( lang_get( 'memory_usage_in_kb' ), number_format( memory_get_usage() / 1024 ) ), '<br />';
Code: Select all
function memory_get_peak_usage() {
Code: Select all
function wtf_does_funpic_memory_get_peak_usage() {
Re: Fatal Error with freshly uploaded MantisBT 1.2.2
Thanks. I see that the peak function is prepared for further versions, but it would not have been necessary yet.
Your fix fixed it. Thanks!
Your fix fixed it. Thanks!