vilz Posted March 8, 2007 Posted March 8, 2007 When i tried to install the program, i was told "FATAL ERROR: register_globals is disabled in php.ini, please enable it!". You can see the message on http://www.myowt.com/catalog/install/... I am using the Linux Operating system with Apache Version 1.3.37 (Unix), PHP version 4.4.2. I figured that I am using shared server, so that modification of php.ini is impossible. I don't have access to the file. So I followed the advice by Vger on http://www.oscommerce.com/forums/index.php?sho...egister_globals to "1. You can create a file called php.ini and put this inside the file: Register Globals = On 2. You then put this file in the catalog folder (if you use one), and again inside the admin folder, and yet again inside the install folder." this didn't work. so i tried installing Register Globals V 1.5 contributions found at http://www.oscommerce.com/community/contri...r+Globals+V+1.5 but the same problem persists. I am really running out of sorts. Please help!
Guest Posted March 8, 2007 Posted March 8, 2007 I am having the same problems. Can someone help us fix this???? It is driving me crazy!! I have just got a merchant account and need to swap over to osCommerce because it has the gateway I need, otherwise I wouldn't bother. I have heard a lot of bad press about this cart.
Guest Posted March 8, 2007 Posted March 8, 2007 ...so i tried installing Register Globals V 1.5 contributions found at http://www.oscommerce.com/community/contri...r+Globals+V+1.5 but the same problem persists. If you have applied the register globals patch and you still have a problem then you have applied it incorrectly and/or you have screwed up the OSC installation. The patch works. Honest :-) Rich.
vilz Posted March 8, 2007 Author Posted March 8, 2007 If you have applied the register globals patch and you still have a problem then you have applied it incorrectly and/or you have screwed up the OSC installation. The patch works. Honest :-) Rich. i used the patch_files in the register globals patch...what i did was that i copied the files in the patch_files (i hope i understood the instructions correctly) into the corresponding locations in the oscommerce 2.2 catalog folder write them over. did i do something wrong? =XX help i don't know how to install the patch otherwise...
glamourfish Posted March 8, 2007 Posted March 8, 2007 MAybe try this: To rectify this, please modify the .htaccess file in your public_html directory, adding the line: php_flag register_globals on if at first you do succeed...try not to look surprised!
vilz Posted March 9, 2007 Author Posted March 9, 2007 MAybe try this: To rectify this, please modify the .htaccess file in your public_html directory, adding the line: php_flag register_globals on ok i've tried ALL THAT I CAN....the patch register_globals v 1.5 JUST DOESN'T WORK FOR ME!!!!! i did this like 10 times through checking through eth INCLUDING the permissions but NOTHING WORKS ='( i tried adding the "php_flag register_globals on" on one occasion but it causes fatal error. i can't believe i spent 2 whole days cracking my head like this. is there any kind soul who is an expert in this and who would install this for me? if not i'm just going to give up on this altogether. =(
Guest Posted March 11, 2007 Posted March 11, 2007 ok i've tried ALL THAT I CAN....the patch register_globals v 1.5 JUST DOESN'T WORK FOR ME!!!!! i did this like 10 times through checking through eth INCLUDING the permissions but NOTHING WORKS ='( i tried adding the "php_flag register_globals on" on one occasion but it causes fatal error. i can't believe i spent 2 whole days cracking my head like this. is there any kind soul who is an expert in this and who would install this for me? if not i'm just going to give up on this altogether. =( I have fixed it on mine, vilz. Make a txt file with notepad and add this to it...register_globals = On Upload it to your root directory of your catalog and to the admin directory and rename it php.ini. That should fix the problem, it did for me.
carlwenrich Posted March 11, 2007 Posted March 11, 2007 I finally got this to work by setting register_globals to On (instead of Off) in the php.ini file, and then rebooting my machine.
tkasis Posted March 20, 2007 Posted March 20, 2007 I finally got this to work by setting register_globals to On (instead of Off) in the php.ini file, and then rebooting my machine. I was going through all the same problems and found that I could not use .htaccess for PHP directives on my hosting service. So this is what I did to make it work. I created a php.ini with only one line php_flag register_globals on I saved the file in both my catalog (in my case the osc) and osc/admin directories and it worked. Make sure when creating the file that you save it in a "Unicode - ASCII Escaped" format instead of the any of the utfs or DOS as the Apache server won't understand it otherwise. Alternately you could clean up the line returns in your ftp client's editor. I guess just using UNIX Terminators in the text editor would make it work okay also. Hope this helps someone. Tom
tkasis Posted March 20, 2007 Posted March 20, 2007 Sorry! The line in the php.ini will be register_globals = On Remember the UNIX line terminators.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.