Shiyde Posted December 31, 2003 Share Posted December 31, 2003 First problem I did go through the all installation process, but on the last page, I get the following message : New Installation osCommerce Configuration Warning: fopen(/var/www/html/catalog/admin/includes/configure.php): failed to open stream: No such file or directory in /var/www/html/catalog/install/templates/pages/install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in /var/www/html/catalog/install/templates/pages/install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in /var/www/html/catalog/install/templates/pages/install_7.php on line 261 The configuration was successful! and when I click on CATALOG, I see the catalog Index page properly but at the top, in red, the following messages appear : Warning: Installation directory exists at: /var/www/html/catalog/install. Please remove this directory for security reasons. this is ok, I will delete it. Warning: I am able to write to the configuration file: /var/www/html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. there what must I do ? 2nd problem And if I click on Administration tools, I cannot access it. I get Warning: mysql_connect(): Access denied for user: '[email protected]' (Using password: YES) in /var/www/html/gestion/includes/functions/database.php on line 19 Unable to connect to database server! There is a mix because it should not ask the access for lagazettetibetain_info which is an other database. It should ask for esprit-tibetain_-_catalog Where do I change this ? Thanks for your help ! Link to comment Share on other sites More sharing options...
Shiyde Posted December 31, 2003 Author Share Posted December 31, 2003 still be me ! i did find the way to change the problem of lagazettetibetaine_info-... database name instead of the real one which is esprit-tibetain_com_-catalog... but I still have error message. Warning: mysql_connect(): Access denied for user: '[email protected]' (Using password: YES) in /var/www/html/catalog/includes/functions/database.php on line 19 Unable to connect to database server! I had a look at this file and on line 19 is $$link = mysql_connect($server, $username, $password); what should I do ? Link to comment Share on other sites More sharing options...
Shiyde Posted December 31, 2003 Author Share Posted December 31, 2003 well, I found the way to access to the Administration tools.. I had to rename my database to the name of catalog ! but I still have these error messages I cannot solve on the catalog home page : Warning: Installation directory exists at: /var/www/html/catalog/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: /var/www/html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Link to comment Share on other sites More sharing options...
Guest Posted December 31, 2003 Share Posted December 31, 2003 delete the install folder Link to comment Share on other sites More sharing options...
241 Posted December 31, 2003 Share Posted December 31, 2003 chmod the admin/includes.configure.php and catalog/includes/configure.php files to 644 if you still get the warning chmod the two files to 444 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...
Guest Posted December 31, 2003 Share Posted December 31, 2003 What is the major difference between CHMOD 644 and 444? From what I can tell it disallows owner write permissions. What does this prevent? Can I no longer edit this file? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.