Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Server Requirement Error: Mesage - what it means?


sergetaran

Recommended Posts

Posted

My site was workning for more than a year and suddenly I have this error:

 

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.

 

Would someone please suggest what to check or fix.

 

Admin's access is disabled as well.

 

Thank you, collegues!

 

www.FreeBible.us

Posted
My site was workning for more than a year and suddenly I have this error:

 

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.

 

Would someone please suggest what to check or fix.

 

Admin's access is disabled as well.

 

Thank you, collegues!

 

www.FreeBible.us

 

Your host may have turned off the register_globals

 

try this

 

Open your .htaccess file (the one in your root directory)

 

inside that file put

 

php_flag_register_globals = On

 

Save the file and try again

 

This can work, though your host may have it configured to not work knowing that people can do this.

My Contributions

 

Henry Smith

Posted

Like this:

 

# $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

 

php_flag_register_globals = 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>

 

 

Thank you for your help!

 

ST

Posted
Like this:

 

# $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

 

php_flag_register_globals = 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>

Thank you for your help!

 

ST

 

Actually it looks like your file already an entry that may work. If what I gave you doesn't work try uncommenting

 

#<IfModule mod_php4.c>

# php_value session.use_trans_sid 0

# php_value register_globals 1

#</IfModule>

 

to look like

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

My Contributions

 

Henry Smith

Posted

[this is what I have right now:

 

Does not work, the same error.

 

=======

 

File Type: ASCII English text

 

--------------------------------------------------------------------------------

 

# $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:

#

#

# AllowOverride Options

#

#

# '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

 

 

 

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

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

 

 

 

# 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)

 

 

php_value session.use_trans_sid 0

php_value register_globals 1

Posted

You have to keep the whole thing

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

 

 

DO NOT remove the IfModule's

 

And if that doesn't work

 

re-comment it and try the

 

php_flag_register_globals = On

 

Or did you already?

My Contributions

 

Henry Smith

  • 2 years later...
Posted
My site was workning for more than a year and suddenly I have this error:

 

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.

 

Would someone please suggest what to check or fix.

 

Admin's access is disabled as well.

 

Thank you, collegues!

 

www.FreeBible.us

 

Well I had same problem with my 2 year old site, but it was only in the admin zone. So I copied the php.ini from my catalog to admin and the problem got solved. it was already =on.

Archived

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

×
×
  • Create New...