bored_life_forever Posted May 21, 2007 Posted May 21, 2007 Hi guys, I've downloaded osCommerce and uploaded it to my website, but somehow it still failed. 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." I am using 789mb.com, and it doesn't support .htaccess file upload. Any free web host that support .htaccess file upload? I need FREE host only please. :( I am just a student and I need to set up a shopping site to earn some pocket money. :blush: I don't know about PHP either. Best regards.
dropdeadred Posted May 22, 2007 Posted May 22, 2007 Your server has register_globals set to off, so OSC won't install properly. You can set OSC (by editing certain files) to not check for that, but it's not exactly the best route. I doubt you'll get a free host with as much freedom as you want.
bored_life_forever Posted May 22, 2007 Author Posted May 22, 2007 Hi dropdeadred, thanks for replying. May I know how do I set OSC (by editing certain files) to not check for that? Sorry but I don't know much about all these. :blush:
oschellas Posted May 22, 2007 Posted May 22, 2007 You could try the register globals contribution (v1.5).
satish Posted May 22, 2007 Posted May 22, 2007 register globals can be set on thru php.ini or thru htaccess file. If permissions not allowed then apply vger contrib for reg globals patch. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
bored_life_forever Posted May 22, 2007 Author Posted May 22, 2007 Well, thanks for oschellas and satish replying. My current problem is, I couldn't upload .htaccess file to my current web hoster (789mb.com). How do I fix this problem? Find new host? Or edit something? I need FREE host only, please. :blush: I am sorry because I really don't know any programming at all.
dropdeadred Posted May 22, 2007 Posted May 22, 2007 Search up this line and wherever you find it, change from: // check if register_globals is enabled. // since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized. if (function_exists('ini_get')) { ini_get('register_globals') or exit('FATAL ERROR: register_globals is disabled in php.ini, please enable it!'); } to // check if register_globals is enabled. // since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized. // if (function_exists('ini_get')) { // ini_get('register_globals') or exit('FATAL ERROR: register_globals is disabled in php.ini, please enable it!'); // }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.