Guest Posted July 24, 2004 Posted July 24, 2004 First things first. I am taking over running an online storefront. I have a few questions to ask about OSC. The Home Page of the store has a warning label at the top. -- " Warning: I am able to write to the configuration file: /home/atomix2/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file." How do I go about fixing this problem. Customers are not going to want to shop online with this warning. Any hint of an unsecure site and they are gone. secondly. I am having alot of problems with upload files. I try and upload images and I get this set of warnings. --"Warning: move_uploaded_file(/nfs/home/atomix2/public_html/shop/images/pistol.jpg): failed to open stream: No such file or directory in /home/atomix2/public_html/shop/admin/includes/functions/general.php on line 789 Warning: move_uploaded_file(): Unable to move '/tmp/php76h0Vu' to '/nfs/home/atomix2/public_html/shop/images/pistol.jpg' in /home/atomix2/public_html/shop/admin/includes/functions/general.php on line 789 Warning: Cannot modify header information - headers already sent by (output started at /home/atomix2/public_html/shop/admin/includes/functions/general.php:789) in /home/atomix2/public_html/shop/admin/includes/functions/general.php on line 18 I do not have the experiance in this area. Can anyone help get this problem solved?
scotte Posted July 24, 2004 Posted July 24, 2004 -- " Warning: I am able to write to the configuration file: /home/atomix2/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file." CHMOD the file from the directory in question using an ftp client to 444, to make unwritable!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.