Rednarb Posted March 27, 2003 Share Posted March 27, 2003 The version that CPanel installes is outdated by 2 revs, and the lastest version has fixed some large bugs and holes. Just an FYI TCH Rocks Quote Link to comment Share on other sites More sharing options...
Lianna Posted March 27, 2003 Share Posted March 27, 2003 Thanks for the update! Li Quote Link to comment Share on other sites More sharing options...
freddy Posted March 27, 2003 Share Posted March 27, 2003 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 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 Quote Link to comment Share on other sites More sharing options...
Lianna Posted March 27, 2003 Share Posted March 27, 2003 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 Quote Link to comment Share on other sites More sharing options...
freddy Posted March 27, 2003 Share Posted March 27, 2003 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 Quote Link to comment Share on other sites More sharing options...
baseline Posted March 27, 2003 Share Posted March 27, 2003 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); ?> Quote Link to comment Share on other sites More sharing options...
freddy Posted March 28, 2003 Share Posted March 28, 2003 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 !? Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted March 28, 2003 Share Posted March 28, 2003 What errors do you get freddy? James Quote Link to comment Share on other sites More sharing options...
freddy Posted March 28, 2003 Share Posted March 28, 2003 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! Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted March 28, 2003 Share Posted March 28, 2003 Hi, Ok just a few questions, I) Did you download the patch? II) Did you follow the quick install guide? III) Did you read and follow section 6? Jim Quote Link to comment Share on other sites More sharing options...
freddy Posted March 28, 2003 Share Posted March 28, 2003 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... Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted March 28, 2003 Share Posted March 28, 2003 Odd! Well it takes something like this to make you think about backing up! Horrible I know James Quote Link to comment Share on other sites More sharing options...
freddy Posted March 28, 2003 Share Posted March 28, 2003 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* Quote Link to comment Share on other sites More sharing options...
greatfolios sysop Posted March 28, 2003 Share Posted March 28, 2003 On the backup note.... Does the cpanel backup handle the phpbb stuff? Mr. Bill Quote Link to comment Share on other sites More sharing options...
freddy Posted March 28, 2003 Share Posted March 28, 2003 I'm not sure, i'm going to make backups right now ... I know you CAN make a backup of your db's! Quote Link to comment Share on other sites More sharing options...
freddy Posted March 28, 2003 Share Posted March 28, 2003 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 Quote Link to comment Share on other sites More sharing options...
baseline Posted March 28, 2003 Share Posted March 28, 2003 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 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.