You are here:  » import.php error log

Support Forum



import.php error log

Submitted by tbbd2007 on Thu, 2008-03-27 17:00 in

David,

There seems to be a problem somewhere with importing feeds since the 1&1 platform upgrade. import.php seems to stop after about 20 mins and 1&1 cannot trace it as an error in the dedicated server setup, php.ini or import.php files. As import.php is not finishing importing the feeds I was wondereding whether it is possible to write its processing to an error log/file so that I can trace why it stops after a certain time and pass it on to 1&1 if it's relevant.

Submitted by support on Thu, 2008-03-27 17:07

Hi,

Yes - you can capture it's output easily and see how far it gets or what (if any) error is generated. In your cron job, simply add the following to the end of any line that you want to capture the ouput from:

> /path/to/logfile.txt

For example:

php import.php @MODIFIED > /path/to/logfile.txt

The directory that you specify (always best to use a full path) must be writable by whoever cron is running as (easiest way is just to make a directory world writable)...

Cheers,

David.

Submitted by tbbd2007 on Thu, 2008-03-27 19:28

David,

Thanks for that.

Kind regards

Stephen
Online Shopping For
The Big Business Directory