| Welcome to Webforumz.com. |
|
Dec 18th, 2007, 16:20
|
#1 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
[SOLVED] phpBB issue.
Hello,
I'm coming here for help as phpbb.com isn't helping at all!
I am having troubles getting my old database into my forums. I get an sql error but the error it gives isn't in that file. It's in the config.php file but don't know what to do. I've tried and tried and tried to fix it but am having no luck. If anyone knows how to help me fix it please let me know.
Thanks,
-Nathaniel
|
|
|
Dec 18th, 2007, 16:31
|
#2 (permalink)
|
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 980
|
Re: phpBB issue.
What error are you getting? Also, could you post the corresponding chunk of code hinted at in the the error (should give a line number)
|
|
|
Dec 18th, 2007, 17:19
|
#3 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
Re: phpBB issue.
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/sites/newbreedjesusfreaks.com/public_html/forum/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/sites/newbreedjesusfreaks.com/public_html/forum/db/mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
|
|
|
Dec 18th, 2007, 17:30
|
#4 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: phpBB issue.
Seems like you haven't put the correct username password combo for your mysql connection.
If you are on Cpanel, your username and database name may have a prefix - make sure that it is included.
@Mod: Move to PHP?
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Dec 18th, 2007, 17:31
|
#5 (permalink)
|
|
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 30
Posts: 4,883
|
Re: phpBB issue.
Moved to Design and Development Software section
|
|
|
Dec 18th, 2007, 19:05
|
#6 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
Re: phpBB issue.
Hmm, Yea I have a prefix. It's called web33-(then database name is here)
But I've tried that and everything.. It's not budging!
|
|
|
Dec 18th, 2007, 19:14
|
#7 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: phpBB issue.
Your username may be "web33-username" too then.
Have you tried that?
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Dec 18th, 2007, 19:22
|
#8 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
Re: phpBB issue.
hmm, Isn't it wanting my cpanel login info?
|
|
|
Dec 18th, 2007, 19:31
|
#9 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: phpBB issue.
No! Your mysql database info.
Think that's your problem ha.
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Dec 19th, 2007, 02:46
|
#10 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
Re: phpBB issue.
noope..
Warning: mysql_connect() [ function.mysql-connect]: Access denied for user 'newbreedjesusfre'@'localhost' (using password: YES) in /home/sites/newbreedjesusfreaks.com/public_html/forum/db/mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/sites/newbreedjesusfreaks.com/public_html/forum/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/sites/newbreedjesusfreaks.com/public_html/forum/db/mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
|
|
|
Dec 19th, 2007, 03:56
|
#11 (permalink)
|
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 980
|
Re: phpBB issue.
The first line of that error is the key. You are still being denied access due to having the username or password incorrect.
The next two errors are because the connection wasn't made to the database. Be sure to check your username isn't more than what you have written.
You can also try creating a new database user through cpanel and using those details to connect.
|
|
|
Dec 19th, 2007, 06:48
|
#12 (permalink)
|
|
Section Manager - WOTM Assistant Editor - LZ
Join Date: May 2007
Location: Cornwall, England
Posts: 1,101
|
Re: phpBB issue.
Or email the support team of whoever hosts your site, usually they are happy to do it for you if you can't.
|
|
|
Dec 19th, 2007, 07:15
|
#13 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
Re: phpBB issue.
lol, thnx. I'm sure i'll get it.. Just prolly need some sleep, ha.
|
|
|
Dec 19th, 2007, 07:52
|
#14 (permalink)
|
Join Date: Sep 2007
Location: somewhere
Age: 18
Posts: 219
|
Re: phpBB issue.
heh, i fixed it. I don't know why i didn't htink of deleting all the tables in the forum i created then uploading my backup cuz it worked!! lol...
[Thread Solved]
|
|
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|