Donate Share

Anima Gallery

Tracker: Bugs

5 Filesize - ID: 1631867
Last Update: Settings changed ( nekoendy )

I get error msg when filesize exceeds about 1mb.


trulsh ( trulsh ) - 2007-01-09 23:30

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 9 )




Date: 2007-01-14 23:58
Sender: nekoendyProject AdminAccepting Donations


Well, what can i say, guess we already tried everything, iam really out of
possible solutions for it.
The only thing left is direct debugging under the system where error
occours, if you want i can try to debug it if you can set me an ftp account
to the gallery root.


Date: 2007-01-14 19:33
Sender: trulsh


I checked the info file, and I actually got 20M.


Date: 2007-01-14 17:38
Sender: nekoendyProject AdminAccepting Donations


Try to use this file "info.php" to check the memory available for php
executions.
GD library thumbnail creation is limited by php's memory so if the limit
is set to "1M" GD cant handle images bigger than 1MB.
If info.php gives you 1M as result you can try to add the following line
to simphp .htaccess file:

php_value memory_limit "8M"
File Added: info.php


Date: 2007-01-14 16:28
Sender: trulsh


Tried the test, works on all images below 1mb, get Internal Server Error
on filsizes above 1mb.


Date: 2007-01-13 01:28
Sender: nekoendyProject AdminAccepting Donations


I suggest that you make a simple test:
Edit settings.inc.php and set $img_per_page (version 2.328) to 1, then
browse the album pages to see if it works.


Date: 2007-01-13 00:02
Sender: trulsh


No, I still have the same problem, but I´ll talk to my server provider to
see if they are causing my problems. I´ll let you know as soon as I know
anything!


Date: 2007-01-10 16:40
Sender: nekoendyProject AdminAccepting Donations


index.php:

Replace this:
$sfv_checksum = strtoupper(dechex(crc32(file_get_contents($filename))));

with this:
$sfv_checksum = strtoupper(dechex(crc32($filename)));

If this doesnt work it might be server's memory not enough to handle big
images.


Date: 2007-01-10 00:23
Sender: trulsh


I still get error msg, I get Internal Server Error (haven't access to
server error log), and I only get the error in folders with files bigger
than 1mb, rest works fine.



Date: 2007-01-10 00:11
Sender: nekoendyProject AdminAccepting Donations


index.php: Replace "set_time_limit(15);" with "set_time_limit(30);"
If this doesnt solve problem report the complete error message.


Log in to comment.




Attached File ( 1 )

Filename Description Download
info.php File to test php memory limit Download

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-01-17 01:52 nekoendy
close_date - 2007-01-17 01:52 nekoendy
File Added 211257: info.php 2007-01-14 17:38 nekoendy