SMF Support > Install and Upgrade Help
Critical Error!
JimMc:
SMF 2.0.2
After creating a database and uploading the software at step three of the install there is an error.
--------------
Critical Error!
Cannot connect to the database server with the supplied data.
If you are not sure about what to type in, please contact your host.
Access denied for user 'dgeeks_forum'@'localhost' (using password: YES)
--------------
After redoing everything a few times I took a look at the Settings.php and noticed there there is an extra space in db_passwd. For example.
$db_passwd = ' examplePW';
removing the space seems to work, but since the tables are not created you can not move forward with the install.
Arantor:
That generally means you accidentally added a space when typing, because if it added a space all the time, it would be broken for everyone...
MrPhil:
As shipped, the raw Settings.php contains
--- Code: ---$db_passwd = '';
--- End code ---
How was this particular forum installed (Fantastico/Softaculous/etc., web installer, manual install,...)? Who is responsible for actually editing the Settings.php file and inserting the chosen password? Someone screwed up and added an extra space at that step.
JimMc:
I'm 100% sure I did it correctly - Tried several times copy/paste or hand typed on 4 installs and multiple users -- same result.
I've installed several hundred database / forum installs over the years.
Not sure why this is happening on my box though. Others install OK. Thought I would give you a heads up. Cpanel / whm if that helps.
JimMc:
--- Quote from: MrPhil on May 23, 2012, 06:10:31 PM ---As shipped, the raw Settings.php contains
--- Code: ---$db_passwd = '';
--- End code ---
How was this particular forum installed (Fantastico/Softaculous/etc., web installer, manual install,...)? Who is responsible for actually editing the Settings.php file and inserting the chosen password? Someone screwed up and added an extra space at that step.
--- End quote ---
I simply uploaded the scripts and used the web installer from the browser. The username and password with created with cpanel - I pasted both into a text file to verify no spaces. The user name and forum name enter fine.
Navigation
[0] Message Index
[#] Next page
Go to full version