Cron job fails

Discuss about Seo Panel Installation steps and issues

Moderators: hellow0rld, eugene, sendtogeo

Cron job fails

Postby Juho » Thu Dec 06, 2012 2:29 pm

When I execute the cron job, it delivers following "failed" notification:

cron.php: line 1: ?php: No such file or directory
cron.php: line 3: /***************************************************************************: No such file or directory
cron.php: line 4: syntax error near unexpected token `('
cron.php: line 4: ` * Copyright (C) 2009-2011 by Geo Varghese(www.seofreetools.net) *'

What could be done to fix this?
Juho
 
Posts: 15
Joined: Wed Dec 05, 2012 3:00 pm
Location: Finland

Re: Cron job fails

Postby seopanel_forum » Thu Dec 06, 2012 7:55 pm

Please provide screen shot of your cron job. Let me check it.
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1354
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: Cron job fails

Postby Juho » Thu Dec 06, 2012 8:38 pm

seopanel_forum wrote:Please provide screen shot of your cron job. Let me check it.


From the error report or from the actual configuration for the cron job (it is similar than Cpanel)? The error report is that what I posted, I have just cutted the directory tree short.
Juho
 
Posts: 15
Joined: Wed Dec 05, 2012 3:00 pm
Location: Finland

Re: Cron job fails

Postby Juho » Thu Dec 06, 2012 9:27 pm

I noticed that I haven't added the "php" at the beginning of the cron command. Now I did add it and there is no errors, but I don't see any results either.
Juho
 
Posts: 15
Joined: Wed Dec 05, 2012 3:00 pm
Location: Finland

Re: Cron job fails

Postby Juho » Fri Dec 07, 2012 9:31 am

Problem goes on. Cron job has started on two occasions at it's own, at a time that makes no sense. Could it be because of the seopanel thinks it is 8 november, or at least it is the scheduled next crawl? It has been able to crawl data, but all Bing crawls have failed and also one yahoo crawl. All Google crawls have succeeded.

But at the end of the message I get this: <p class='note error'><p>The database tables could not be found.</p><p><a href="install/index.php">Click here to install Seo Panel.</a></p></p>"

How there could not be tables, because when I do the crawl manually through browser, it works and there is data?
Juho
 
Posts: 15
Joined: Wed Dec 05, 2012 3:00 pm
Location: Finland

Re: Cron job fails

Postby seopanel_forum » Fri Dec 07, 2012 9:34 am

Please tell me which version of seo panel you are using?
Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1354
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: Cron job fails

Postby Juho » Fri Dec 07, 2012 9:46 am

seopanel_forum wrote:Please tell me which version of seo panel you are using?


I have installed it using Installatron and it says that the version is 3.3.1. Last updated 27.11.2012.
Juho
 
Posts: 15
Joined: Wed Dec 05, 2012 3:00 pm
Location: Finland

Re: Cron job fails

Postby seopanel_forum » Fri Dec 07, 2012 9:55 am

Thanks,
Seo Panel Team
http://www.seopanel.in
seopanel_forum
Site Admin
 
Posts: 1354
Joined: Sat Apr 17, 2010 6:42 pm
Location: India

Re: Cron job fails

Postby Juho » Fri Dec 07, 2012 9:58 am

OK, I commented it out and I will test it. I will post the results to the linked thread.
Juho
 
Posts: 15
Joined: Wed Dec 05, 2012 3:00 pm
Location: Finland

Cron job fails

Postby KleinerP » Fri Sep 25, 2015 5:03 am

It is probably a path problem. When run from the browser, all paths are relative to how the webserver views the file system.

When running from cron, the real file system paths are being used.
Every saint has a past and every sinner has a future.
KleinerP
 
Posts: 6
Joined: Thu Aug 13, 2015 12:16 am
Location: Canada


Return to Seo Panel Installation

Who is online

Users browsing this forum: No registered users and 2 guests