javo Posted March 29, 2007 Posted March 29, 2007 hi all , I've made some OSC shop on localhost, but when I'm trying to move or install it to the new paid hosting, there is this error can u help me pls? thx 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.
dustint Posted April 20, 2007 Posted April 20, 2007 hi all , I've made some OSC shop on localhost, but when I'm trying to move or install it to the new paid hosting, there is this errorcan u help me pls? thx 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 was able to resolve this issue by adding my own php.ini file to the catalog, install & admin directories. php.ini code: register_globals = On
grantjm Posted April 24, 2007 Posted April 24, 2007 I was able to resolve this issue by adding my own php.ini file to the catalog, install & admin directories. php.ini code: register_globals = On What exactly does your code look like? Thanks? BG Making the internet community better. Knowledge is power.
shvushvu Posted April 26, 2007 Posted April 26, 2007 What exactly does your code look like? Thanks? Hi Folks, I just downloaded oscommerce, copied catalog over to my Apache server and ran into the same problem. Since then, I have tried the following fixes without success, 1. Modified php.ini to turn global_registers = on 2. Added .htaccess files to htddocs, catalog, admin and install folders with the line php_value register_globals 1 3. Added php.ini with global_registers=on to htddocs, catalog, admin and install folders. I am done with my ideas and this thing is driving me nuts. Any way out is greatly appreciated. Waiting with bated breath... Shiv
Guest Posted June 15, 2007 Posted June 15, 2007 Hey just wanted to see if you got it resolved.... if so, post you resolution here,.. thanks again! Hi Folks, I just downloaded oscommerce, copied catalog over to my Apache server and ran into the same problem. Since then, I have tried the following fixes without success, 1. Modified php.ini to turn global_registers = on 2. Added .htaccess files to htddocs, catalog, admin and install folders with the line php_value register_globals 1 3. Added php.ini with global_registers=on to htddocs, catalog, admin and install folders. I am done with my ideas and this thing is driving me nuts. Any way out is greatly appreciated. Waiting with bated breath... Shiv
♥Vger Posted June 15, 2007 Posted June 15, 2007 The possible solution is different for everyone. .htaccess files don't work on Windows servers - they are specific to Apache servers. You can create a text document on your desktop and rename it to php.ini and put this code (below) in it and upload it to the root of your website and it should work on both Apache and Windows servers: register_globals = On If you use a .htaccess file then any of these variations may work - or none of them may work if your host does not allow Register Globals to be turned on with .htaccess php_value register_globals On php_value register_globals 1 php_flag register_globals On php_flag register_globals 1 Vger
yogidegr8 Posted June 19, 2007 Posted June 19, 2007 My host upgraded their software and I also had the same problem but now I have solved it.. I had the php.ini file in my catalog folder online. I simply copied that file to my admin folder from file manager and that solved the proplem. HTH Yogesh
Recommended Posts
Archived
This topic is now archived and is closed to further replies.