When you were editing $dbname = 'forum'; to your own name, make sure you didn't accidentally remove any apostrophes or the semi colon.
It may also be worth checking line 32 for the same detail.
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!I am attempting to install VB3 on my server but I am failing very quickly.
I have created the database "forum" (xxxxxx_forum) in CPanel and assigned a user and user password.
However when I go to install the VB scripts I get:-
------------------------------------------------------------------
Parse error: parse error in /home/xxxxxx/public_html/forums/includes/config.php on line 37
Attempting to attach to database
Connect failed: unexpected error from the database.
Error number: 1046
Error description: No Database Selected
Please ensure that the database and server is correctly configured and try again.
----------------------------------------------------------------------
CPanel assigns a database named xxxxxx_forum and I have assigned a username xxxxxx_xxxxxx and password xxxxxxxxx
I have edited the config.php file as per instructions to reflect the above but no joy in installing.
Anyone any idea what is going wrong?
I have successfully installed PHPBB before but this is my first attempt at vBulletin.
Anyone any advice?
When you were editing $dbname = 'forum'; to your own name, make sure you didn't accidentally remove any apostrophes or the semi colon.
It may also be worth checking line 32 for the same detail.
Lats...
Success! - mistake in dbase name![]()
Bookmarks