Historian Posted May 21, 2007 Posted May 21, 2007 When I loaded template (6057) to try out locally, I received the following error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! Changing the main php.ini file to register_globals = On had no affect at all. After ploughing through a vast number of previous postings on the forum, I found a solution! Enter the following line in the .htaccess file: php_flag register_globals on That worked fine, but I now have another problem. I expected to get a Shop coming straight up, but I get two choices: 1. Install a new online store 2. Upgrade from the Exchange Project 2.1 My question is: If I click on "Install a new online store", will it affect any other stores on my computer? (I am running PHP 5) As a subsidiary question can anyone tell me what the php.ini file does, if changing options has no affect? Can anyone help please?
oschellas Posted May 21, 2007 Posted May 21, 2007 1. If you use another install path and database the new install will not affect you existing stores. 2. Did you make the changes in the right php.ini file and did you restart the webserver (apache/iss) afterwards? Oscommerce has some known issues with php5 which could popup later, if possible run it with php4 otherwise you probably have to search and install other fixes ass well.
Historian Posted May 21, 2007 Author Posted May 21, 2007 1. If you use another install path and database the new install will not affect you existing stores.2. Did you make the changes in the right php.ini file and did you restart the webserver (apache/iss) afterwards? Oscommerce has some known issues with php5 which could popup later, if possible run it with php4 otherwise you probably have to search and install other fixes ass well. I am running WAMP (which loads Apache, PHP & MySQL all in one) and I only appear to have one php.ini file on the computer. However, I didn't restart Apache after changing the file. I didn't know I had to - I thought if I changed the file, saved it and ran the PHP file then it would change! Thank you for that. I installed the new store and I manged to get it to load after "fiddling" with the two configure.php files. There are still some problems with it. These are probably due to the PHP5 problem. At least I could see what the store looked like! I had no problem when I installed the osCommerce program about 2 weeks ago, but that has probably been updated to cope with PHP5 while the older template hasn't?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.