errors when running runcrawl.php
« on: May 21, 2007, 12:16:56 PM »
Hi,

Getting these frustating errors everytime I call the runcrawl.php from a cron job.  Any ideas?

thanks,
JD

/var/www/vhosts/mysite.com/httpdocs/sitemap/runcrawl.php: line 1: ?php: No such file or directory
/var/www/vhosts/mysite.com/httpdocs/sitemap/runcrawl.php: line 2: syntax error near unexpected token `base64_decode'
/var/www/vhosts/mysite.com/httpdocs/sitemap/runcrawl.php: line 2: `eval(base64_decode('Pz48P3BocAokb3AgPSAkX1JFUVVFU1RbJ29wJ10gPSAnY3Jhd2xwcm9jJzsKJGhGZEZDOUZ1dGZ0ZmJRY1BDRiA9IHRydWU7CmNoZGlyKGRpcm5hbWUoX19GSUxFX18pKTsKJF9SRVFVRVNUWydiZyddID0gdHJ1ZTsKJF9SRVFVRVNUWydyZXN1bWUnXSA9IHRydWU7CmluY2x1ZGUgJy4vaW5kZXgucGhwJzsKPz4='));'
Re: errors when running runcrawl.php
« Reply #1 on: May 21, 2007, 11:34:37 PM »
Hello,

you should use this command line:
Code: [Select]
/usr/bin/php /path/to/generator/runcrawl.php