alonchik Posted July 6, 2007 Posted July 6, 2007 This came up at my shop after i've done some changes- Warning: I am able to write to the configuration file: /home/content/n/a/y/nayad1/html/ofer_flowers/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. this is the url : http://www.oferflowers.com please help me to resolve the problem, and take in mind that i'm new at this, so I need a good and simple explanation. thanks a lot friends!
Bloged Posted July 6, 2007 Posted July 6, 2007 This came up at my shop after i've done some changes- Warning: I am able to write to the configuration file: /home/content/n/a/y/nayad1/html/ofer_flowers/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. this is the url : http://www.oferflowers.com please help me to resolve the problem, and take in mind that i'm new at this, so I need a good and simple explanation. thanks a lot friends! Login to your FTP and set the permission for catalog/includes/configure.php to 755! Grtz, Arjan Gelderblom I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. -- Stephen Hawking
germ Posted July 6, 2007 Posted July 6, 2007 If that doesn't work, login to your control panel for your site and set the permissions there. Some people have had trouble doing it through FTP and making the changes stick. Doing it through your control panel should work if FTP fails. :thumbsup: 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 >
alonchik Posted July 6, 2007 Author Posted July 6, 2007 <?php/* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://******.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://******.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); define('HTTP_COOKIE_PATH', '/ofer_flowers/catalog/'); define('HTTPS_COOKIE_PATH', '/ofer_flowers/catalog/'); define('DIR_WS_HTTP_CATALOG', '/ofer_flowers/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/ofer_flowers/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', 'http://******.com/ofer_flowers/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '*********.secureserver.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '********'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', '**********'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> where do I set it to 755 ? and what is 755 ? thanx a lot guys!
germ Posted July 6, 2007 Posted July 6, 2007 This may help: Click me 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.