Islamice Posted April 30, 2006 Posted April 30, 2006 Hi guys, I know this is probably really easy for you guys, but I'm a total newbie, not to mention a total idiot when it comes to computers. I installed the OS Commerce and the admin url says: 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. Can someone please help me out? What goes around, comes around? B) Thanks!
spax Posted April 30, 2006 Posted April 30, 2006 A simple search for register_globals would return all the answers you need.
Islamice Posted April 30, 2006 Author Posted April 30, 2006 A simple search for register_globals would return all the answers you need. Thanks, but I'm still stuck. I've read through lots of those posts, but I still don't get what to do. I can't find the php.in file - and I understand it's different for everyone, there's no way of knowing where it is? Tried downloading the patch thing, but I'm hopeless. Once it's unzipped, what do I do - click extract? Then what? Thanks again
Guest Posted April 30, 2006 Posted April 30, 2006 Thanks, but I'm still stuck. I've read through lots of those posts, but I still don't get what to do. I can't find the php.in file - and I understand it's different for everyone, there's no way of knowing where it is? Tried downloading the patch thing, but I'm hopeless. Once it's unzipped, what do I do - click extract? Then what? Thanks again There's a file named 'php.ini' in your root directory on a PHP-enabled server. A copy of that file needs to be in every folder that has an index page opening in a browser. That means a copy goes in the install folder and admin folder. If you get another register_globals message, look at the path in your browser's address bar. Whatever the folder name is right before the index page's name is where you need to copy the php.ini file. Ex: http://mystore.com/catalog/admin/ If you get a register_global error when this address opens in a browser, put a copy of the php.ini file in the admin folder. For what it's worth, part of finding solutions is searching these forums. Take a look around before you ask a question. That way you'll know you're way around. This is like a bog toolbox. You need to know what's in the drawers. Hope that php.ini helps you out. gdane
spax Posted May 1, 2006 Posted May 1, 2006 Thanks, but I'm still stuck. I've read through lots of those posts, but I still don't get what to do. I can't find the php.in file - and I understand it's different for everyone, there's no way of knowing where it is? Tried downloading the patch thing, but I'm hopeless. Once it's unzipped, what do I do - click extract? Then what? Thanks again If you are installing the patch, the instructions come with it. Once you have unzipped it you will have a directory structure that mirrors the directory structure of your osCommerce store. Simply go into each folder in the patch and upload, if your store is on the web or copy and paste if your store is on your local machine, into the corresponding directory of your store. i.e. PATCH catalog/admin/products_attributes.php >>>right click and copy STORE catalog/admin/products_attributes.php >>>right click and paste A prompt will ask you if you want to replace the older products_attributes.php with the new one, you click yes. Thats one file replaced with the patched file. Do the same with all the patched files, following exactly the same directories and it will be done in minutes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.