Jul 25, 2008

Database Connection Problem - phpBB2 installation error

Free Web Hosting, No Ads > General > Hosted Members Area

free web hosting

Database Connection Problem - phpBB2 installation error

Damen
*edit*

Ok well the original problem has been solved.
I have installed phpBB2 on my new how here. Transfered all of the database files over. On my new forums all of the old posts and everything shows up right.

The problem is when I click the "Go to administration panel" at the bottom it links me to log into my ACP on my old forums. It changes the url and all.

If I hover over the link it says that it will be directed to the right way, the way I want, but it doesn't.

Does anyone know anyway to fix this?

Reply

Saint_Michael
Well first off your config.php needs to be in 0666 and not 0777 also make sure store/, cache/, files/ and images/avatars/upload/ folders are set at 0777, your DB info looks correct without looking at you MySQL table. But going through a little test what I suggest is that your delete the username in your MySQL table (make sure to remove the user privilages in the DB) and set up a new one with a different password and see if that works. Thats usually the case when you get a access denied message because the password might be wrong.

From the searches I have done it seems the other two errors have to do with your username, I would recommend (unless someone know hows ot fix this) go to phpbb support and see what your problem might be.

For Reference

GOOGLE KEYWORDS

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in

Reply

Damen
QUOTE(Saint_Michael @ Apr 14 2007, 01:29 PM) *
Well first off your config.php needs to be in 0666 and not 0777 also make sure store/, cache/, files/ and images/avatars/upload/ folders are set at 0777, your DB info looks correct without looking at you MySQL table. But going through a little test what I suggest is that your delete the username in your MySQL table (make sure to remove the user privilages in the DB) and set up a new one with a different password and see if that works. Thats usually the case when you get a access denied message because the password might be wrong.

From the searches I have done it seems the other two errors have to do with your username, I would recommend (unless someone know hows ot fix this) go to phpbb support and see what your problem might be.

For Reference

GOOGLE KEYWORDS

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in


Alright thanks for the help. I will go try all of that now. Wish me luck!

 

 

 


Reply

Damen
AWESOME!
Thanks a bunch.
All I did was delete the old database and users. Made a new database and a new user. Put in all of the info and it worked. Another thing I did was leave the domain localhost. This shouldn't matter because it is on my account.


Thanks again!!

Reply

Damen
Well darn!

Now it seems whenever I click the link to the ACP it goes to my old forums ACP...because I still didn't take it down. But it says it is going to direct to the right way when I hover over the link....

Anyone think that it is something in the old forum's database that I copied that left the old links the same or something?

Reply

Damen
Well this problem has been solved after countless hair pulling moments!

Here is what I did to fix it for anyone else with the problem.

Opened my forum database in phpmyadmin. did a search for "damendaman" since my old host was "damendaman.my-php.net"

Then I found all of them and replaced them with my new host!


