Gallery version: 1.5.8
Apache version: 2.2.9
PHP version: 5.2.6
Operating system: FreeBSD 6.3
I upgraded to Gallery 1.5.8 and was able to upgrade some, but not all, of my albums. Anything under about 100 photos can be upgraded just fine, but any albums larger than that give me an Internal Server Error. On the same server, I have another Gallery 1.5.8 running and had no problems upgrading... but maybe those albums were smaller.
I tried increasing PHP's post_max_size variable but it had no effect. What's causing the error and how can I fix it? I didn't see anything in the FAQ or anything I could find easily on these forums. By the way, it was great to see an update to Gallery 1.x after so long!
kelly
Posts: 6812
Hello,
i guess its a memory limit issue.
To which value is it set?
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 27
memory_limit was set to 128M, so I increased it to 256M but was getting the same error. I also increase post_max_size to 16M again, but no luck. But then I turned off ModSecurity and it's working now... thanks for the suggestion and sorry, it appears it was my ModSecurity configuration causing the issue [sigh].
kelly
Posts: 6812
Thanks for the clarification.
If you give some more details about the system i could make a FAQ entry.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 27
It appears ModSecurity 2 (an Apache module) sets PHP's memory limit to 524288 bytes, regardless of what's set in php.ini... not knowing that, someone could spend a long time adjusting php.ini with no effect. It may be possible to change ModSecurity's settings for this but for now it's just easier to disable ModSecurity altogether.