Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Register Globals Turned Off


jmdesign

Recommended Posts

Posted

Hi All,

 

I've been asked by a client of mine to setup an online shop for them and naturally chose oscommerce because I've used it before on another site and have found it easy to setup/configure (and the support is excellent :D ).

 

I have a problem though!

 

I downloaded the installation files from your website and uploaded them via ftp, setup the database etc. When i go to run the installation process i get the following message:

 

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

(url - http://fmonsys.com/catalog/install/)

 

 

I've contacted the host and received the following reply:

 

"Register Globels Issue

 

This is in place for security reasons and is now the default setting for PHP. We will not be enabling this for security reasons.

 

Here are the notes from the php configuration

 

 

; - register_globals = Off [security, Performance]

; Global variables are no longer registered for input data (POST, GET, cookies,

; environment and other server variables). Instead of using $foo, you must use

; you can use $_REQUEST["foo"] (includes any variable that arrives through the

; request, namely, POST, GET and cookie variables), or use one of the specific

; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending

; on where the input originates. Also, you can look at the

; import_request_variables() function.

; Note that register_globals is going to be depracated (i.e., turned off by

; default) in the next version of PHP, because it often leads to security bugs.

; Read http://php.net/manual/en/security.registerglobals.php for further

; information."

 

 

Is it possible to get oscommerce working with Register Globals turned off or am i wasting my time? Sorry if this has bee answered before in a previous thread.

 

On a side note I have another copy of oscommerce running on a different client's web space and have forgotten the administrator password, how do i go about resetting/finding out the admin password?

 

Any help/advice would be much appreciated.

 

Thanks in advance.

 

James

Archived

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

×
×
  • Create New...