Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Installation


jasonbauer

Recommended Posts

Posted

I have had a similar issue. Something to do with the wrong php version

Posted
Has anyone had any similar problems?

 

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.

My Contributions

 

Henry Smith

Posted
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 really confused by this. I cculdn't find my php.ini configuration file, so I contacted my host and this is the response I got:

 

"Registered globals is a severwide setting, meaning it would have to

be enabled for the whole server and its just too much of a security

hole to turn this option on.This is why php releases their source

with this disabled.

 

If you were to go to a dedicated server you could run it anyway you

see fit and turn this option on if you choose even though its not

reccomended. You can contact our Sales Staff at [email protected]

or give them a call they will help you with dedicated server info. "

 

I checked my .htaccess file and it contains the following, what do i need to do, can i make this work with my current host?

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

 

# If Search Engine Friendly URLs do not work, try enabling the

# following Apache configuration parameter

#

# AcceptPathInfo On

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

#

#<IfModule mod_php4.c>

# php_value session.use_trans_sid 0

# php_value register_globals 1

#</IfModule>

Posted
I am really confused by this. I cculdn't find my php.ini configuration file, so I contacted my host and this is the response I got:

 

"Registered globals is a severwide setting, meaning it would have to

be enabled for the whole server and its just too much of a security

hole to turn this option on.This is why php releases their source

with this disabled.

 

If you were to go to a dedicated server you could run it anyway you

see fit and turn this option on if you choose even though its not

reccomended. You can contact our Sales Staff at [email protected]

or give them a call they will help you with dedicated server info. "

 

I checked my .htaccess file and it contains the following, what do i need to do, can i make this work with my current host?

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

 

# If Search Engine Friendly URLs do not work, try enabling the

# following Apache configuration parameter

#

# AcceptPathInfo On

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

#

#<IfModule mod_php4.c>

# php_value session.use_trans_sid 0

# php_value register_globals 1

#</IfModule>

 

 

I applied the globals patch and now it works. Thanks for the help everyone!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...