Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 12-21-2004, 03:23 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Fatal error when generating thumbs

Okay, so I just got into this photoblog thing, and decided to go all out and add like 117 photos all at once. I used the Copy Folder addon thing and that was succesful, but it doesn't generate thumbnails for the images. So, with instruction, I went to the options page and tried to Re-Generate Thumbs but after thirty seconds, it gives me this message

Fatal error: Maximum execution time of 30 seconds exceeded in /home/consciou/public_html/tommyblue/theotherside/admin/index.php on line 1164

I would assume generating thumbs for over 100 images would take over 30 seconds, but it gives me an error message each time and only about 50 of them actually got thumbnails. I'm on a reasonably fast connection, and don't have access to anything faster, so what can I do? I don't see any way of just generating for sections of images, and I'm dreading manually importing the remaining 67 images. Is there any hope for me? Shouldn't pixelpost support blogs with over 50 images in them? Is regenerating impossible once you go past that point? Thanks for any help you can give... :wink:
-Tommy
Reply With Quote
  #2  
Old 12-21-2004, 04:04 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
I can regenerate 107 thumbs on my own blog. It's a matter of server speed, so if you're on a slow server the maximum execution time will be reached and the script exits with a fatal error.

You can set a max execution time for the script that differs from the default value in php.ini, and be generous in that value, I can check out the exact line of code you need to enter later (tonight or tomorrow) if you don't do it yourself.

All in all you brought up a good point and I will adress the issue.

// punk
__________________
icq: 66760929
Reply With Quote
  #3  
Old 12-24-2004, 07:04 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Thanks for the reply... I'm sure I could figure out the code if only I knew where the php.ini file was? I checked the index.php file but couldn't find any code relating to a max execution time... Could you help me out? Oh and happy holydaze to everyone.
Reply With Quote
  #4  
Old 12-24-2004, 08:21 AM
Connie
Guest
 
Posts: n/a
Did you check with the most classical php already to find out about php settings?

Code:
<?

print phpinfo();

?>
Reply With Quote
  #5  
Old 12-24-2004, 10:35 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Probably set_time_limit or max_execution_time.

set_time_limit(60);

or

max_execution_time(120);

Add any of the line close to the top of the script (admin/index.php) and see what happens.
Change the numbers, they are seconds.

I have not tested or investigated any further, no time! 800 km in car tomorrow, happy holidays!

// punk
__________________
icq: 66760929
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:55 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs