Globals on

Im getting cron job daemon emails saying register_globals are on even tho my host says they are off and in they say there off in the ht_access file, ive been told to put a php.ini file with 'register_globals = Off' in the script directory but the error is still happening and my migration is still in process, where else can i put this file???

Quote · 18 Nov 2009

i am having the same email. I have set the php.inin file to OFF as well but still get this message. Same in the htaccess file.

Quote · 18 Nov 2009

i am having the same email. I have set the php.inin file to OFF as well but still get this message. Same in the htaccess file.

whos your host?

Quote · 18 Nov 2009

check for dupes

this can happen if register_globals has been defined twice in the php.ini

also do this in htaccess:

#  php_flag register_globals Off

comment where it sets it as off in 4 and 5

registerglobals is no longer used in php5.3 +

I have video tutorials to help you mrpowless.com
Quote · 18 Nov 2009

hostmonster

Quote · 18 Nov 2009

check for dupes

this can happen if register_globals has been defined twice in the php.ini

also do this in htaccess:

#  php_flag register_globals Off

comment where it sets it as off in 4 and 5

registerglobals is no longer used in php5.3 +

Could you explain, dont get what your saying sorry

Quote · 18 Nov 2009

comment line 95 +- in inc/header.inc.php

//    $aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

register globals is no longer used in php

the above post simply explains that sometimes if your version still uses it, that the variable is written 2x in the php.ini and will work normally if the second instance is removed....

see its also written in htaccess 2x if you use php4 and php5 open it and see what i mean??

you can verify its off by going to administration/phpinfo.php and seeing the section for register globals..it will actually be off...so no need for these dummy lines.

if you do see that the master settings for "register_globals" is on then your htaccess file will be neeeded...depending on your server...test by changing values from ON to Off in htacces

the left side will change upon refresh

most often hosts will help you out and change master values for you if you ask nice enough...

I have video tutorials to help you mrpowless.com
Quote · 18 Nov 2009

comment line 95 +- in inc/header.inc.php

//    $aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

register globals is no longer used in php

the above post simply explains that sometimes if your version still uses it, that the variable is written 2x in the php.ini and will work normally if the second instance is removed....

see its also written in htaccess 2x if you use php4 and php5 open it and see what i mean??

you can verify its off by going to administration/phpinfo.php and seeing the section for register globals..it will actually be off...so no need for these dummy lines.

Im really confused sorry, ive just check in the phpinfo.php file and all thats in it is -

require_once( '../inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'admin.inc.php' );

$logged['admin'] = member_auth( 1, true, true );

phpinfo();

?>

Quote · 18 Nov 2009

read phpinfo.php from your browser

you open inc/header.inc.php and comment mentioned line

change:

$aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

to:

//$aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

I have video tutorials to help you mrpowless.com
Quote · 18 Nov 2009

read phpinfo.php from your browser

you open inc/header.inc.php and comment mentioned line

change:

$aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

to:

//$aErrors[] = (ini_get('register_globals') == 0) ? '' : '<font color="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

After changing that ive check phpinfo.php in my browser says they are off, migration has changed from being queued to in process but nothing seems to be happening

Quote · 18 Nov 2009

your cron is broken..this thread is moved now heh..

I have video tutorials to help you mrpowless.com
Quote · 18 Nov 2009

try this




you open inc/header.inc.php and comment mentioned line

change:

$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

to:

//    $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';

Quote · 19 Nov 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.