Thanks for all of your guys help!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : database connection phpbb2 installation error

  1. Wordpress Error - Bytes Exausted - NextGEN Gallery (3)
  2. Phpbb3 - Error 28 - (5)
    I get the following error when I try changing a users group of my Phpbb3 powered forums. QUOTE
    SQL ERROR Got error 28 from storage engine SQL SELECT ug.*, g.* FROM groups g, user_group ug
    WHERE ug.user_id = 83 AND g.group_id = ug.group_id ORDER BY g.group_type DESC, ug.user_pending ASC,
    g.group_name BACKTRACE FILE: includes/db/mysql.php LINE: 158 CALL: dbal->sql_error() FILE:
    includes/acp/acp_users.php LINE: 1881 CALL: dbal_mysql->sql_query() FILE:
    includes/functions_module.php LINE: 471 CALL: acp_users->main() FILE: adm/index.php LINE: 74 CALL:
    p_master->l...
  3. Is The Database System Gone Again? [resolved] - Errors on PHPMyAdmin again (12)
    I wonder if there is a problem with the PHPMyAdmin system again? When trying to get into it, I once
    again get the following: QUOTE Warning: session_write_close() : SQLite: session write query
    failed: database is full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    Warning: session_write_close() : Failed to write session data (sqlite). Please verify that the
    current setting of session.save_path is correct
    (/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: Ca...
  4. Error 28 (on Phpmyadmin) - What does this error message mean? (6)
    I have a shopping cart system on my website. It always worked before, but all of a sudden, when I
    try to access it i get "Got error 28 from storage engine". Has that got something to do with the
    recent problems again, or can someone tell me what this error message means? Thanks. After posting
    this I noticed I cannot get into my PHPAdmin anymore. It gives loads of errors: QUOTE Warning:
    session_write_close() : SQLite: session write query failed: database is full in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: session_write_close() :
    Fai...
  5. Page Load Error When Accessing Cpanel - (0)
    Not sure what the issue is. I cannot even load up any of the cpanel's to allow me to put in a
    password. I have tried the link that is located in the Credit System 2.0 I have tried the links
    with subdomain/cpanel I have tried the links with subdomain:2082 All 3 of these just give page
    load errors. Please note : This isn't a "my password doesn't work" thread. This is a "I
    can't even get cpanel to TRY to load" thread. Thanks in advance....
  6. Coppermine Gallery Error - (2)
    Okay.. so i have my gallery set up at photos.chantellepaige.org and everytime i try to access it i
    get this error "Coppermine critical error: Unable to connect to database ! MySQL said: Access
    denied for user 'giselle_copp1'@'localhost' (using password: YES)" how do i change
    the password etc?? or fix the problem??...
  7. Phpmyadmin - Create new database: No Privileges (6)
    i can not make a sql for diff srcipt, but the sricpt i have is php, DJ-cpanel.. all tho i can not
    install it the error is like this Creating Database Tables No database selected there a mysql
    database is made, but i can not use it for othere stuff... plz note that this is Free script and not
    for paid.. is there a way that the myqsul can not use sql other scripts? or it maybe not working...
    but i am not sure if the script not working or it can be the server may be down on mysql...? ...
  8. Error Code In Subscriptions Page - problems subscribing to topics (5)
    I'm seeing some weird warning message show up at the top of my page when I go into "my
    controls," then load my topic subscriptions page. At the top of the page, the following code appears
    several times: IPB WARNING in_array() : Wrong datatype for second argument (Line: 2711 of
    /sources/action_public/usercp.php) I'm guessing maybe that has something to do with the fact
    I'm having problems subscribing to my topics and posts? Thanks in advance for your help....
  9. I Need Help Transferring Sql Database? - (3)
    ok so i am trying to transfer mediawiki's but i am having trouble with exporting importing the
    database. I am using phpmyadmin on both sides of the hosts. When i do the import i get this.
    QUOTE SQL query: -- -- Database: `apolopedia` -- CREATE DATABASE `apolopedia`
    DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; MySQL said: Documentation #1044 - Access
    denied for user 'jaenagle'@'localhost' to database 'apolopedia' I tried to
    give my user all rights, but it gave me this also. QUOTE SQL query: GRANT A...
  10. 403 Forbidden Error When Accessing My Site - (10)
    umm this is a problem that i have been looking in other topics to try to fix but i can't seem to
    find a answer to what i lookin for. I got my site workin again the other day ok and so i went on to
    see it (so i can make more changes) and when i got there i got this QUOTE Forbidden You
    don't have permission to access / on this server. Additionally, a 403 Forbidden error was
    encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at
    www.clansga.trap17.com Port 80 now i looked at everything and i can't seem to find t...
  11. Phpmyadmin Error [resolved] - (7)
    I get this error message each time I attempt to work phpMyAdmin. QUOTE Cannot start session
    without errors, please check errors given in your PHP and/or webserver log file and configure your
    PHP installation properly. Help would be very grateful....
  12. Phpmyadmin Error - Not able to enter PhpMyAdmin (4)
    Currently I try to access my PhpMyAdmin and I get the following error displayed among the screen:
    My PhpMyAdmin worked prior the migration but suddenly stopped working after. I wanted to know if
    anyone else is getting this error also or anyway can help me fix this o.o....
  13. Cannot Delete Folder After Lost Ftp Connection - permission not given to delete file (7)
    hello, well i had created a subdomain and was transferring files into the folder i was disconnect
    from the server many times while uploading the files via ftp once when i reconnect, i saw a file
    with an unusual name something starting with preftp... i tried deleting the file, but it said that
    permission was not granted to do that i tired deleting the complete folder and also tried deleting
    the subdomain from the cpanel but it was of no use can anyone help me with this? thx for your time
    Modified topic title. ...
  14. Mysqli Error - Phpbb3 - (3)
    Ok, my forum (phpbb3) works but sometimes it displays this message CODE General Error SQL ERROR
    [ mysqli ] Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock' (2) [2002] An sql error occurred while fetching
    this page. Please contact an administrator if this problem persists. This normally happens about
    once a week for about 2 minutes but it is really getting annoying. I installed phpbb3 fine, it
    didn't show any errors. But the main thing is that before this happens normally I can't
    connect...
  15. Parse Error: Syntax Error, Unexpected '<' On Line 29 - (11)
    ok when i try and access the page i want, iget the following error: Parse error: syntax error,
    unexpected ' however, my page looks like this: QUOTE // Connects to your Database
    $username = "evolved_creation"; $password = "mypasswordishere"; $hostname =
    "localhost"; $dbh = mysql_connect($hostname, $username, $password) or
    die("Unable to connect to MySQL"); $selected =
    mysql_select_db("evolved_clancreation",$dbh) or die("Could not connect to DB");
    mysql_close($dbh); //checks cookies to make sure they ar...
  16. Keep Getting Socket Error - mail won't send. (3)
    When trying to send email, I keep getting a socket #10061 error. I use the Trap 17 smtp server,
    related to my own domain, which is mail.vlaanderen-flanders.org.uk. This seems to be happening
    regularly lately. Has anyone got any idea why this could be happening? Thanks for any support. ...
  17. Email Creation Error - Not receving emails, can't create new account (3)
    Hi, When I try to create an email account in the CPanel, I get this error QUOTE The e-mail
    account xxxxxxxx@ wildcatexotics.com with the login Sorry, you have exceeded the maximum allowed
    email accounts. and password xxxxxxxx with a quota of unlimited megabytes was successfully created.
    Can anybody help me out? And also My default email account is xxxxx@xxxx.com, but when I sent
    myself an email from another account, I didn't receive any. Thank you...
  18. Changes In Phpmyadmin - Access to my database from program not working anymore. (0)
    I was wondering if something has changed in the MySQL or PHPMyAdmin section of Trap 17. (Hope I am
    explaining this correctly). I run a newsletter system on my website and the details of the people
    who subscribed are in a MySQL database. To get those data from the database and to send the
    newsletter to all subscribers I use a program called "Qios Pelican". Up to now it always worked
    perfectly, but now it cannot seem to retrieve data anymore, yet I have not changed anything to my
    setup. I use the MySQL OLEDB Provider driver to connect, and in case it helps, here are the ...
  19. Help: Internet Server Error - (20)
    Hello! I decided to try YaBB as a forum now, just testing....and ... Well first my question is,
    this is in ADDONSCRIPTS, not FANTASTICO, whats the difference? Secondly, about my problem: I was
    in the YaBB admin panel, I got through the Forum Settings, got to Advanced settings, filled out the
    info, and pressed save. The 5000 times I have tried this, I get this: QUOTE Internal Server
    Error The server encountered an internal error or misconfiguration and was unable to complete your
    request. Please contact the server administrator, webmaster@sherwoodinfo.trap1...
  20. Error During Upgrade [resolved] - Xisto tells me to contact Admin (3)
    While trying to upgrade my hosting account (I got an email I was approved), I encountered the
    following: When I clicked on the link in my confirmation email, I was taken to the Xisto menu page,
    where I selected "Upgrade your hosting account". I was then asked to enter my forum username and
    password, and was then taken to the upgrade page, but almost immediately got the message: "There
    were problems creating your account! Please Contact Administrator." Then, underneath, it said:
    "Debug Info", followed by two lines with nothing in between them, and below the two lines ...
  21. Help! With Mephisto - Blogging System installation (1)
    I'm having trouble installing the Mephisto blogging system on Trap17, anybody have any
    experience with this? http://mephistoblog.com ...
  22. Suspended Account Error [resolved] - (12)
    OK, my hosting account was upgraded so my hosting credits were set to 0. I went to stay with my
    sister for a couple of days and when I got back I had -4 hosting credits and my account was
    suspended. I've now got 6 hosting credits. My main site is working but all of the addon
    domains I added go to the Suspended Account Page. What do I do???...
  23. Help! Forum Error Please Reply - (4)
    I'm very sorry for making so many topics, but just now I can't get to my forum because of
    this! QUOTE Fatal error: Cannot redeclare addlinenumbers() (previously declared in
    /home/omega/public_html/Sources/Subs.php:3671) in /home/omega/public_html/Sources/Subs.php on line
    3721 Help me please! (PS: sorry for being so dumb)...
  24. Installing Joomla And Shell Question - i get error when i trayed to install joomla i get some (0)
    i get error when i trayed to install joomla about the default premising check this out i have set
    the file premising to 777 and to 755 and the same problem what to do where to fix this
    http://zam.trap17.com/earn-money/installation/index.php and in my hosting plans i did see shell
    access but i cant it at my cpanel why ??? ---UPDATE--- will i have been able to install joomla
    thanks but i still asking about the shell account double post merged ...
  25. Error - (6)
    there is a problem with my subdoman it keeps coming up with blank everytime i click here
    http://www.street-warz.trap17.com/ it shudnt be coming up blank it should come up with a game login
    plz sort this...
  26. How To Crate Mysql Database? - urgent help (7)
    Hi everyone!
    I'm trying to make in my site a page system that allows me to create users
    account (with a foto for every user)...
    I'm doing that in PHP, I learned all I have to
    know about PHP and MY SQL. I know how to make new array and querries in the data base, only 1 think
    is messing: ...
  27. Need Help With My Database - I cannot transfer my old site's database (19)
    I Couldn't import my database info via Import from php my admin and i got the .sql file from the
    php my admin of my old hosting and every time i try to import it give me an error that i don't
    have the permissions to do.... /sad.gif" style="vertical-align:middle" emoid=":(" border="0"
    alt="sad.gif" /> What shall i do?? I need Help Please...
  28. Can't Find My Fantastico Installation! - Where is the files I installed (2)
    Before anyone points it out, I searched this forum for similar topics and couldn't find any, I
    checked the FAQ's and couldn't find any one of them that addresses my problem: I just
    installed joomla in a sub directory (public_html/Joomla) and I wanted to change some stuff so I went
    into my FTP program and connected to my account, I checked, doubled checked and triple checked all
    the public html/FTP/WWW folders and I couldn't find the joomla installation, the site come up
    fine in browser but I can't seem to find the directory of where it is located, t...
  29. 'page Not Found' Error [resolved] - (8)
    Heyhey, I've been approved this morning for a plan #2 hosting package, so I went to he link in
    my mail. I've filled in all the fields and also filled in my domain: www.ancient-armada.com The
    setup was pretty fast and without problems. After all was set up, I tried to log into the Cpanel by
    IP, but that didn't work... It gave a 'page not found' error. I know for my domain it
    can take up to a few days before it works, but with the IP, I should be able to log into Cpanel,
    right? Thanks in advance...
  30. Error Using Fantastico! - (4)
    Well I've just registered a free hosting account today and first I had a problem logging into my
    cPanel but it's okay now. And now after I logged into my cPanel, when I try to use fantastico I
    get this error: QUOTE Not Found The server was not able to find the document
    (./frontend/rvblue/fantastico/index.php) you requested. Please check the url and try again. You
    might also want to report this error to your webhost. cpaneld/11.2.2 Server at
    www.thedebate.trap17.com so what's the problem? and how can I fix it?...



Looking for database, connection, problem, phpbb2, installation, error

Searching Video's for database, connection, problem, phpbb2, installation, error
advertisement



Database Connection Problem - phpBB2 installation error



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE