Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 215
enthusiast
enthusiast
Joined: Jun 2006
Posts: 215
I am trying to upgrade my UBBThreads 6.5.4 to 7.0 (and to 7.0.2)
But I have problem using importers .

I first rename my old ubbthreads/ to ubbthreads.654/ , and place 7.0 to ubbthreads/ directory. And then copy threads_import.zip's content to importers/ directory.

After bring up ubbthreads/importers/threads_import.php in browser , It shows cannot connect to MySQL error , and I know I have to edit parameters in includes/config.inc.php .

I open config.inc.php , and found it is almost empty , just two lines :

Code
$VERSION = "7.0";
$config = array ();

I then copy my OLD threads.654/includes/config.php's content to it , except the $VERSION parameter.

After bring up threads_import.php in browser , it still shows cannot to mysql server , I feel strange , and check the parameters ...

Code
$VERSION = "7.0";
$config['dbtype'] = "mysql";
$config['dbserver'] = "db";
$config['dbuser'] = "xxx";
$config['dbpass'] = "yyy";
... (skip)...

These settings are just OK , and I can connect manually. I don't know what's wrong ... I just don't know what parameters it needed.

After I inspect into new ubbthreads's mysql.inc.php , I found
Code
mysql_connect($config['DATABASE_SERVER'],.....
I finally realized that the parameters's name are changed !!!
Why isn't there a script to transform UBB6.5's parameters name to UBB7 !?

Where can I find all UBB7's correct parameters in config.inc.php ? Why nobody else has this problem ?


English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1
config.inc.php is created during the install automatically. It's the file that your control panel settings are saved to. The software comes with that 2-line version, but when I check mine on the server it's 231 lines long. I don't recall exactly, but the db info is probably asked of you during the install - you shouldn't have to edit that file.

PS - You probably should've left your old install directory as-is and created a new one for 7.x. Otherwise, all your search engine links will be broken or at the very least cause quite a bit of confusion. I would undo that, install 7.x to a new directory, and then install the redirect scripts when you're up and ready to go.

Last edited by jgeoff; 12/25/2006 2:58 PM. Reason: P.S.

GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 215
enthusiast
enthusiast
Joined: Jun 2006
Posts: 215
So , I have to first create a new DB , install UBB7 , and finally import old DB to new DB ?

Is there any way to skip 'create new DB , install UBB7 ' step ?


English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I installed from .Classic, not .Threads, but I'm still gonna say yes, you need to create a new database for 7.x. Did you follow the instructions in the 7.x Install Guide? After installation, you'd run the appropriate importer (From UBB.threads 6.5.x) available in the Members Area...



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
I am half way through doing this now... (almost 24 hours so far frown )

What I did was...

1) Create a copy of my 6.5.x database
2) Create a new folder for threads 7.x under my domain
3) Install threads 7.x into new folder
4) Run impoter on copy of 6.5.x database.

The original forums stay up and you should be able to log into the new ones as soon as groups and members have been imported (ie once it starts on the topics)

There may be another method, but this way if the import fails, the original forums remain untouched.

The only major item remains to be done is to change lots of links frown

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
Standard Upgrade Procedure:
1. Backup your current (working) install.
2. Install UBB7 to the "Create New User" screen.
3. Run the importer.

Note that your original forums need to be functioning at least for the import, after the import you can replace the url's or old scripts with redirectors to your new forum install.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 469 guests, and 123 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)