homepage Welcome to WebmasterWorld Guest from 54.211.7.174
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Dolphin cron job issue
dolphin cron job not running properly
TechMan




msg:4124463
 4:21 pm on Apr 29, 2010 (gmt 0)

Hi,

I just installed Dolphin, the social networking script from Boonex and setup cron job as described by Dolphin during installation. This is my cron job command:

cd /home/webmaster/public_html/#*$!#*$!#*$!XX.COM/periodic; /usr/local/bin/php -q cron.php


This job is being run every minute and I am getting the following email every time it runs:

<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br /> <font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.


I want to know if the job is running fine and this is just a warning message? I mean if you have setup Dolphin before, can you tell me if I setup the cron job correctly!?

Thanks

 

lammert




msg:4124692
 10:52 pm on Apr 29, 2010 (gmt 0)

You should actually be happy that you receive this error message because the email warns you of a potential dangerous configuration problem in your PHP setup.

These messages indicate that the cron job is running, but the script called by cron has found some unsafe PHP settings. These unsafe PHP settings may make it easier for hackers to take over your site. It could be that you have an old PHP installation where these two parameters register_globals and allow_url_include are on by default, but it is also possible that they were deliberately turned on when installing another script or site on that server to let some older scripts run which would otherwise break if one of these settings was switched off.

From the outside it is difficult to say if you have older scripts running which need these settings, but my recommendation would be to switch them off in the php.ini file when possible and restart the Apache server. The email with the error message should then go away.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved