PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 22nd, 2006, 10:31 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 10
Time out errors

I was hoping you could help me out I've used the search tool and think i know what I need to do ini_set to aleviate my timeout errors but I'm having issues with the code placement.

The default timout on my server is 90 sec. I can override it with

ini_set("max_execution_time","300")

but i'm getting an error putting this code at the top of uploadphoto.php

//set override timout to 5 min.
ini_set("max_execution_time","300")

define( 'THIS_SCRIPT', "uploadphoto" );
require "pp-inc.php";

Do I have it in the wrong spot or file?

Many thanks
wesintl is offline   Reply With Quote
Old May 23rd, 2006, 09:18 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Try this

ini_set("max_execution_time", 0);

You do not place quotes around the time
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 23rd, 2006, 10:10 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 10
Thanks, it's not giving me an code error but it doesn't seem to override my host setting. I keep timing out at 90 sec.

I tried
ini_set("max_execution_time", 300);

and setting it to 0
ini_set("max_execution_time", 0);


any thoughts?
wesintl is offline   Reply With Quote
Old May 23rd, 2006, 11:01 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
what does the php setting say in your admin settings?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 24th, 2006, 11:16 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 10
Local value and master value

max_execution_time 90 90

I was told by the host I could over ride that setting by the above ini_set though...
wesintl is offline   Reply With Quote
Old May 24th, 2006, 12:13 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Your server is not allowing ini_set then and your execution time is 90 seconds thus your gonna time out in 90 secs.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 24th, 2006, 07:44 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 10
Thanks Chuck. I initiated conversation with my host and they confirmed I have it set to override to 5 min (300 sec) so they need to test the error and see what they can come up with. Many thanks
wesintl is offline   Reply With Quote
Old May 24th, 2006, 07:48 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yeah well if the PHP info is still saying 90 then the edit you did is not being allowed by their server.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logged in and out at the same time drewclark Photopost Pro Installation & Upgrades 1 March 31st, 2006 01:03 AM
More pictures at the same time? Schahab Photopost Pro How Do I...? 1 January 20th, 2006 01:47 PM
Installing for the first time shir Photopost Pro Installation & Upgrades 1 January 15th, 2006 09:59 AM
The Time... rsctokyo Photopost Pro How Do I...? 6 January 1st, 2006 07:20 AM
Time Stamp ywang98 Photopost Pro Installation & Upgrades 10 July 27th, 2005 12:20 AM


All times are GMT -5. The time now is 03:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0