Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR: register_globals is disable...


Guest

Recommended Posts

I'm new with php and oscommerce.

 

I'm working on OSX 10.4.2.

 

PHP 4.3.11 is installed

 

php.ini contains register_globals = On

 

php.ini is located in usr/local/php/lib/ and in usr/local/lib/

 

.../catalog/includes/configure.php has read-write authorization

 

I still get the following message:

 

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

 

Thanx for you help.

 

shaelter :blush:

Link to comment
Share on other sites

I'm new with php and oscommerce.

 

I'm working on OSX 10.4.2.

 

PHP 4.3.11 is installed

 

php.ini contains register_globals = On

 

php.ini is located in usr/local/php/lib/  and in usr/local/lib/

 

.../catalog/includes/configure.php  has read-write authorization

 

I still get the following message:

 

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

 

Thanx for you help.

 

shaelter  :blush:

Install this contibution

http://www.oscommerce.com/community/contri...register_global

 

:D

Link to comment
Share on other sites

  • 3 weeks later...

 

Hi Giacomo79,

 

Thanks for your great help... it works thanks to your tip and the community contribution.

 

But now I dont know how to create the MySQL database and to define yhe hostname for it.

 

MySQL is installed and running but I cannot use my local IP 10.0.0.2 on OSX as IP for the database server. Maybe you could help me for that as well. Remember, I'm new to the unix world.

 

Best regards,

 

Shaelter :D

Link to comment
Share on other sites

http://localhost/phpmyadmin, and create the blank database.

 

db_server will be 'localhost' on the Mac the same as it is on a PC - the web server is the same.

 

There was no need to install the Register Globals Patch Files - you just hadn't found the correct php.ini file to edit. You should have used Finder on the Mac to locate all php.ini files (there will be 3 or 4 on a Mac) and edit them one at a time until you find the right one.

 

Vger

Link to comment
Share on other sites

http://localhost/phpmyadmin, and create the blank database.

 

db_server will be 'localhost' on the Mac the same as it is on a PC - the web server is the same.

 

There was no need to install the Register Globals Patch Files - you just hadn't found the correct php.ini file to edit. You should have used Finder on the Mac to locate all php.ini files (there will be 3 or 4 on a Mac) and edit them one at a time until you find the right one.

 

Vger

 

 

It works now.

 

Thanks Vger.

 

Indeed, I forgot the database creation.

 

Best regards,

 

shaelter

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...