XML Sitemaps Generator

Author Topic: errors when running runcrawl.php  (Read 25225 times)

trading

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
errors when running runcrawl.php
« on: May 21, 2007, 11:16:56 AM »
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='));'

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: errors when running runcrawl.php
« Reply #1 on: May 21, 2007, 10:34:37 PM »
Hello,

you should use this command line:
Code: [Select]
/usr/bin/php /path/to/generator/runcrawl.php
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2