Jump to content

Phpbb Users - Be Sure And Upgrade!


Recommended Posts

ok, I downloaded the fullpackage update, uploaded the files and when I run the install/update_to_204.php it says be sure to read the install file. I did read it and followed their instructions. If I now go to my forum I get the install screen, but I can't connect to my database...

 

What am I supposed to do now!? I don't want to delete the board and set it up again from scratch.

 

F.Meijer

 

edit: aaargh, I did not backup my config.php :P Is there anyway of getting it back?

 

$dbms = 'mysql';

 

$dbhost = 'localhost:MyODBC'; <-- ??????

$dbname = 'tpffcom_xmb1';

$dbuser = 'tpffcom_xmb1';

$dbpasswd = 'xxxxxx';

 

$table_prefix = 'phpbb_';

 

 

does this sound right?

 

p.s. Learn from my mistakes, DO NOT make the same one :P

Link to comment
Share on other sites

hold on i will post my config.php for you.

 

i'm using v2.04

 

><?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql4';

$dbhost = 'localhost';
$dbname = 'USER_DBNAME';
$dbuser = 'USER_USERNAME';
$dbpasswd = 'PASSWORD';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>

Link to comment
Share on other sites

Thanks Baseline,

 

but that didn't help. We already determined that the config.php file is not the problem. I am not sure what the exact problem is now. But anything I try gives me a handfull of errors. What I did notice is that it says mysql4 in your config.php, I thought we used mysql 3 here?

 

Anyway, I dropped a ticket at the helpdesk to restore a backup, but i'm getting worried now since no backup was restored when I checked this morning... What if there was a backup made overnight and now it's to late to restore !?

Link to comment
Share on other sites

If I try to open my forum I get a "critical error, cannot connect to database" and if I try to run the install/update_to_204.php (not sure about the actuall file name) I get a msg saying "Did you read the install?" I have read the install file wich is a badly written document in my opinion.

 

Like "If you have downloaded the full package you should follow the same general upgrade path as for bla bla bla" refering to a different chapter and there is no actuall step by step procedure ...

 

We (lianna and I) have already tried several thign so I'm geussing the forum dir is now in a state were nothing can be said for sure...

 

The config.php file is fine and the info in there is correct!

Link to comment
Share on other sites

Yes and yes with the acception that I didn't back up my config.php and didn't make backups... I know I could have avoided the situation if I had made backups, i'm not pointing any fingers at any one here accept at myself :) (and maybe the people from phpBB for having an unclear installation guide)

 

About section 6, I did read it and followed the instructions after replacing my config.php...

Link to comment
Share on other sites

What I did notice is that it says mysql4 in your config.php, I thought we used mysql 3 here?

ah good eye, i guess i copied my config from my own local test server :blink:

 

in my own experience, if it says you can't connect to the database, the problem would generally lie in your config. try finding a test script to try out the values you are using to connect to the db. also make sure you are using the same prefix tags. or install a new copy of phpbb using a different dir and db and check out the settings it generates to compare...

 

cpanel can backup individual databases which would be must faster and easier to manage than a full backup.. just click on the link with your database name and it will send just that database to you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...