reffael Posted January 30, 2004 Share Posted January 30, 2004 two questions for u, i'll be happy for some help, because right now i'm confused :) 1. i uploaded my store to the hosting service (linux/apache) and i'm getting this message in the pages Warning: I am able to write to the configuration file: /home/site/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. i checked the persmission of this file and it's - 644 so what is the problem? 2. how do i control the warning messages (turn off/on) ? thanks... Link to comment Share on other sites More sharing options...
reffael Posted January 30, 2004 Author Share Posted January 30, 2004 and another one : 3. which php file generates those error messages - where should i begin the search? Link to comment Share on other sites More sharing options...
241 Posted January 30, 2004 Share Posted January 30, 2004 Try chmod 444 for the includes/configure.php file No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
reffael Posted January 30, 2004 Author Share Posted January 30, 2004 hi steve, i tried to chmod 444 via ftp client and cpanel but each time it returns to 644, do u have any idea why? Link to comment Share on other sites More sharing options...
reffael Posted January 30, 2004 Author Share Posted January 30, 2004 i found the source to the warning - in header.php but i still don't understand why does it recognize the configure.php as writeable with 644 permission? // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } Link to comment Share on other sites More sharing options...
241 Posted January 30, 2004 Share Posted January 30, 2004 It is reporting the file as writeable due to the configuration of your hosts server, every host sets up there server in there own way. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.