Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error and PHP.ini File


soregonmale

Recommended Posts

Posted

2 Questions here, a apologies ahead of time if this question has already been answered, but I'm a newbie here, so be gentle with me. :D

 

1 - I keep getting this error at my admin page, and my main page: www.here2connect.com

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.

 

2 - I keep seeing posts about the PHP.ini file... where the heck is the dang file located!?!?!

 

I checked my .htaccess files on both of those pages, and the register_globals is set to "1" so I don't understand the error code.

 

Thanks in advance for the assistance!!

Posted
nope... didn't help

 

It may be possible to turn register_globals on either by simply asking your webhost to do so or by setting it to ON via php.ini. It depends on your webhost- for instance mine will allow me to toggle register_globals on/off but only via the .htaccess file.

 

Speak to your webhost about this issue and see if it's possible to turn register_globals on.

 

If not there is a patch available in the contributions area that will allow osCommerce to still work. If this is the way you end up having to go, be aware that many contributions are out there that don't work with register_globals set to off, so it will be a constant headache for you in the future. Good luck!

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Posted

I don't mean to sound rude... but as I stated in my original post... .htaccess files on both of those pages, and the register_globals is set to "1". That means it's set to "on".

 

I'll post what the .htaccess file says... that way if I'm missing something, maybe someone will recognize it.

Posted

Okay... here's what the .htaccess file in the root directory looks like...

 

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

#

 

 

This is what the .htaccess file in the admin directory looks like:

 

# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 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

#

 

AuthType Basic

 

AuthName "OS Commerce Administration"

 

AuthUserFile "/home/here2c5/.htpasswds/admin/passwd"

 

 

require valid-user

 

 

 

So anyway... anyone have any other ideas of what could be causing this not to work?

Posted
Okay... here's what the .htaccess file in the root directory looks like...

 

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

#

This is what the .htaccess file in the admin directory looks like:

 

# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 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

#

 

AuthType Basic

 

AuthName "OS Commerce Administration"

 

AuthUserFile "/home/here2c5/.htpasswds/admin/passwd"

require valid-user

So anyway... anyone have any other ideas of what could be causing this not to work?

 

Remove the comment as in the example above in red

Regards

 

Mark A Reynolds

Posted

This is getting crazy... sorry crash... that didn't work either... still giving me the same damn error!!!

 

I've been trying to get this oscommerce going for 5 days straight now... and this is all I can do with it. I'm just a little frustrated, so if I come across rough... please don't take it personally.

 

I'm just about ready to throw in the towel.

Posted

Thanks Crash for your extra effort in resolving this nutty issue!!! :thumbsup:

 

I really appreciate it!!!! :D

Posted
This is getting crazy... sorry crash... that didn't work either... still giving me the same damn error!!!

 

I've been trying to get this oscommerce going for 5 days straight now... and this is all I can do with it. I'm just a little frustrated, so if I come across rough... please don't take it personally.

 

I'm just about ready to throw in the towel.

 

How about

php_flag register_globals on

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Archived

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

×
×
  • Create New...