Hi,

i have just upgraded my site from 5.3 to 5.7. The site is under construction anyway but now the status report gives me an error, saying:

----
PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.
----

I am not a programmer, so i just checked the .htaccess-file. There i can only see, that the register_globals flag is set to '0', which seems right, ... right?

Does anyone know, how i can fix that?

Thank you very much in advance.

Yours,
Chris

Comments

WorldFallz’s picture

Typing "register globals" into the d.o. search box yielded the following:

There's some info in there about troubleshooting this problem and some possible suggestions. I would start there.

=============
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.

CaptainChris’s picture

Seems not an "easy" problem after all. But i will crawl my way through.

Thanks for the advice. I just looked for "general upgrading" problems ...

greetings,
Chris

... on the other hand: the problem should be fixed in 5.7, which i just installed, but it does not work. :-/

Since the site isn't online, i could make a clean install ... grrr, more work!

mcrickman’s picture

You need to have php globals turned off.
Check with your host and see how to get the setting changed.
Some times you can do this in your .haccess or a php.ini file added to your home directory.
I host with hostgator.com and have to turn globals off too.

Charlie

CaptainChris’s picture

Hello Charlie,

that did it for me. Simply created a php.ini file and turned the globals off.

:)

Cheers,
Chris