vBulliten Installation problems..

Status
Not open for further replies.

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Soo.. I uploaded all the files that I got. I uploaded it to moosep.elementfx.com/forum/ and I opened the link moosep.elementfx.com/forum/install/install.php .. and all I get is..

Attempting to attach to database


Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/moosepe/public_html/forum/includes/db_mysql.php on line 140
[size=+1]The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.[/size]

What am I doing wrong? Please help. Thanks in advance :pinch:
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
Do you have MySql spaces avalilbele? Also is that the correct password and username?
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Yeah I do.. I actually think I know why this isnt working.. lemme go check for a sec..
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Ok.. how do I make new Database usernames and passwords?

Thanks in advance
 

The_Magistrate

New Member
Messages
1,118
Reaction score
0
Points
0
Go into the MySQL Databases section of cPanel and just enter a username and password under the users section. That will create a new user. You have to divy out permissions to the database though.
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
Go into the MySQL Databases section of cPanel and just enter a username and password under the users section. That will create a new user. Thats all you have to do then when you have done that add the user to the database for vBulitan...
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
.. And, ahem, check the "box" by "all", to give that user all permissions, if you need to.
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
I did.. but somethings bugging the thing.. and it's not working.. :/
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
NedreN said:
.. And, ahem, check the "box" by "all", to give that user all permissions, if you need to.
That is automaticly selected for you by cpanel...
 

nicholas

New Member
Messages
772
Reaction score
0
Points
0
moose said:
I did.. but somethings bugging the thing.. and it's not working.. :/

I dont know what is that "something" that bugging the thing coz you did not explain but let me give you a summary of creating database/users.

First, go to cpanel>>MYSQL Databases. To create a database, key in whatever name you prefer and click Add Db. .

Then at Users, key in a username and password and click Add User.

The last thing you need to do is to "connect" the database to the user, both which you created according to earlier steps. Make sure it is tick ALL for the Privileges and click Add User to Db.

If it is "connected" this will appear :

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:whatevername_vbulletin:localhost","whatevername_vbulletin","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "whatevername_vbulletin", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("whatevername_vbulletin");


Did you follow the steps?
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Yeah, I did that, and now I got this.. :/

Attempting to attach to database

Connect failed: unexpected error from the database.

Error number: 1044

Error description: Access denied for user: 'moosepe_moose@localhost' to database 'forum'

Please ensure that the database and server is correctly configured and try again.
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
OK nvm that, I got passed that wall.. now everything is configured and I deleted the install.php file..

But now when I access the board, I get this error.. :/

Unable to add cookies, header already sent.
File: /home/moosepe/public_html/forum/includes/config.php
Line: 105

I'm still trying to figure out what might cause this.. But yeah, wish me luck..
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Holy Crap! It's working now!! YES!!

I guess the problem was.. I wasn't supposed to have any spaces after ?>.. lol
 

nicholas

New Member
Messages
772
Reaction score
0
Points
0
moose said:
Holy Crap! It's working now!! YES!!

I guess the problem was.. I wasn't supposed to have any spaces after ?>.. lol

Glad it is working for you now :eek:riginal: Next time you know what to do when you have this type of problem again :grin: Be more patient with the problem too coz i saw your replies all come between 5 to 10 mins coz sometimes it is just a minor human error.
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
Good now that is working I hope that you will have a good time working with it!
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
What does nullify mean? I just got this from a friend.. :/

So.. am I supposed to delete it?
 
Status
Not open for further replies.
Top