mantis pages downloaded as php files sometimes
Posted: 08 Mar 2010, 13:06
I use Mantis 1.2.0.
Sometimes when clicking on my_view_page.php or view_all_bug_page.php the whole page is downloaded as php file with html content.
Sample: my_view_page.php
My PHP Memory Limit is set to 128 MB.
How can i prevent this error?
Sometimes when clicking on my_view_page.php or view_all_bug_page.php the whole page is downloaded as php file with html content.
Sample: my_view_page.php
Code: Select all
<br />
<b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 524289 bytes) in <b>/var/www/mantis12/file_download.php</b> on line <b>209</b><br />
HTTP/1.1 200 OK
Date: Mon, 08 Mar 2010 12:53:03 GMT
Server: Apache
X-Powered-By: PHP/5.2.4-2ubuntu5.10
Cache-Control: no-store, no-cache, must-revalidate
Last-Modified: Mon, 08 Mar 2010 12:53:03 GMT
Expires: Mon, 08 Mar 2010 12:53:03 GMT
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html;charset=utf-8
b179
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/mantis12/css/default.css" />
.....
How can i prevent this error?