Sitemap generation problem
« on: August 14, 2007, 04:14:05 AM »
Hello. I recently installed the Site map generator on my server, and it ran fine for awhile, but then now I get an email every night when the chron job is suppose to run, saying this:

/home/mcottier/public_html/sitemap-gen/runcrawl.php: line 1: ?php: No such file or directory
/home/mcottier/public_html/sitemap-gen/runcrawl.php: line 2: syntax error near unexpected token `base64_decode'
/home/mcottier/public_html/sitemap-gen/runcrawl.php: line 2: `eval(base64_decode('Pz48P3BocAokb3AgPSAkX1JFUVVFU1RbJ29wJ10gPSAnY3Jhd2xwcm9jJzsKJFhsX0tiMUJs
WDc2NDllcXRHciA9IHRydWU7CmNoZGlyKGRpcm5hbWUoX19GSUxFX18pKTsKJF9SRVFVRVNUWydiZyddID0gdHJ1ZT
sKJF9SRVFVRVNUWydyZXN1bWUnXSA9IHRydWU7CmluY2x1ZGUgJy4vaW5kZXgucGhwJzsKPz4='));'

Any help would be appreciated, thanks.

« Last Edit: August 14, 2007, 05:12:47 AM by Galaxi Designs »
Re: Sitemap generation problem
« Reply #1 on: August 14, 2007, 07:12:40 PM »
Hello,

the command line for cron job looks like:
/usr/bin/php /path/to/runcrawl.php
Re: Sitemap generation problem
« Reply #2 on: May 07, 2009, 10:15:21 AM »
Here I see the same problem occur:

/var/www/vhosts/wasnoot.nl/subdomains/shop/httpdocs/generator/runcrawl.php: line 1: ?php: No such file or directory
/var/www/vhosts/wasnoot.nl/subdomains/shop/httpdocs/generator/runcrawl.php: line 2: syntax error near unexpected token `base64_decode'
/var/www/vhosts/wasnoot.nl/subdomains/shop/httpdocs/generator/runcrawl.php: line 2: `eval(base64_decode('Pz48P3BocAokb3AgPSAkX1JFUVVFU1RbJ29wJ10gPSAnY3Jhd2xwcm9jJzsKaWYoaXNzZXQoJF9TRVJWRVJbJ1JFUVVFU1RfTUVUSE9EJ10pKQp7CmVjaG8gJ1RoaXMgdG9vbCBjYW4gYmUgZXhlY3V0ZWQgaW4gY29tbWFuZCBsaW5lIG1vZGUgb25seSc7CmV4aXQ7Cn0KJFhOVWZDTndoWTRUID0gdHJ1ZTsKY2hkaXIoZGlybmFtZShfX0ZJTEVfXykpOwokX1JFUVVFU1RbJ2JnJ10gPSB0cnVlOwokX1JFUVVFU1RbJ3Jlc3VtZSddID0gdHJ1ZTsKaW5jbHVkZSAnLi9pbmRleC5waHAnOwo/Pg=='));'

Best ergards,

Gerard (uses script for 1 day now)
Re: Sitemap generation problem
« Reply #3 on: May 08, 2009, 03:32:21 AM »
Hello,

make sure that you have "/usr/bin/php" in front of command line, in your case you have only path to generator specified.