New Installation-database error
Posted 21 June 2012 - 21:09
Anyone know how to remedy this? Any help greatly appreciated!!
Posted 22 June 2012 - 04:03
After I configured the two config.php files I tried to go to [shop.domain name]/catalog/install/index.php and got an error: Cannot connect to database! I then went into my hosting to delete the DB from PHPMyAdmin but it wasn't there.
Exactly that describe the problem and its solution at the same time: You possibly didn't create a database and/or configured the configure.php files not correctly and, finally, there is no reason to do the web based installation after manually configuring that files
Here is what you need to do
- Upload a complete osCommerce package to your server, eg to folder /shop/ or /catalog/ or /store/ or /kuku/ etc (done)
- Create a database via your hosts cPanel (remember database name, user and password)
- pint your browser to yourdomain.com/store_folder/install/ and follow the installation steps
After that, delete the /install/ folder on the server and set correct permissions to the 2 configure.php files
Posted 25 June 2012 - 19:40
Thanks again! /biggrin.png' class='bbc_emoticon' alt=':D' />
BTW, one of the problems was that I was entering in the wrong path! I only needed to go as far as [domain name]/catalog. The errors were occurring when I was trying to get to [domain name]/catalog/install/install.php which of course, doesn't exist!
Edited by Firefly_fun, 25 June 2012 - 19:42.