Hi
I have a big Problem. I can`t delete pictures and somtimes when i upload a pic i don`t work but in de gallery there is the titel of the pic but i cant delete it. Can someone help me. This Problem is since Gallery 2 RC 1.
Thank you.
----
Gallery URL (optional):
Gallery version: Gallery 2 RC 2
Webserver (with version): Apache
Datatabase (with version): MySQL Newest
PHP version (eg 4.2.1): Newest
phpinfo URL (optional):
Graphics Toolkit(s): Imagemagik
Operating system: Linux
Web browser/version: Firefox 1.6
G1 version (for migration bugs):
Posts: 16504
I'm betting this is a memory limit issue. Please post a phpinfo.php url, here is information on how to create a file and where to put it, http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
Posts: 3
Why should it be a memory Problem. There is no error which sais not enouth memory. But luck at de php info. http://www.jibberstyle.com/phpinfo.php
Gallery-Version = 2.0-rc-2 Kern 0.9.36
PHP-Version = 4.4.0 apache
Webserver = Apache
Datenbank = mysql 4.1.13a-log
Werkzeuge = ArchiveUpload, Exif, Thumbnail, ImageMagick, Gd
Betriebssystem = Linux milestone.prohost.de 2.4.28 #2 SMP Wed Jan 26 12:52:19 CST 2005 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Posts: 32509
deactivate the gd and exif module, and maybe give it 24mb memory limit. does it work then?
Posts: 3
I deactivated gd and exif. Now it works very fine. Is the memory limit for restrictions of the filesize for uploading files?
Thank you for your help. You did a great job valiant.
Posts: 32509
thanks
basically, when uploading large files, there are multiple limits involved. first the limit of the webserver (apache), then the upload limits of php (see faq) and finally the php memory limit. g2 has to generate thumbnails for your photos, and when you choose to create them with GD, it will do everything in PHP. thus the larger the picture, the more memory GD needs. i don't know the exact formula though.
if you use imagemagick or netpbm, it uses non-PHP memory to generate the images. so independent of image size, the php memory limit can be the same when using imagemagick or netpbm.
i'd recommend using imagemagick or netpbm over GD anyway.
the exif thing is a different issue. the exif module has a few bugs for certain photos that are not 100% intact and it can go havok and tries to use as much memory as it gets until it hits the php memory limit.
we'll try to fix that after g 2.0... but the issue with GD and the memory limit won't go away.