Page MenuHomePhabricator

Upload Images bigger then 1,6 MB getting an Error 500
Closed, InvalidPublic

Description

Author: stsservice

Description:
Sorry for my bad Englsih but its a long Time ago that i speak that Lang.

So i repeat my Problem, an what im doing

-Upload a Picture with 1,85 MB
-Than i get the info that the File ist to big an i could say ok or not ok.
-I said ok
than i get Fatal error: Allowed memory size of 31457280 bytes exhausted (tried
to allocate 10880 bytes) in /var/www/html/includes/Image.php on line 1266
and i could not show me the picture i must clear the path under FTP and then ich
could clear it in DB.

I hope you understund what i mean

German:

Also ganz schnell und einfach erklärt beim Bilderupload gibt es ein Problem und
zwar wenn ich Bild hochlade das größer ist als 1,6 MB bekomme ich die oben
angegebene Fehlermeldung. In der PHP.ini sind aber Files bis 5 BM als ok
gekennzeichnet.
Löschen lässt sich das Bild leider auch nicht, nur wenn man manuell per FTP das
Bild löscht.

Gruß


Version: 1.8.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz7716

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:28 PM
bzimport set Reference to bz7716.
bzimport added a subscriber: Unknown Object (MLST).

You'll have to configure your system (web server and PHP) with appropriate limits for
posts.

stsservice wrote:

Limits for Posts ab 5MB

robchur wrote:

Check also the values for max_upload_size and post sizes in PHP.ini, and increase the PHP memory_limit if necessary.