This topic is locked

PFV VIEW size limit problem

8/1/2014 11:12:57 AM
PHPRunner General questions
O
omaromar author

Hi,
I run PHPRunner 6.0, Build 10638.

Site is runing in godaddy's host
I had the size limit problem that when clicking on the pdf view link, i got the error saying

"Fatal error: Allowed memory size of 554264 bytes exhausted (tried to allocate 35 bytes)..."
I found the solution in this thread http://www.asprunner.com/forums/topic/9025-pdf-view-error/ where Alexey suggest:



Hi,this means that PDF creation process needs more system memory.Try to increase "memory_limit" PHP configuration value in php.ini file or in the generated pages.Add this line to the beginning of generated include\dbcommon.php file:Insert it just after the <?php line.


It works for me, but i have to edit the file everytime i make any new upload.
Is there any way to keep it done permanently ?
Thanks

Sergey Kornilov admin 8/5/2014

Make this change right in php.ini file. Find memory_limit variable there, change its value and restart the web server. This should help.