lmburrows Posted August 20, 2011 Posted August 20, 2011 I am a newbie to OSCommerce and even newer to php. Sorry if this is answered somewhere in these forums, I've been trying to find it but cannot. I have gotten my store installed, then went back and changed my includes/configure.php and admin/includes configure.php permissions to 644. These permissions appear on my FTP site listing. Yet, when I login to the administration page I get the following message. (I've xx'd the identification, but otherwise the message is complete). "I am able to write to the configuration file: //home/xx/xx/xxxxx/web/xxx.com/includes/configure.php. This is a potential security risk - please set the right user permissions on this file." What am I missing?
Guest Posted August 20, 2011 Posted August 20, 2011 Lynette, The TWO configure.php files need to be write protected. Using your FTP client or hosting account file manager, located the two files at: /includes/configure.php /admin/includes/configure.php and change the permissions to 444 Chris
germ Posted August 20, 2011 Posted August 20, 2011 Lynette, The TWO configure.php files need to be write protected. Using your FTP client or hosting account file manager, located the two files at: /includes/configure.php /admin/includes/configure.php and change the permissions to 444 Chris Lynette, Read it like that and you have a better chance of success. FTP doesn't work to do this most of the time. Germ If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted August 20, 2011 Posted August 20, 2011 Lynette,Read it like that and you have a better chance of success.FTP doesn't work to do this most of the time.Germ The only time I have ever had a problem is on a Plesk Panel site. So, MOST of the time the FTP client will work. But you are right in saying that the hosting control panel will always work. Chris
germ Posted August 20, 2011 Posted August 20, 2011 The only time I have ever had a problem is on a Plesk Panel site. So, MOST of the time the FTP client will work. But you are right in saying that the hosting control panel will always work. Chris The forum has hundreds (if not thousands) of posts from people who have said FTP won't work at successfully changing the permissions on the config files. Obviously your experience has been more successful than most. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lmburrows Posted August 20, 2011 Author Posted August 20, 2011 The forum has hundreds (if not thousands) of posts from people who have said FTP won't work at successfully changing the permissions on the config files. Obviously your experience has been more successful than most. Thank you all for your help. I was able to get it to work from my FTP. Whew! What problems being code fatigued can cause!! I could not see my mistake. Thank you for being clearer heads!
germ Posted August 20, 2011 Posted August 20, 2011 Chris's luck must have rubbed off on you. :lol: I'll post it for you Chris: @germ :P If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.