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!?
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.