Click to See Complete Forum and Search --> : php.ini -- Problem of Getting a File to Open


tda_digital
08-26-2004, 02:26 AM
I have loaded the catalog of oscommerce-2.2ms2 into my Brinkster server account and when I attempt to call up one of the php files from oscommerce-2.2ms2 directory, I receive an error message of:

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

When talking with Brinkster Support they inform me that they have the php.ini file turned off, and say that I have to use a work-around solution to resolve this issue on a file-by-file bases.

OK, I can do that but could anyone help me get started by telling what-to-do-to-what file and the code I’ll need for this work around to insert into my files.

Basically, I’m lost, that’s the best way to phrase it, any and all help would be deeply appreciated.

Regards,
Tom

shimon
08-26-2004, 08:00 AM
I hate to be harsh, but if some software package requires register_globals to be on, then I wouldn't allow it anywhere near my webspace, as it's clearly a piece of amateurish cack.

Surely there's a few better coded packages out there for you to choose from? Hopefully someone will have some suggestions :)

solavar
08-26-2004, 08:54 AM
Originally posted by shimon
I hate to be harsh, but if some software package requires register_globals to be on, then I wouldn't allow it anywhere near my webspace, as it's clearly a piece of amateurish cack.

Surely there's a few better coded packages out there for you to choose from? Hopefully someone will have some suggestions :)

I entirely agree!

A friend of mine asked me to set up an ecommerce site for him, last week. After a preliminary search, I concluded that OsCommerce would be a good bet.

Until this post, I had no idea that OsCommerce is designed to run on systems that require register-globals='on'.

What a terrible security risk!

Of course, I've thrown it out of the window and will be looking for something relatively more secure.

Well, if you don't mind the potential security breaches, and would like to set register-globals='on', although your webhost has wisely switched it off, I believe you can do so by placing a .htaccess file in the installation folder of OsCommerce.

Sorry, can't be more specific. I'd rather you joined me in searching for a more secure solution.

tda_digital
08-26-2004, 12:32 PM
Guys,

I had no idea what I was going to get myself into !!!!

I’ve done some additional checking around and have really come up to some realizations concerning the “register-globals='on'” .

With this being the case I agree it’s time to find another package and should one exist, I’ll get back with you via the boards, here and would appreciate the same from you.

An additional matter to think about is what are you guys feelings towards the following hosting concern:

http://www.canaca.com/

For me they seem to favor PHP users and since I’m just starting out in this field of php, I felt they looked pretty good.

Guys, Thank You to both of you for your uncandid opinions and directness.

Regards,
Tom
[B]

solavar
08-26-2004, 01:00 PM
Hi tda_digital,

I have downloaded and installed ZenCart.

It's based on OsCommerce, but unlike OsCommerce, it runs with register-globals="off".

And like OsCommerce, it is OpenSource.

Looks great!
http://www.zencart.com

tda_digital
08-26-2004, 03:53 PM
Solavar,

Thanks Much, I'll give it a try and hopefully things will go much smoother than with Oscommerce-2.2ms2.

One thing that I have noticed is I’m a member of 4 different “Bidding Boards” and many of the users are having a great deal of problems using the software and are always requesting programming assistance.

I understand that its an open source program still and there’s bound to be some speed bumps along the way, but either there’s some structural problems or perhaps it’s just to new for users to adapt to.

Solavar, again, thanks for your input and and suggestion concerning http://www.zencart.com

Hope I can return the favors to you guys in the future.

Regards,
Tom