This topic is locked

Fatal Error with pdf view

5/3/2010 11:44:53 AM
PHPRunner General questions
H
horsey_kim author

Using PHPrunner 5.2 build 4174 - I am trying to use the pdf view. So when you go to print the records and select the link PDF VIEW - I get this error message:
"Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1600 bytes) in /home/cowg13/public_html/inventory/plugins/html2ps/utils_graphic.php on line 42"
I installed the pdf plugin from the help screens to my phprunner5.2 plugin directory like said. I pulled up line 42 of the file where it is saying it got the error and it reads:
return imagecreatefromjpeg($filename);
It is in this section of the code
case 2: // JPG

$type = 'image/jpeg';

return imagecreatefromjpeg($filename);
Any ideas on how to fix this?
Help please

Sergey Kornilov admin 5/3/2010

Kim,
PHP memory limit needs to be increased in php.ini in order to fix this.

More info: http://ask.webcheatsheet.com/questions/7/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted