Page 1 of 1

[SOLVED] Old Database to New Install

PostPosted: Wed Oct 10, 2007 7:06 am
Author: papapnoi
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://clanhbk.com

PHP Version: currently 4 - but back and forth with 5 until i can fix this
MySQL Version: 4.1.22


What was done before the problem appeared?
Server was upgraded to PHP5 and I was running Integramod 1.4.0 with phpBB 2.0.21. Therefore it took the whole site down. I reinstalled PHP4 and everything came back up. I upgraded to 1.4.1 and phpBB 2.0.22 and everything was working fine. I upgraded the server back to PHP5, and then the same problem the site would not show.


What was done to try to solve the problem?
Downgraded to php4 again to bring site back up. I put in a brand new install of phpBB 2.0.22 and Integramod 1.4.1 in a new directory to test to see if it would stay when php5 was installed and the new install did show up on php5. I then tried copying the database over to the new install but it did not work. I restored the new install database and everything worked again. I went into the config.php file and edited it to point to the old database it worked great the portal page showed and everything, but after logging in it brought be back to the old directory which doesn't show in php5. Can anyone help me have the old database point to the new directory??



De.scription and Message

Read above for the problem.

The two directories:
http://clanhbk.com/forum1 - OLD
http://clanhbk.com/forum5 - NEW

When you are on forum5 some links default to the forum1. Member list, usergroups, etc show up on forum5 and match forum1, but the forum does not. Forum5 forums are empty, but sometimes the forum link on the page goes to forum 1.

Re: Old Database to New Install

PostPosted: Wed Oct 10, 2007 9:10 am
Author: papapnoi
Help?? Please?

Re: Old Database to New Install

PostPosted: Wed Oct 10, 2007 10:57 am
Author: Helter
Please do not bump your post on the same day as your first post.

You need to edit the db
in phpbb_config, find and update the following entries

cookie_path -if your forum is in your web root, use"/" if your forum is in a folder such as "forum5" use "/forum5"
cookie_name - you should choose a new cookie name such as "clanhbk_phpb"
cookie_domain - update this, only if your url has changed. Yours should read ".clanhbk.com" Dont forget the "." prefix
news_base_url - update to point to your forum such as "http://www.clanhbk.com/forum5/"
.script_path - "/forum5/"
server_name - "www.clanhbk.com"
xs_ftp_path - this should be the absolute path to your forum, such as "/home/username/public_html/forum5/"

Re: Old Database to New Install

PostPosted: Wed Oct 10, 2007 12:17 pm
Author: papapnoi
Thanks for all your help. I will try that.

Just to let you know, i hate when people bump posts as well. But when i replied to my post, when my topic was still on top of the page. I was not trying to bump it. Sorry for the confusion. take care and thanks again.