Hi there!
When I copy images using "ftp takeover" into my filestorage everything works fine, even with more than 100 files per action.
But when I try to open the file browser afterwards to view the thumbs of my recently uploaded images it takes a long time (about 30 - 50 sec) to process the script and then I get an error-page (Error 500: internal server error). After trying to open the file browser about 3 or 4 times everthing works and all the thumbnails have been generated.
I've tried to change some PHP-INI-Settings like max_execution_time, but nothing seems to work.
I'm working with phpwcms v1.2.5-dev
Does anyone has a solution for this problem?
Thanks and greets,
Sven
Error 500 while generating thumbnails
Hi Sven,
the processes GD or ImageMagic using a lot of RAM. They are very hungry.
Please make a switch at your php.ini "memory_limit=16M" or better "memory_limit=32M".
Standard is using 8M.
Second: "max_execution_time >= 30"
Knut
the processes GD or ImageMagic using a lot of RAM. They are very hungry.
Please make a switch at your php.ini "memory_limit=16M" or better "memory_limit=32M".
Standard is using 8M.
Second: "max_execution_time >= 30"
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: Error 500 while generating thumbnails
had that problem several times, as I use a shared host for my sites, but as u say: when giving the server the time to execute all (by refreshing every once in a while -15 secs) the process works. A bit annoying but not phpwcms fault... though the message should be more user friendly then a php error warningsven_hom wrote:Hi there!
When I copy images using "ftp takeover" into my filestorage everything works fine, even with more than 100 files per action.
But when I try to open the file browser afterwards to view the thumbs of my recently uploaded images it takes a long time (about 30 - 50 sec) to process the script and then I get an error-page (Error 500: internal server error). After trying to open the file browser about 3 or 4 times everthing works and all the thumbnails have been generated.
I've tried to change some PHP-INI-Settings like max_execution_time, but nothing seems to work.
I'm working with phpwcms v1.2.5-dev
Does anyone has a solution for this problem?
Thanks and greets,
Sven
Cheers
1.3 out, testing, testing...
Sponsoring 4 phpwcms Blog and Usermanagement
Sponsoring 4 phpwcms Blog and Usermanagement
Thanks for the replies!
I try to get more information about that...
Memory-Limit is 40M (by default).Please make a switch at your php.ini "memory_limit=16M" or better "memory_limit=32M"
Yes, it's a 1und1-Hosting. So I think that's the problem.had that problem several times, as I use a shared host for my sites...
I try to get more information about that...