Guest Posted April 25, 2006 Posted April 25, 2006 Hy Guys, I really hope that someone can help me out here... I have uploaded all the installfiles to my hosting (with support MySQL and PHP) and followed the directions in the quick start: Open your web browser and go to http://yourserver/catalog/install/ and click on the Install button. Instead of starting the installation, I only get the message: FATAL ERROR: register_globals is disabled in php.ini, please enable it! I have been looking in my hosting for a file named php.ini, but couldn't find one... Terrible... I'm not a programmer and was hoping to find some software that was kinda "ready-to-use". I can work with PHPadmin, FTP, SQL and stuff... But please don't tell me to change anything in the PHP-code, because that would make me scream! ;-) Someone a solution?
kgt Posted April 25, 2006 Posted April 25, 2006 http://www.oscommerce.com/community/contributions,2097 Contributions Discount Coupon Codes Donations
yenju Posted April 30, 2006 Posted April 30, 2006 Hi everybody, thanks for your help, I got this contributions, http://www.oscommerce.com/community/contributions,2097 but I still cannot make it work, In fact, I am going to do a clean copy of os commerce. It said, I need to change the setting of register_global to false in php.ini, but I really don't know how to find that file?? So far, I still cannot install os commerce in my site. Gosh, I am so confused now. Can anybody tell me what is going on? I will be very appreciated. Thank you so much. Yen
Melchett Posted April 30, 2006 Posted April 30, 2006 Are there any safe templates that don't cause a problem with this?
Stin Posted April 30, 2006 Posted April 30, 2006 so i use EasyPHP 1.8 you have to go in program file.....EasyPHP ....folder... conf_files .....php.ini (40kb) ....so !!!!!!! you have to set " ; - register_globals = Off" BUT IS NOT AT THE BEGINING OF THE PAGE IS IN HALF OF THE PAGE ITS HERE ;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; ; ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3 ; The separator used in PHP generated URLs to separate arguments. ; Default is "&". ;arg_separator.output = "&" ; List of separator(s) used by PHP to parse input URLs into variables. ; Default is "&". ; NOTE: Every character in this directive is considered as separator! ;arg_separator.input = ";&" ; This directive describes the order in which PHP registers GET, POST, Cookie, ; Environment and Built-in variables (G, P, C, E & S respectively, often ; referred to as EGPCS or GPC). Registration is done from left to right, newer ; values override older values. variables_order = "GPCS" ; Whether or not to register the EGPCS variables as global variables. You may ; want to turn this off if you don't want to clutter your scripts' global scope ; with user data. This makes most sense when coupled with track_vars - in which ; case you can access all of the GPC variables through the $HTTP_*_VARS[], ; variables. ; ; You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought of. register_globals = Off HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! YOU HAVE TU PUT ON
yenju Posted May 1, 2006 Posted May 1, 2006 Hi Stin, Thanks so much of your help, my problem is solved. And I think it works properly now. By the way, do you know what is wrong with this one, it shows, Warning: I am able to write to the configuration file: /home/content/j/o/a/joannchang/html/osc/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Do you know how can I get rid of this warning? Thanks again. Yen
compwhizmm90 Posted May 1, 2006 Posted May 1, 2006 Hi Stin, Thanks so much of your help, my problem is solved. And I think it works properly now. By the way, do you know what is wrong with this one, it shows, Warning: I am able to write to the configuration file: /home/content/j/o/a/joannchang/html/osc/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Do you know how can I get rid of this warning? Thanks again. Yen You need to change the permissions of the configuration.php file in the includes folder. Any good ftp program should let you do it. In my ftp program (smartftp) I right click the file and click "chmod" then I changed the numbers to 444 or just uncheck all of the boxes for "write"
memo06dic Posted May 23, 2006 Posted May 23, 2006 I'm having the same problem, only that I'm working with OS X, where can I find the php.ini? please help
Recommended Posts
Archived
This topic is now archived and is closed to further replies.