fching Posted September 25, 2006 Posted September 25, 2006 After I install os in my localhost, I click the catalog buttom. There are three warnings on the top of the page. Warning: Installation directory exists at: C:/Program Files/xampp/htdocs/catalog/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: C:/Program Files/xampp/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. Thanks for helping me. Frank
onedownfiveup Posted September 25, 2006 Posted September 25, 2006 Delete your install folder. Set permissions to 644 on includes/configure.php Create /tmp directory.
fching Posted September 27, 2006 Author Posted September 27, 2006 Delete your install folder. Set permissions to 644 on includes/configure.php Create /tmp directory. Where do I create /temp directory ? Under catalog ? Frank
satish Posted September 27, 2006 Posted September 27, 2006 Once installation is done its a security problem to keep the install folder. So Download the folder(though not needed as it comes with osc box) and delete. Now go to catalog/include/configure.php and remove write permission for all. Satish Mantri After I install os in my localhost, I click the catalog buttom. There are three warnings on the top of the page. Warning: Installation directory exists at: C:/Program Files/xampp/htdocs/catalog/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: C:/Program Files/xampp/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. Thanks for helping me. Frank Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
fching Posted September 27, 2006 Author Posted September 27, 2006 Once installation is done its a security problem to keep the install folder. So Download the folder(though not needed as it comes with osc box) and delete. Now go to catalog/include/configure.php and remove write permission for all. Satish Mantri Here is my configure.php file, can you tell me where I need to remove write permission. <?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://localhost'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // 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', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_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', 'C:/Program Files/xampp/htdocs/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
fching Posted September 27, 2006 Author Posted September 27, 2006 Here is my configure.php file, can you tell me where I need to remove write permission. <?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://localhost'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // 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', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_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', 'C:/Program Files/xampp/htdocs/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Thanks I got it. Frank
Guest Posted September 27, 2006 Posted September 27, 2006 Thanks I got it. Frank What did you do? I'm having the same problem.
Guest Posted September 27, 2006 Posted September 27, 2006 What did you do? I'm having the same problem. nm, I've used ws ftp to change the permission and check off all write.
slackerjack Posted September 30, 2006 Posted September 30, 2006 What did you do? I'm having the same problem. Use an ftp program, find the file you are having problems with, right click on the file and change permissions. This should take care of the problem. I'm not in the middle of nowhere, but I can see it from here!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.