This is a discussion on FATAL ERROR: register_globals within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; how do I enable this I tried to edit the file and where it said ...... php_admin_flag register_globals off I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| how do I enable this I tried to edit the file and where it said ...... php_admin_flag register_globals off I changed the off to on and nothing |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| delete the php_admin_flag register_globals off and change it to: php_flag register_globals on make sure you put that in your .htaccess file |
|
#3
| |||
| |||
| Last night some brilliant person told me to create a note pad file called php.ini and within it put register_globals=on Then stick it in the admin and root directory. It worked! ~eDee |
|
#4
| ||||
| ||||
| Quote:
Regards Ryan |
|
#5
| |||
| |||
| Hi everyone, I am putting up a new store in Brazil, testing and checking many shopping carts. Facing a lot of problems, etc. (not much knowledge in PHP) And off course I ran into this one also. Since register_globals is off and the host will not turn it on. No accesss to PHP.ini, and its trick worked in one of the installation. The second trick was the .htaccess {QUERY_STRING} <ifModule mod_php5.c> php_value register_globals On </ifModule> I tried the two solutions with different versions and types of oscommerce; they sometimes worked sometimes not. Till this last time NONE had worked out for me. Well I had to figure a way out, I found a solution (not the best one) but worked fine for the installation and the store is up and running. Open this file and comment out // Check if register_globals is enabled. catalog\install\includes\ application.php Like this: // Check if register_globals is enabled. // Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized. // if (function_exists('ini_get')) { // ini_get('register_globals') or exit('FATAL ERROR: register_globals is disabled in php.ini, please enable it!'); // } This done the trick for me this last time, could save someone’s day. Not sure if it has any impact, but so far so good, the store is running without a problem, at least till now. Regards, Bulli |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FATAL ERROR: register_globals is disabled in php.ini | jschafer52 | osCMax v2 Installation issues | 12 | 03-13-2008 01:40 AM |
| FATAL ERROR: register_globals is disabled in php.ini etc.. | heds22 | osCommerce 2.2 Installation Help | 16 | 07-20-2006 01:03 PM |
| FATAL ERROR: register_globals is disabled in php.ini | robroymedia | osCMax v1.7 Discussion | 1 | 09-13-2004 11:57 AM |
| FATAL ERROR: register_globals is disabled in php.ini | Marko | osCommerce 2.2 Installation Help | 2 | 02-03-2003 01:12 AM |
| php-error: register_globals is disabled in php.ini | Anonymous | osCommerce 2.2 Installation Help | 1 | 11-05-2002 02:29 PM |