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

Posted

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

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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?

Posted

You should be okay with file prmissions on a local install.

 

To access phpmyadmin just go to http://localhost/phpmyadmin, but on a local install you have 'root access' so you may not need to create a blank database before beginning the install - the install will probably be able to do it for you.

 

Vger

Archived

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

×
×
  • Create New...