merronvigian Posted February 9, 2007 Posted February 9, 2007 i uploaded all the files of the oscommerce to my server, using the prefered mode, but when i am typing the www.mydomain.com/install link the following msg appears : FATAL ERROR: register_globals is disabled in php.ini, please enable it! i don't know what to do, and i don't know what the php.ini is, and how do i enable the register needed. the same thing appears at my frontpage too. www.i-shop.gr please someone help me!!! thank you all for your time
crash3903 Posted February 9, 2007 Posted February 9, 2007 you need to change this value in your php.ini file If you are on a shared server and you are unable to access the php.ini file try this Regards Mark A Reynolds
merronvigian Posted February 9, 2007 Author Posted February 9, 2007 where is this php.ini located i cannot find it anywhere thank you
crash3903 Posted February 9, 2007 Posted February 9, 2007 where is this php.ini located i cannot find it anywhere thank you you don't have access to it then what you can do is to create one (Although the patch mentioned above is advised) do the following 1. Create a file called php.txt in your root folder 2. Download the file, delete all code created when file was added and add the following in the file register_globals = on; 3. Save and upload 4. Rename to php.ini Try your site If you get stuck try this Regards Mark A Reynolds
kabraham Posted February 10, 2007 Posted February 10, 2007 Hi I am having the same problem, and couldn't find the php.ini file, so tried following the suggestions 1. "patch mentioned above" gives 404 error on the linking....so... 2. I created php.txt, and put line register_globals = on as the only text in the file, uploaded the file and renamed to php.ini in the 'catalog' folder Result? FATAL ERROR: register_globals is disabled in php.ini, please enable it! :( Any help appreciated thanks you don't have access to it then what you can do is to create one (Although the patch mentioned above is advised) do the following 1. Create a file called php.txt in your root folder 2. Download the file, delete all code created when file was added and add the following in the file register_globals = on; 3. Save and upload 4. Rename to php.ini Try your site If you get stuck try this
crash3903 Posted February 10, 2007 Posted February 10, 2007 HiI am having the same problem, and couldn't find the php.ini file, so tried following the suggestions 1. "patch mentioned above" gives 404 error on the linking....so... 2. I created php.txt, and put line register_globals = on as the only text in the file, uploaded the file and renamed to php.ini in the 'catalog' folder Result? FATAL ERROR: register_globals is disabled in php.ini, please enable it! :( Any help appreciated thanks change this register_globals = on to this register_globals = on; hth Regards Mark A Reynolds
kabraham Posted February 10, 2007 Posted February 10, 2007 change thisto this hth Thanks Mark I checked the php.ini uploaded files (which Ive put into the catalog, install, and admin folders,which I read to do elsewhere on another post re "register_globals",) and find that the semi colon is in place, ie the one and only entry in the file is: register_globals = on; It occurs to me, although none mention it, that I may need to put the line between <?php and ?> so that the server gets a hint aboout the language being used. Is that the case?. And should there be anything else Im afraid that my experience is limited to html, and a little javascript, all in dreamweaver, so I may be ignorant of fundamental script requirements which the properly taught take for granted. cheers kevin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.