XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 20, 2008, 07:53:29 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
6811 Posts in 1679 Topics by Members
Latest Member: randy.slabey
Pages: [1]
  Print  
Author Topic: runcrawl not working in updated version  (Read 11988 times)
Stefan.Devroey
Registered Customer
Newbie
*
Posts: 3


View Profile
« 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 » Logged
admin
Administrator
Hero Member
*****
Posts: 2837


View Profile
« 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?
Logged

Stefan.Devroey
Registered Customer
Newbie
*
Posts: 3


View Profile
« 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
Logged
admin
Administrator
Hero Member
*****
Posts: 2837


View Profile
« 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).
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!