runcrawl not working in updated version
« on: February 09, 2006, 12:36:13 PM »
I updated today to the new 2.02 version but my crawler is not working anymore.

My cron error report :
/home/pspwerel/public_html/sitemap/runcrawl.php: cannot open ?php: no such file
/home/pspwerel/public_html/sitemap/runcrawl.php: 2: Syntax error: "(" unexpected (expecting ")")

runcrawl.php looks like this :

...
Any ideas what to do ?

« Last Edit: February 09, 2006, 01:43:26 PM by admin »
Re: runcrawl not working in updated version
« Reply #1 on: February 09, 2006, 01:43:16 PM »
Hi,

how does your cron command line look like? (It should be something like "/usr/bin/php /home/pspwerel/public_html/sitemap/runcrawl.php")
Is it working correctly when executed from the browser?
Re: runcrawl not working in updated version
« Reply #2 on: February 11, 2006, 07:58:07 AM »
When I call it from the browser it is working


The command line for the cron job is :
/home/public_html/sitemap/runcrawl.php

the vdeck interface at my hoster is cheking if the file is actually there before accepting

It seems to me that he can read the file as well because in the error log he is reffering to the first line in the file.

WDYT ?

Stefan
Re: runcrawl not working in updated version
« Reply #3 on: February 11, 2006, 02:09:46 PM »
Hello,

php scripts are *not* executed from the command line in this way (unlike perl scripts).

You should call php interpreter with script name as parameter:

/usr/bin/php /home/pspwerel/public_html/sitemap/runcrawl.php

OR

/usr/local/bin/php /home/pspwerel/public_html/sitemap/runcrawl.php

(depending on where php is located in your case).