You are not logged in.
"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
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
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