This is a discussion on FATAL ERROR: register_globals is disabled in php.ini within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi I am new to PHP, OSCOMMERCE, MYSQL and Apache. I am running WIn2000 I have successfully set up Apache, ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi I am new to PHP, OSCOMMERCE, MYSQL and Apache. I am running WIn2000 I have successfully set up Apache, PHP and MYSQL. I have created my database and assigned the user as per the new oscomerce doco. In the doco it says to open a browser and run the install http://localhost/catalog/install/index.php However, I am getting the following error here. FATAL ERROR: register_globals is disabled in php.ini, please enable it! I did a search on this file and found the follwing three files. I changed each of these files register_globals parameter to = on (Previously they where set to = OFF). There was a security warning for the implication of this. php.ini-dist php.ini-recommended php.ini.conf I re-started the server and tried again, still the same problem. Questions. Is this related to permissions? If so I must have done something wrong here. COuld someone explain how to properly set the permissions. I understand CHMOD are unix commands. I have checked the permissions from windows explorer/security and nothing seems to jump out (I have everything set to "Allow". Any advice would be appreciated. Many thanks, Mark |
|
#2
| |||
| |||
| HIya Marko Your getting the error message because register_global is disabled in " php.ini " file. You can locate the file : C:\Windows\php.ini Open php.ini in any text editor program and look for this section ;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; /--- Some other codes .... ; You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought of. register_globals = Off --/ You will see " register_globals = Off " set to Off , just replace that with register_globals = On And your set to go |
|
#3
| |||
| |||
| Thanks heaps, I'm back on track. Marko |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remedy for 'register_globals' error | Jan5 | osCMax v2 Installation issues | 0 | 07-28-2006 11:26 AM |
| FATAL ERROR: register_globals is disabled in php.ini etc.. | heds22 | osCommerce 2.2 Installation Help | 16 | 07-20-2006 12:03 PM |
| FATAL ERROR: register_globals is disabled in php.ini | robroymedia | osCMax v1.7 Discussion | 1 | 09-13-2004 10:57 AM |
| fatal error | litotes | osCommerce 2.2 Installation Help | 0 | 03-09-2004 06:57 PM |
| php-error: register_globals is disabled in php.ini | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-05-2002 02:29 PM |