Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in 'Apache' admin from XAMPP control panel and OS Install


Becki

Recommended Posts

hi,

 

XAMPP control panel says apache, mysql and FileZilla are all working fine - I had clicked on Admin next to apache and it had opened all OK. I copied the 'Catalog' files into C:\Program Files\xampp\htdocs. I then tried opening http://localhost/catalog/install in my browser and the following error message comes up:

 

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.

 

It also now happens once I try to get into apache admin.

 

I found the php.ini file and changed register_globals = Off to register_globals = On but still the same problem. The php.ini file was in C:\Program Files\xampp\php folder - is this the right one. It also said in there that turning register_globals to ON was a bad idea security wise.

 

Please advise.

 

thankyou

Link to comment
Share on other sites

Check c:/Windows/php.ini

 

It's not a security risk on a local installation, provided you have a firewall on your computer. You shouldn't use a computer without a firewall these days anyway.

 

Vger

Link to comment
Share on other sites

Hi,

 

There isn't a c:\windows\php.ini on my computer. I find a few but all in the xampp directorey, some called php.ini-recommended. Should I just change them all?

 

Is there an explanation of why it did work before I copied the catalog files to the htdoc folder. It did overwirte one file called index when i did it.(if this makes any difference)

 

Thanks

Link to comment
Share on other sites

Did you stop/start the server after making the change so it would take effect?

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Link to comment
Share on other sites

Just do a search for all files called php.ini and edit all of them. That will cure the Register Globals problem.

 

Sometimes you end up with between 2 and 4 php.ini files, a nuisance.

 

Vger

Link to comment
Share on other sites

OK, changed them all and after starting XAMPP up a couple of times I now press the admin button and go to the Installation screen :) for oscommerce. Great.

 

Although I now do not know how to get to phpmyadmin to create a database?! I can't see any suitable opening files in the directory. Is the admin button on apache control panel supposed to take me to http://localhost/install/index.php?!

 

THANKS

 

Is there anything else i am supposed to change etc before installation, i read somewhere about file permissions being changed?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...