Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

register_globals is disabled ?????


Guest

Recommended Posts

I'm using Linux platform to use OsCommerce.

 

When I go to http://localhost/catalog/install

 

It shows:

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

 

But I check the php.ini in /etc

the register_globals=ON is changed

 

 

Why is always show this FATAL ERROR?!

 

 

Help pls~

Link to comment
Share on other sites

Hi,

 

When you run phpinfo(), the location of the file PHP.INI, is usually right up the top, for me, it is the sixth row, and states:

 

Configuration File (php.ini) Path  /usr/local/Zend/etc/php.ini

 

Peter

Link to comment
Share on other sites

I found it in /etc

 

 

But I already change the register_global => "ON"

 

May be I use OpenOffice to edit, so the file has problem.

 

 

 

Anyway, how can i fixed it?!

Link to comment
Share on other sites

Hi,

 

I found it in /etc

 

But, did 'phpinfo()' state it was in "/etc" ??

 

But I already change the register_global => "ON"

 

I had a look at a PHP.INI, and the line is:

 

register_globals	=	On

 

May be I use OpenOffice to edit, so the file has problem.

 

Maybe, .....try Crimson Editor , it's free and has syntax highlighting for PHP files, so it's a nice tool to use for osCommerce.

 

Anyway, how can i fixed it?!

 

Check that your 'phpinfo()' display path name is "/etc" , maybe PHP doesn't like the "ON', because here is what the file states:

 

; Boolean flags can be turned on using the values 1, On, True or Yes.

; They can be turned off using the values 0, Off, False or No.

 

Peter

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...