PoodLL Assignment, troubles with Snapshots

Re: PoodLL Assignment, troubles with Snapshots

by Damien Roux -
Number of replies: 0

Well, let's start with the good news. Problem solved !
 
You were right, the problem was due to the maximum file size limitation.
 
My mistake was to check the Apache logs (/var/log/apache2/) instead of the global logs (/var/log) where the suhosin logs are actually stored on our server!
 
The file size was one of the first things I thought would be responsible for this problem. So I used the lowest resolution allowed on my gs4 thinking it would solve any possible file size problem. I did not anticipate that this lowest resolution would still be too large...

The chaotic behavior was due to the variation of the size of the pictures which were sometimes larger than the suhosin max_value_lenght.
 
I added the following values in /etc/php5/conf.d/suhosin.ini :
suhosin.memory_limit = 128
suhosin.post.max_value_length = 10000000
suhosin.request.max_value_length = 10000000
 
Is there a way to detect warnings of suhosin and to prevent the "File saved successfully" message when files are too large ?
 
Thank you very much for your help Justin smile
 
Best regards,
Damien