Joerg Posted October 15, 2005 Share Posted October 15, 2005 I hope that I do not confuse too much and somebody sort of understands what my problem is and might have a solution for me: I have a problem while installing osCommerce. Everything starts great. Test connection to the database is successful, Database import is successful, At the osCommerce Configuration screen, everything is pre-entered (www address, webserver root directory, etc). As Webserver Root Directory, osCommerce pre-entered /home/(first part of database name)/public_html/catalog/. But my web server document part is /home/public_html/catalog/. (without the first part of database name). As a better example of the displayed root directory: If my database name is loginname_oscommerce, the webserver root directory, osCommerce pre-enters is: /home/loginname/public_html/catalog/ but my actual web server document path is just /home/public_html/catalog. (without the loginname) However, if I click continue, I receive the error message: The configuration files do not exist, or permission levels are not set. Please perform the following actions: ? cd /home/(first part of database name)/public_html/catalog/includes/ ? touch configure.php ? chmod 706 configure.php ? cd /home/(first part of database name)/public_html/catalog/admin/includes/ ? touch configure.php ? chmod 706 configure.php Which makes sense since the configure.php file is not located in path /home/(first part of database name)/public_html/catalog/ since this path does not exist. So I went back and changed the pre-set root directory to the actual web server document part, which is /home/public_html/catalog/. Now, the configure.php file is found, but I receive warnings about ?no such file or directory? in the install_7.php file in lines 209, 210, 211, 259, 260, 261. And the message at the end that the configuration was successful. But if I try to continue by clicking on the ?Administration Tool? button, I receive the following error message: Warning: mysql_connect(): Access denied for user: 'mysql@localhost' (Using password: NO) in /home/(first part of database name)/public_html/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! What I do not understand is, that during the beginning of the installation, where the database import is done it says that the file to import must be located and named at: /home/(first part of database name)/public_html/catalog/install/oscommerce.sql, it works fine and does actually find this path. But while looking for the configure.php file this path is obviously not recognized as existing. I even tried to recreate this path and to copy the configure.php file into it, but my webhost administrator does not let me change the permission of any files to 777 or 706 outside of the public_html area. The solution is probably very easy, but I just do not get it. Is there anybody that could give me some advise? I really would like to make osCommerce work for me. You can respond either in English or German. Thanks a lot and best regards, Joerg Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.