You are not logged in.

#1 2004-09-30 03:32:00

JohnCena
Member
Registered: 2004-09-30
Posts: 1

"FATAL ERROR: register_globals is disabled..."

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

---

Hi!

I'am trying to install oscommerce under Mac OS X 10.3.5 but I recieve this error message above. I have edited my .htaccess file but I still get this message. I have restarted web sharing without any results.

My .htaccess file looks like this...

<IfModule mod_php4.c<
#  php_value session.use_trans_sid 0
   php_value register_globals 1
</IfModule<

Anyone got some ideas what could be wrong?

TIA
Best Regards
JohnCena

Offline

 

#2 2004-10-09 12:43:23

Justin
Site Admin
Registered: 2003-06-01
Posts: 33
Website

Re: "FATAL ERROR: register_globals is disabled..."

It sounds like Apache  is not allowing your .htaccess file to override Apache's defaults. Have you performed the steps outlined in our Useful Apache Tweaks article?

Alternatively, you can install an osCommerce contribution that removes the need to have register_globals enabled.

It's also worth noting that the third milestone release of osCommerce 2.2 will remove the need to have register_globals enabled. Unfortunately, no release date for MS3 has been announced.

Hope this helps!

Offline

 

#3 2004-10-09 15:01:03

SantaFe
Member
From: Santa Fe, NM
Registered: 2004-10-09
Posts: 10
Website

Re: "FATAL ERROR: register_globals is disabled..."

Hi All,

I'm a newbie, too, but I have been told that you need to restart your Personal Web Server (Apache) in order for it to recognize the new config file. To do this, open System Preferences> Sharing. Click the Stop button and count to 10. Then click the (now) Start button. That should do it.

Good luck,
Randall

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson