This is a discussion on Register Globals Easy within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Correction of the error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! In one way easy; Modifications ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Correction of the error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! In one way easy; Modifications made by: www.magic-seo-url.com There are several tutorials and contributions on how to run osCommerce with register_globals Off. However, all are very complicated, break compatibility with other contributions such as payments or delivery modules and are not compatible with both PHP4 and PHP5. We made a very simple MOD, which allows you to run osCommerce on any PHP powered server with disabled Register Globals including PHP4 and PHP5. This MOD also work with register_globals = On, so if your provider changes the configuration of the web server without your knowledge, osCommerce powered shopping cart will remain untouched. Please read the README.TXT More...
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| The Following User Says Thank You to michael_s For This Useful Post: | ||
cameroti (02-13-2008) | ||
|
#2
| |||
| |||
| My hosting company have set globals off today without any notice at all. My site is down and has been all day and I cannot get this mod to work. The last section says changes need to be made to : catalog/install/includes/application.php which doesn't exist! In the zip file it has only application_top and sessions (in both catalog and admin) When I upload the new files I get the following error message: "Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory." Does this contribution work or am I missing something? Help would be much appreciated |
|
#3
| |||
| |||
| I now have the shop working but the admin is failing with the following error: Fatal error: Cannot re-assign $this in mysite/admin/includes/classes/upload.php on line 31 Help please |
|
#4
| |||
| |||
| and the relevant line referred to is commented out: if ( ($this->parse() == true) && ($this->save() == true) ) { return true; } else { // LINE REMOVED: MS2 update 501112 //****This is line 31 // self destruct // $this = null; return false; } } } function parse() { global $messageStack; |
|
#5
| ||||
| ||||
| There is another thread in regards to this: Testers needed for register_globals/register_long_arrays=off
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#6
| |||
| |||
| hi, i have no idea about html or .php, can someone tell me a step by step process on how to do this i've read Quote:
Last edited by Djam; 03-27-2008 at 07:37 AM. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 09-25-2007 06:41 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 08-25-2007 06:14 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 08-23-2007 12:50 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 04-09-2007 06:52 AM |
| Register Globals | michael_s | New osCommerce Contributions | 0 | 04-05-2007 07:00 AM |