It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Member
Join Date: Feb 2007
Posts: 62
|
Hi,
I've setup a cron job to run each hour. It should execute the update-feeds.php file located in the wp-content directory, but it isn't. I get this error mailed to me: Code:
/home/eitron/public_html/capital/wp-content/update-feeds.php: line 1: ?php: No such file or directory
/home/eitron/public_html/capital/wp-content/update-feeds.php: line 60: //: is a directory
/home/eitron/public_html/capital/wp-content/update-feeds.php: line 61: syntax error near unexpected token `'error_reporting','
/home/eitron/public_html/capital/wp-content/update-feeds.php: line 61: `ini_set('error_reporting', E_ALL & ~E_NOTICE);'
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Aug 2006
Age: 26
Posts: 755
|
You will need to use curl or wget to get this php file. Additionally, you will need to discard the data to >dev/null
__________________
Ajay D'Souza Techtites - Your daily dose of all things Tech! Sir Arthur Conan Doyle | I Sent This WebberZone Domains |
|
|
|