Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
Hi All,
For a few years I run UBBThreads and a MySql database on a computer at home.
I now desided to move it to an official Webhoster.
I did a fresh install on the website and everything works well.
But...how do I put the content of the forum into the new install?
I also tried to make a dump of the old database ans recover that on the new one.
It all gives errors.
Anyhow..The question is: how can I completly move the forum to the new place with all the content????
Problem is...I am a newbie at databases!!!

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, moving the forum files doesn't move any data - for that you need to dump the database (backup) from the old server and import it into MySQL on the new server.

You can do this with command line access (best). Intructions here:
http://www.ubbcentral.com/support/docs/ubbthreads/UBBthreads_backup_transfer.html

Or use something like phpMyAdmin on each server to export the database and import it on your new server.

On the new server, if you did a fresh install, that'll probably confuse things, you'll probably need to drop the tables in the database you created for the new install.... so it's an empty database ready for your old data.

Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
[]JoshPet said:


Or use something like phpMyAdmin on each server to export the database and import it on your new server.

On the new server, if you did a fresh install, that'll probably confuse things, you'll probably need to drop the tables in the database you created for the new install.... so it's an empty database ready for your old data. [/]

That's what I did.
When I do a fresh install it also makes a new database structuur next to the structuur I restored.

When I remove all what is in the database and than I restore the backup all I get is errors.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]
When I remove all what is in the database and than I restore the backup all I get is errors. [/]

The specifics of that is what will probably give the best clues.

Depending on the dump - if the tables already exist, you'll get errors when it tries to recreate the tables.

Unless you specifically only dumped data - and not structure and data.... or didn't include the 'drop tables' when making your backup.

Typically, it needs a totally empty database to import to. No tables, no data. Empty.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
also if you have any mods that affected the database you may have to put them in the threads install in basically the same place as they were...

Sponsored Links
Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
I am Nearly There!

The thing was that all tables where written With capitals and the old table where not:
for example w3t_users versus w3t_Users.
So the data couldn't find a maching table to put it in.

However, I still have one problem.
When I click "myHome" this error shows up:

SQL ERROR: Database error only visible to forum administrators
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/videomontageforum.nl/httpdocs/ubbthreads/mysql.inc.php on line 131

If you want to see it this is the url:
http://www.videomontageforum.nl/ubbthreads/ubbthreads.php
It is in Dutch and "MyHome" is "mijn Profiel".
Thanks for any help!!!

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
need ya to go to where the mysql logs are and get the actual error that will point you and us in the right direction.

Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
I desided to start over again.
How can it be that I cannot delete all files from the server?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
probably not chmodded for your user acct. check the ownership and make sure the files you want to delete are set 644 or 666. if admin you can also chowner of the files.

Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
[]foppen said:

The thing was that all tables where written With capitals and the old table where not:
for example w3t_users versus w3t_Users.
So the data couldn't find a maching table to put it in.

However, I still have one problem.
When I click "myHome" this error shows up:

SQL ERROR: Database error only visible to forum administrators
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/videomontageforum.nl/httpdocs/ubbthreads/mysql.inc.php on line 131

[/]

I finaly got the whole thing working.
It took a while before I saw the the difference between AdressBook and Adressbook.
I also had the troubel that some other programm used an other database and had to put in the same database as UbbTreads
But it worked.
Now I am going to put in all the hacks that I was using before.
Thanks all for the help.
www.videomontageforum.nl

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)