Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do you enable register_globals in php.ini?


tooheymomster

Recommended Posts

Posted

Hello,

any advice would be greatly appreciated. I am trying to set up a store and when i go to www.domainname.com/catalog/install/install.php it says:

 

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

 

 

this is what my .htaccess file says:

what could be going wrong? i followed everything to the "T". any help with this would be so greatly appreciated. thanks.

and if you could email me the answer i would get the answer faster. [email protected]

 

 

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

any help would seriously be appreciated. i dont know what i am doing really, but im sure that once i get to get the install page to not have errors, i will get by just fine.

 

 

 

Hello,

any advice would be greatly appreciated. I am trying to set up a store and when i go to www.domainname.com/catalog/install/install.php it says:

 

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

this is what my .htaccess file says:

what could be going wrong? i followed everything to the "T". any help with this would be so greatly appreciated. thanks.

and if you could email me the answer i would get the answer faster. [email protected]

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

Change this line to

 

# php_value register_globals 1

 

To this

 

php_value register_globals 1

 

See if that works

 

Regards

Regards

 

Mark A Reynolds

Posted

i changed it exactly and now im getting this:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

maybe you can see what is going on with with an actual domain to look at: My site

 

 

 

Change this line to

To this

See if that works

 

Regards

Posted
i changed it exactly and now im getting this:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

maybe you can see what is going on with with an actual domain to look at: My site

 

Ok put that line back and install the register_globals patch from the contributions section

 

It should be done b4 you install any contributions

 

Regards

Regards

 

Mark A Reynolds

Archived

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

×
×
  • Create New...