tencups Posted December 10, 2003 Share Posted December 10, 2003 FATAL ERROR: register_globals is disabled in php.ini, please enable it! I have problems installing OSC in PWS, and I encountered this error message when I tried to access http://localhost/OScommerce/catalog/index.php Please help? Link to comment Share on other sites More sharing options...
bigban Posted December 10, 2003 Share Posted December 10, 2003 edit php.ini find register_globals and enable it:)! Link to comment Share on other sites More sharing options...
tencups Posted December 10, 2003 Author Share Posted December 10, 2003 what caused the errors? Link to comment Share on other sites More sharing options...
mikrodoctor Posted December 12, 2003 Share Posted December 12, 2003 I don't seem to have the file php.ini Roger Link to comment Share on other sites More sharing options...
Drimmie Posted December 12, 2003 Share Posted December 12, 2003 I don't seem to have the file php.ini Roger php.ini can be found in C:\windows\ (or whatever your windows directory is named on your system) the line in php.ini will look like this: ; - register_globals = Off just modify it to: ; - register_globals = On :) Link to comment Share on other sites More sharing options...
mikrodoctor Posted December 13, 2003 Share Posted December 13, 2003 Thanks Drimmie, I have a new problem and that is my host dosn't want register_globals on, he says it's a security issue. There is suppose to be a work around for this using get and put statements but I don't know enough about PHP programming to do this. Drimmie or anyone else know of a work around for this, other wise I will have to find an other shopping cart. mikrodoctor Link to comment Share on other sites More sharing options...
Guest Posted December 13, 2003 Share Posted December 13, 2003 my host dosn't want register_globals on, he says it's a security issue. register_globals in itself is not a security issue - there can be security issues with badly written code. You may read up on this at php.net Matti Link to comment Share on other sites More sharing options...
mikrodoctor Posted December 13, 2003 Share Posted December 13, 2003 Doing a search of my hard drive, I still don't seem to find php.ini Any suggestions? Mikrodoctor Link to comment Share on other sites More sharing options...
OceanRanch Posted December 13, 2003 Share Posted December 13, 2003 Create a php file on the server that will run the phpinfo command. This will then give you all the settings in php as well as the Configuration File (php.ini) Path. Point your browser to the file and just run it. Contents of /catalog/phpinfo.php: <?php phpinfo(); ?> HTH Link to comment Share on other sites More sharing options...
mikrodoctor Posted December 13, 2003 Share Posted December 13, 2003 Thanks OceanRanch, I'm new to php so you would have to give me detailed instructions if you wouldn't mind. Thanks again mikrodoctor Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.