[thelist] os commerce instal

Andrew Maynes andrew at humanbehaviour.co.uk
Thu Nov 7 03:53:01 CST 2002


Hi Rich

Funny I was just writing a mail about this.  What are the reasons for not have
globals on?

Either way turning on the globals is the way forward.  I have had this before
with a hosting company I wont mention and they were really snotty about changing
the .ini  ok so the server needs to be restarted but is that a big deal....

Anyway at least I know why it install :(

If anyone does have the hack available to get over this then that would be
appreciated, but I doubt anyone has used this method?

Andrew



-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Rich Gray
Sent: Thursday, November 07, 2002 09:29
To: thelist at lists.evolt.org
Subject: RE: [thelist] os commerce instal


Andrew

Yep, as I mentioned in my earlier message register_globals needs to be 'On'
in your php.ini file - it also needs to be on for the earlier version as
well but it doesn't warn you about it being off it just falls over in
various places...

If you can't switch on globals in your php.ini and you're not worried about
the security implications then you could add in a workaround hack such as
...

extract($_SERVER);
extract($_POST);
extract($_COOKIE);
etc etc

At the top of application_top.php which should create the named vars in the
global namespace. However, if you have multi-dimensional arrays or you want
security tight then you will need to roll your own function...

I would hope that when v2.2 is released it will support register_globals
being Off

Cheers
Rich
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Andrew Maynes
Sent: 07 November 2002 08:36
To: thelist at lists.evolt.org
Subject: RE: [thelist] os commerce instal


Hi Rich

Installed 2.2 last night and if it aint raing its pouring!

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

So looks like I have a problem with the server too!

By all accounts Oscommerce 2.2 is the way forward so anyone thinking of
using
Oscommerce I would suggest going for 2.2

Andrew

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002




More information about the thelist mailing list