chrisjchrisjchrisj Posted May 3, 2007 Share Posted May 3, 2007 When I installed osCommerce, and went to www.mywebsite.com/commerce, I get this 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." I've searched this forum and found many remedies. I uploaed the register_globals patch mod 1.5, as some suggested, still have the same error. After I uploaded the patch, am i supposed to run it, or something? Cause there was no README file. I added an php.ini file to the root and admin, as some suggested, I added a line of code, as some suggested to .htaccess. There are so many suggestions. But no success. What's the secret to getting past this? Link to comment Share on other sites More sharing options...
Sanguinarius Posted May 3, 2007 Share Posted May 3, 2007 I'm suddenly getting a similar (same?) error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! I have no clue what to do. --Sanguinarius If you're reading this, I'm probably pulling my hair out. ;> *waiting for osCommerce 3.0 alpha 6* (I'm after the coupons.) Link to comment Share on other sites More sharing options...
GulSar Ray's Posted May 3, 2007 Share Posted May 3, 2007 I'm suddenly getting a similar (same?) error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! I have no clue what to do. create one file with the name "php.ini" and write the following code in that and upload in the root directory. register_globals = on Hard Work Is The Simplest Way Of Success Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2007 Share Posted May 3, 2007 I'm suddenly getting a similar (same?) error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! I have no clue what to do. install the register globals module. http://www.oscommerce.com/community/contributions,2097 Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2007 Share Posted May 3, 2007 When I installed osCommerce, and went to www.mywebsite.com/commerce, I get this 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." I've searched this forum and found many remedies. I uploaed the register_globals patch mod 1.5, as some suggested, still have the same error. After I uploaded the patch, am i supposed to run it, or something? Cause there was no README file. I added an php.ini file to the root and admin, as some suggested, I added a line of code, as some suggested to .htaccess. There are so many suggestions. But no success. What's the secret to getting past this? Hi Chris? I've got the same problem after just installing osCommerce. If you find the solution, I'd be grateful if you can email me the solution: [email protected] Cheers! Stuart Link to comment Share on other sites More sharing options...
chrisjchrisjchrisj Posted May 4, 2007 Author Share Posted May 4, 2007 Hi Chris?I've got the same problem after just installing osCommerce. If you find the solution, I'd be grateful if you can email me the solution: [email protected] Cheers! Stuart Yes, I found a solution that worked for me. I deleted osCommerce and re-installed it (so as to remove the register_globals contribution, that I added, previously). I created a file named php.ini with the line: register_globals = on in the file. I put it in my catalog folder, which in my case is: www.website.com/commerce. Then I copied that same file to my www.website.com/commerce/admin folder. Now it works. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.