Hostmonster Forums  

Go Back   Hostmonster Forums > Hostmonster Related Help > Advanced Scripting, Fantastico, and Coding help!

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2008, 12:09 PM
lauravin lauravin is offline
Junior Member
 
Join Date: Dec 2007
Posts: 2
Exclamation OS Commerce Installation Problems

I load it onto the site and whenever I try to go to the page it says 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."

How am I supposed to fix that!!??
Help anyone! Please!
Reply With Quote
  #2  
Old 01-06-2008, 06:06 PM
linFox linFox is offline
Senior Member
 
Join Date: Oct 2006
Location: Australia
Posts: 299
Default

As it says, you need to enable register_global in your php.ini file.

Your php.ini should be in public_html. Once you've found it, open it up and find the line: register_globals=Off and turn it on (register_globals=On).
Then, if you have FastCGI turned on (through cPanel), just save the file and that's it. If FastCGI is off, you'll need to copy the altered php.ini into every directory with php files that you want affected.

You should be aware that register_globals is a large security risk, but since this is osCommerce, I don't think there's much that can be done.
__________________
linFox Domain
http://www.linfoxdomain.com/
Reply With Quote
  #3  
Old 01-06-2008, 09:00 PM
Hot DesignZ's Avatar
Hot DesignZ Hot DesignZ is offline
Senior Member
 
Join Date: Nov 2006
Location: Detroit,MI USA
Posts: 196
Default

Register Globals fix for osCommerce
__________________
Web Design

Try Ubuntu
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.