I've had price tapestry running for ages, last weekend I changed and then refreshed feeds and content, all worked fine and went well.
since then each time I try to add a new feed I get this error message:
Premature end of script headers: /home/public_html/admin/feeds_import.php
I havent used up my disk quota which was my first thought. sql is 161mb and doesnt show any errors.
does anyone have any ideas?
cheers
jeff
thanks david
I have just noticed that this file and a few others have attributes/permissions set to zero
is this correct?
thanks
Hi,
I would compare them against files that are known to work - for example index.php if you are still able to browse to the home page of your site. It doesn't "sound" correct though, permissions of zero probably implies no access to the user, group or world - so Apache would not be able to exectue the script and could cause this error.
To be on the safe side I would re-install any file that currently has zero permissions, or alternatively change them manually using your FTP program (try right-clicking on a file in the remote window - you should be able to modify permissions) and see if that helps...
Cheers,
David.
Thank you david, it was the permissions issue which has now been resolved.
Many thanks for your help.
Hello Jeff,
This error (an Apache generated error) occurs when a script exits before having created any output. It implies that it is possibly a timeout problem, although that is strange as you say it was working fine previously.
It is not impossible that the script has become corrupted on your file system - it might be worth re-installing that file together with includes/admin.php from the distribution incase this is what's happened...
If you still get the error after re-freshing those files, are you able to try importing from the command line using the automation scripts? If you login to your server, change directory to /scripts (from your Price Tapestry installation directory) and then issue the following command:
php import.php filename.xml
(where filename.xml is the name of one of your feeds)
This uses the same includes and if this works it will help to indicate where the error is occurring.
Hope this helps,
Cheers,
David.