Jump to content

Recommended Posts

Posted

The version that CPanel installes is outdated by 2 revs, and the lastest version has fixed some large bugs and holes. Just an FYI :P

 

TCH Rocks

Posted

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

Posted

The MyODBC part of the host line is not correct. Should just say 'localhost'

 

I will advise everyone at this point to create a backup of their site and their mysql db's through cPanel before upgrading phpbb.

 

 

Lianna

Posted

What lianna said, seriously!

 

I didn't make backups and i'm scr... uhm.. in a trouble now :)

Be sure you know what you are doing, read the install file VERY CAREFULLY!

 

Freddy

Posted

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);

?>

Posted

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 !?

Posted

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!

Posted

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...

Posted
Odd! Well it takes something like this to make you think about backing up! Horrible I know

 

James

I know, I made several note's all over the house to remind me to make backups :)

 

*note to self: make back ups*

Posted

You have the option to make a FULL back up and have it stored in your home directory... since you can make a backup of your databases i'm guessing you back up everything...

 

Freddy

Posted
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.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...