Gerister_globas error via cron

<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 /> <font color="red">get_magic_quotes_gpc is Off, enable it</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 still can't get this little devil to stop sending me error messages in an email via the cron job. Phpinfo via the admin panel along with .htaccess shows all the settings to be correct so what's the deal?

Is this a valid cron ? ( suggested by installer )

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -q cron.php

Quote · 19 Aug 2009

riorick,

this is saying that you have Register Globals as on, and get_magic_quotes_gpc as being off. are you sure register globals are off? are you sure get_magic_quotes_gpc is enabled? because there is no other reason for you to have this message appear.

here you mention .htaccess appears to have everything corrected? are you running a home server?  can you post these php flags that you are referring to. also can you run a local <? phpinfo() ?> and see what is reported there, it should tell you more information than the .htaccess, as it may not be configured corrrectly, and what is the build of php you are running?

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 20 Aug 2009

try this http://www.boonex.com/unity/forums/#topic/video-doesnt-upload.htm

Quote · 20 Aug 2009

php.ini

register_globals = Off

allow_url_include = Off

magic_quotes_gpc = On

phpinfo dolphin root directory:

PHP Version 5.2.9

register_globals   Off   Off

allow_url_include  Off  Off

magic_quotes_gpc  On  On

phphinfo dolphin admin tools:

PHP Version 5.2.9

register_globals  Off  Off

allow_url_include  Off  Off

magic_quotes_gpc On On

phphinfo dolphin periodic directory:

PHP Version 5.2.9

register_globals  Off  Off

allow_url_include  Off  Off

magic_quotes_gpc On On

.htaccess dolphin root directory

Options -MultiViews

<IfModule mod_php4.c>
php_flag register_globals Off
</IfModule>
<IfModule mod_php5.c>
php_flag allow_url_include Off
php_flag register_globals Off
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine on
....etc

The only place I could find this code is:

inc/header.inc.php

line 98,105, 108

Although I doubt this is an issue here, "get" is a function that returns the value of the configuration setting magic_quotes_gpc

http://us.php.net/manual/en/function.get-magic-quotes-gpc.php

I'm running this install on my host, I can try it on my local server if you think it might be helpful...I don't want to get in a host debate, especially with MrDawg Cool but I would think as long as php.ini is configurable and phpinfo looks good there has to be something else going on here.

I've seen this issue a bazillion times in the forum, each with a unique method of dealing with it but for me I'm out of ideas lol

Quote · 20 Aug 2009

i copied my php.ini file and placed it in the periodic folder all work i was having the same problem you were before that. btw my host has php.ini in cgi mode

Quote · 20 Aug 2009

 

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -q cron.php

 try this:

 

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -c /home/me/public_html/my.com/php.ini -q cron.php

 

 

In php.ini file write:

magic_quotes_gpc = 1

 

 

 

Quote · 20 Aug 2009

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -q cron.php

try this:

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -c /home/me/public_html/my.com/php.ini -q cron.php

In php.ini file write:

magic_quotes_gpc = 1

That did stop the errors...

Quote · 21 Aug 2009

 

 

 

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -q cron.php

try this:

 

cd /home/me/public_html/my.com/community/periodic; /usr/local/bin/php -c /home/me/public_html/my.com/php.ini -q cron.php

 

 

In php.ini file write:

magic_quotes_gpc = 1

 

 

 

That did stop the errors...

 

 Same for me not working.

Quote · 21 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.