You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi Guys,
I've had some custom work done to allow exports of customer invoices from Sage into CCP6 (for the purpose of automatically updating the cart based on order status), problem is I'm getting this error, no doubt due to the size of the upload file. Unfortunately every invoice from Sage has to be uploaded each time due to Sage's shortcomings. I'm trying to find where I can alter this timeout setting, I assumed php.ini but there is no timeout setting with a value of 120 seconds. I've also changed the IIS http timeout properties for the website in question - this was set to 120 secs by default but changing the value has made no difference. It's the latest version of CCP6 (UK) running on a Windows 2003 web edition server.
Any suggestions appreciated.
Cheers
H
Offline
Hi John, I have to admit I haven't tried that yet, I restarted the website in IIS assuming that would be all that was required. I'll give the reboot a try later on.
Cheers
H
Offline
Ok, I've tried rebooting but it has made no difference, the timeout setting must be coming from elsewhere, I'm stuck for where else to check :-(. Is there anywhere else that php5 might get its defailt from other than the php.ini? I'm no expert as you can tell ;-)
Cheers
H
Offline
Run phpinfo and find out exactly where the ini file is being read from and its name. If there isn't a setting in the ini file add one with the value you need.
Offline
Everything looks fine in phpinfo, I can't see any default timeout value of 120 in the active php.ini.
Dave, I'm not sure what value to add, I'm not getting any debug info as the upload is failing.
The offending line in the upload script appears to be
// Get xml data from php input stream
$xmlInput = file_get_contents("php://input"); // Represents HTTP POST Stream
Don't know if this gives a clue or not :-(
Cheers
RobH
Offline
You don't see a value for in the output of phpinfo?
I don't have a clue where that line may be coming from but it isn't CCP
Offline
Ok thanks Dave.
The issue has been identified as a php problem, some changes have been made that break the upload data down into smaller chunks, this has resolved the timeout by avoiding the issue rather than fixing it.
Cheers
H
Offline