|
php memory link 1 Year, 6 Months ago
|
Karma: 0
|
|
files upload OK for a while but eventually a file upload fails with the following error message in the apache error log:
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20599769 bytes) in /components/com_matamko/Zip.php on line 88
I keep upping the php memory limits but all that happens is that I can upload more files before one eventually fails to upload
|
|
|
|
Last Edit: 2009/03/11 22:43 By philosrocks.Reason: removal of my url
|
The administrator has disabled public write access.
|
|
|
|
Re:php memory link update 1 Year, 6 Months ago
|
Karma: 0
|
|
increased php memory to 128M within Zip.php. Original error now seemingly gone although early days, but new error:
PHP Notice: Trying to get property of non-object in /components/com_matamko/controllers/matamko.php on line 267
|
|
|
|
Last Edit: 2009/03/11 22:44 By philosrocks.Reason: removal of my url
|
The administrator has disabled public write access.
|
|
|
|
Re:php memory link update 1 Year, 6 Months ago
|
Karma: 1
|
|
Hi,
We are looking into this, in the meantime, can you copy and paste what you see under Matamko/About for your server?
For e.g.:
About Matamko
Version : 1.01
Server information:
The maximum upload size is limited by settings in the php.ini. Below is the current limit of server you can upload.
PHP post limit (in KB): 8M
PHP upload limit (in KB): 100M
PHP memory limit (in KB): 48M
PHP max input time: 60 s
PHP max execution time: 60 s
Default socket timeout: 60 s
Thanks!
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:php memory link 1 Year, 6 Months ago
|
Karma: 0
|
|
Seems to be a big improvement by adding the following line to zip.php:
ini_set('memory_limit','128M');
As for the php.ini info, please see following:
About Matamko
Version : 1.01
Server information:
The maximum upload size is limited by settings in the php.ini. Below is the current limit of server you can upload.
PHP post limit (in KB): 75M
PHP upload limit (in KB): 75M
PHP memory limit (in KB): 64M
PHP max input time: 60 s
PHP max execution time: 30 s
Default socket timeout: 60
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:php memory link 1 Year, 6 Months ago
|
Karma: 0
|
|
Tested very heavily today with large files and all OK except failure of 64Mb file with following message:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 42270812 bytes) in /components/com_matamko/Zip.php on line 69
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:php memory link 1 Year, 6 Months ago
|
Karma: 1
|
|
Hi,
Can you try changing the below:
PHP max input time: 60 s
PHP max execution time: 30 s
to higher limits?
Warning:
This function has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini.
Reference: google "set_time_limit" in php.net
Do let us know if you still face problems.
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|