yshop Posted November 3, 2007 Posted November 3, 2007 I keep getting this error message in top of my shop www.yshop.dk Warning: I am able to write to the configuration file: /customers/yshop.dk/yshop.dk/httpd.www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. And I followed and tried all the different settings from the knowledge base: 2. Reset the permissions on catalog/includes/configure.php to 644 (if you are still getting the warning message at the top of the page after setting this configure.php files to 644 then set the catalog/includes/configure.php file to 444 which is read only - this happens on some servers that have been updated for security reasons). what am i doing wrong, what is missing?? Please help
germ Posted November 4, 2007 Posted November 4, 2007 If you've been using an FTP program to change permissions, try using the Control Panel provided by your Webhost. Sometimes FTP won't do the trick. ;) 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 >
yshop Posted November 4, 2007 Author Posted November 4, 2007 If you've been using an FTP program to change permissions, try using the Control Panel provided by your Webhost. Sometimes FTP won't do the trick. ;) Thank you for your reply I use smartFTP, but I will try your suggestion.
germ Posted November 4, 2007 Posted November 4, 2007 I think you'll be pleasantly surprised. :) 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 >
yshop Posted November 4, 2007 Author Posted November 4, 2007 I think you'll be pleasantly surprised. :) i wrote to the support chat at one.com and they replayed instantly :rolleyes: here is a chat Transcript, maybe it will be useful to somebody else: info: Please wait for a site operator to respond. info: You are now chatting with 'Stefan' Stefan: Thank you for using One.com 24/7 Interactive Online Support. My name is Stefan. How may I assist you? you: Hi Stefan. I need to Reset the permissions on a php file, can I do that from the control panel in any way, I tried with a ftp program but it dident work Stefan: Hi there Stefan: You need to use the chmod() php script Stefan: Open the NotePad or any Texteditor Stefan: Paste this lines Stefan: <?php Stefan: chmod("/customers/domain.com/domain.com/httpd.www/test.html",0777); ?> Stefan: domain.com: is your domain name Stefan: test.html: is the path to the file or folder Stefan: 0777: you can change this to what you have to make Stefan: save it as chmod.php Stefan: upload to the webspace root Stefan: type in webbrowser www.domain.com/chmod.php you: Okey, I will try the above, there the Stefan: ok you: the file i need to change is www.yshop.dk/catalog/includes/configure.php I need to reset it to 644 Stefan: /customers/yshop.dk/yshop.dk/httpd.www/catalog/includes/configure.php" Stefan: paste this in that script you: Oh you lost me, I quite new to this type of programming Stefan: <?php Stefan: chmod("/customers/yshop.dk/yshop.dk/httpd.www/catalog/includes/configure.php",0644); ?> Stefan: that should be in the script you: not sure what to do Stefan: Oh God Stefan: may I have the password of your control panel Stefan: I will do it for you you: xxxxxxxxxx Stefan: there is no catalog folder as you told me :P you: Sorry its the includes folder on the root you: /includes/configure.php Stefan: tata ... done Stefan: Is there anything else I could assist you with? Stefan: You can check the file chmod.php on the root Stefan: you can see there what I have done :-) you: you just saved my night sleep, i spend he last 2 hours solving this, thanks a million and goodnight Stefan: Next time contact us fist if you have such a problem :-) you: will do Stefan: You are welcome. Stefan: Please feel free to contact us again for any further assistance. Good Bye and have a nice time.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.