Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

register_globals & PHP5


ciapistess

Recommended Posts

Could you please confirm that register_globals can be turned off when using osCommerce 2.2 RC2+ and PHP5?

I deduce this from source code, but I can't find it explained anywhere.

 

Thank you.

Andrea.

More like RC2 does not require reg globals to be on.

Link to comment
Share on other sites

In answer to the original question - yes, you can run PHP 5 with Register Globals 'On' in php.ini

 

Vger

You intended to write 'off' I hope. :-)

 

Register Globals 'On' is the usual constraing and limitation od osC.

The need is infact to turn it 'off'. This turns into a critical need with PHP6, where 'on' will not be supported at all.

Link to comment
Share on other sites

  • 2 weeks later...

Very important to have final confirmation on this question.. !

 

Can anyone confirm that you can indeed switch register_globals to 'OFF' in Online Merchant 2.2 RC 2a ? (mandatory for compatibility when PHP 6 arrives)

 

Many thanks.

Link to comment
Share on other sites

Very important to have final confirmation on this question.. !

 

Can anyone confirm that you can indeed switch register_globals to 'OFF' in Online Merchant 2.2 RC 2a ? (mandatory for compatibility when PHP 6 arrives)

 

Many thanks.

I thought I did, but here goes, Online Merchant 2.2 RC 2a works with register_globals to 'OFF'

Link to comment
Share on other sites

  • 2 months later...

Hi there,

 

this topic says that register_globals OFF is supported and in another place it says PHP 5 is supported.

My question:

Is the following combination valid?

PHP 5 + Online Merchant 2.2 RC 2a + register_globals OFF

 

Thanks,

 

Markus

Link to comment
Share on other sites

hi all...

 

Recently, an install I did for an ecommerce site has broken due to register_globals being off. As the site is hosted on a server where I do not have access to php.ini, I'm in a bit of a pickle.

 

Going to the catalog produces this:

 

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

 

I suppose that updating the site to the latest RC will fix this, but it's always better to ask.

 

Here's to hoping that the db (with over 3000 items) will not be compromised or lost.

 

Also, when doing the update, do I need to backup/rename/hide the original configs, etc? I intend to do so anyway, but if you don't ask, you don't know.

 

The only stupid question is the one not asked!

 

Dave Cook

Redneck Central Web Designs

Just another Hi-Tech Redneck,

Dave Cook

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...