bajanboost Posted January 13, 2009 Share Posted January 13, 2009 I have a nicely completely OsCommerce website. I tested it on my local system in which I have access to my php.ini file. I turned on global_registers. However, I just uploaded the site to my host and I am getting the famous problem: FATAL ERROR: register_globals is disabled in php.ini, please enable it! My host does not allow me to access my php.ini file and there is no work around. I would change host, but I have many other sites on their server and cannot change at this point. I have read the forums and followed these two steps so far: 1. I have added a php.ini file to the catalogue root folder and the admin folder. The php.ini file has one line "register_globals = on" 2. I have edited my .htaccess file in the root folder and added this line: php_flag register_globals on Can ANYONE else offer suggestions or advice on what I can do right now to get the site working? Link to comment Share on other sites More sharing options...
web-project Posted January 13, 2009 Share Posted January 13, 2009 My host does not allow me to access my php.ini file and there is no work around. you can upload this file into root directory. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
bajanboost Posted January 13, 2009 Author Share Posted January 13, 2009 you can upload this file into root directory. hey Alex, thanks for the response, but if you read you would have seen that I already tried that. No go. Link to comment Share on other sites More sharing options...
d4funky1 Posted January 13, 2009 Share Posted January 13, 2009 as daft as it sounds in the php.ini file in your root change the register_globals = on to register_globals = On (capital o) Link to comment Share on other sites More sharing options...
web-project Posted January 13, 2009 Share Posted January 13, 2009 as daft as it sounds in the php.ini file in your root change the register_globals = on to register_globals = On (capital o) No difference between "on" or "On" for the system. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
bajanboost Posted January 14, 2009 Author Share Posted January 14, 2009 Okay, I tried all the above solutions and double (even tripple) checked to make sure I followed the steps correctly and made sure everything was in the right place. Nothing worked. SO far I have done the following with NO LUCK: 1. Add a php.ini file to the root, admin, level above root, and includes folders. All 4 php.ini files had one LINE of code: register_globals = On 2. Edited my .htaccess file in my catalogue folder to have an additional line of code: php_flag register_globals on Is there any other advice? Link to comment Share on other sites More sharing options...
jerrymc Posted January 14, 2009 Share Posted January 14, 2009 Okay, I tried all the above solutions and double (even tripple) checked to make sure I followed the steps correctly and made sure everything was in the right place. Nothing worked. SO far I have done the following with NO LUCK: 1. Add a php.ini file to the root, admin, level above root, and includes folders. All 4 php.ini files had one LINE of code: register_globals = On 2. Edited my .htaccess file in my catalogue folder to have an additional line of code: php_flag register_globals on Is there any other advice? You'll need to reboot the server, or at least restart your instance of Apache. Email/call your host and request a reboot & tell them why. After they get tired of arguing with you, they will probably do it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.