Advertisement:

Making a new installation of Yabb SE before upgrading to SMF...

Aloittaja Shadowcast, heinäkuu 28, 2006, 04:11:11 AP

« edellinen - seuraava »

Shadowcast

I'm administrating a Yabb SE board that needs to be upgraded to SMF. And for "dry run", I've copied the database to another server and copied the forum software to another directory. Now I must change the "new forum" to use the copied database instead of the original. But when I browse to the new location, all the links point at the original forum. I am no PHP expert, but tried to look from the code and it seems to get the URL from $sourcedir or $scripturl that points to the directory the original forum is located in. How can I change this?

The forum is Yabb Se 1.5.5, and I haven't installed it originally so I don't know where such settings can be set. The reason I'm doing this "dry run" is to see how the upgrade goes, and since I couldn't backup the database using the Yabb SE's Backup Database -function - the script always timed out. I had to export the tables one by one, and then chop the backup scripts to smaller files and upload them to the other database. So just in case everything didn't go as planned, I'm upgrading a copy of the forum first. And if I'm left with a broken board, I still have the original functioning Yabb SE -forum and I can loon into the upgraded copy and see what went wrong and my users still have the original forum, and I won't have to risk restoring the original database from what may be a deficient backup.


H

Someone may be able to help you although I've never used YabbSE so I can't give you a direct answer.

If you database isn't that big you can make a copy of the tables via phpmyadmin, duplicate the files and then edit the yabbse config file (config.php, settings.php or config.inc.php, something like that) to point to the new database tables
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

charlottezweb

If the database isn't too large, you should be able to copy/restore the old database on the new server and drop in the files and you'd be up and running on YaBBse.  Then upgrade/convert to SMF from there.  The SMF conversion should be separate from the problem you're describing.

Are you using a different web address/path on the moved location?  If not, you shouldn't be having problems.


Shadowcast

Yes, path is different. The original forum is at /yabbse -directory and the new installation is in /NewForum -directory. The database is on a new server. I didn't get PHPMyAdmin to work so my friend made a script that exported the tables one by one, and I uploaded them in the same manner.

But the problem is that all the links in my new installation points at the original forum directory, and I looked from the code that all URLs in the links and forms (form action) are generated dynamically so the URL/path has to come from somewhere ´- whether from the database or some config-file.

And yes, I found them from settings.php. Thanks guys, I'll keep you posted.


Advertisement: