Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2003
    Posts
    307

    phpBB 2 forum moved ?

    Curious if anyone has any ideas on this. I recently moved a site from one server to another using WHM. Site was running a phpbb forum, database and all was moved over, but the forum will not run. It appears the problem is associated with the fact that the username for the account is different on the new server. So I think the database access is hosed.

    You know how you for database access you typically do "username_databaseusername", well username is different and not sure where to change it for the phpbb forum. There is a config.php file but it says not to change anything in there.

    Any ideas?

  2. #2
    Join Date
    Aug 2003
    Location
    Twin Cities Area
    Posts
    5,651
    ummm, we just did this, it is posted here

    sorry dont have the link handy, maybe someone else can giev it to you
    if you haven't considered chapter 7 bankruptcy, maybe you should.
    eliminate your debt, keep the property you want, most people qualify.
    contrary to popular belief - no attorney is necessary!

  3. #3
    Join Date
    Apr 2002
    Location
    Philadelphia
    Posts
    2,277
    Hi,

    You need to changes the variables in your config.php file - no other way

  4. #4
    Join Date
    Jan 2003
    Posts
    307
    Yup I went ahead and changed the config file and it worked. Getting a bunch of errors now, but I am sure I will work through them.

    Thanks for the help!

  5. #5
    Join Date
    Apr 2002
    Location
    Philadelphia
    Posts
    2,277
    No problem,

    Shoot me a PM if you have problems you can't figure out how to fix

  6. #6
    Join Date
    Jan 2004
    Location
    Ellesmere Port, Wirral, UK
    Posts
    1,541
    Im pretty sure the config.php is made on the fly, meaning you dont want to change anything. As long as the domain is the same as it was, there should be no problem with it.

    Edit: Just noticed you said the username had changed. Was there a reason for that, could you not change it back?
    BTi-Hosting.co.uk High quality hosting, low low prices.
    One step ahead of the competition - Today IS tomorrow.
    FraudWise.Net - Fight the fraud!

  7. #7
    Join Date
    Feb 2003
    Location
    Bay Area, CA
    Posts
    215
    If you are changing from another hosting platform to WHM/cPanel, then the usernames and database names likely changed...not to mention the passwords.

    Simply editing the file to update the new servers names/format is all that should be required.

  8. #8
    Join Date
    Apr 2002
    Location
    Philadelphia
    Posts
    2,277
    Actually,

    The config.php file stores the variables to connect to the database. You need to edit this file if the username of your account changes.

    On cPanel servers the username/databasename is setup as username_databasename and username_username. Since he moved servers, his account username changed so he now must change his database details.

  9. #9
    Join Date
    Dec 2003
    Location
    Fairfax, Virginia
    Posts
    6,835
    Im pretty sure the config.php is made on the fly, meaning you dont want to change anything. As long as the domain is the same as it was, there should be no problem with it.
    config.php in phpBB is a static file that is not generated on-the-fly. This is the file you edit for the global SQL variables such as host, db, db user, etc.

    Also, different hosts have different naming conventions for their clients' cPanel accounts (if WHM/cPanel is present), and hence, their MySQL db user prefix.

  10. #10
    Join Date
    Jan 2004
    Location
    Ellesmere Port, Wirral, UK
    Posts
    1,541
    Yeah i just noticed.

    And i know about the prefix and naming conventions, which is why I edited my last post.
    BTi-Hosting.co.uk High quality hosting, low low prices.
    One step ahead of the competition - Today IS tomorrow.
    FraudWise.Net - Fight the fraud!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •