[BETA] SMF 1.1 to phpBB3 Convertor

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
Scam Warning
apc01
Registered User
Posts: 3
Joined: Sun Jul 07, 2013 4:30 am

Re: [BETA] SMF 1.1 to phpBB3 Convertor

Post by apc01 »

I just ran the converter on a large forum. The conversion progressed for about 2 hours, reached the final stage and then crashed with the following error:

Server error

The website encountered an error while retrieving http://www.domain.com/phpbb3/install/in ... anguage=en. It may be down for maintenance or configured incorrectly.
Reload this web page.
Press the reload button to resubmit the data needed to load the page.
Error code: 500


Reloading the page didn't fix it and so I had to terminate the process and will have to run it over again once this issue is fixed.

Could someone please let me know what caused this error and how to overcome it?

Thanks.
apc01
Registered User
Posts: 3
Joined: Sun Jul 07, 2013 4:30 am

Re: [BETA] SMF 1.1 to phpBB3 Convertor

Post by apc01 »

I just re-ran the converter and it crashed after several hours with the same error after stage 17/17.

Te data seems to have been transferred successfully.

Don't want to be stuck with SMF so all suggestions most welcome.

Thanks.
User avatar
Lumpy Burgertushie
Registered User
Posts: 68181
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [BETA] SMF 1.1 to phpBB3 Convertor

Post by Lumpy Burgertushie »

check the phpbb board to see if it is working properly.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
apc01
Registered User
Posts: 3
Joined: Sun Jul 07, 2013 4:30 am

Re: [BETA] SMF 1.1 to phpBB3 Convertor

Post by apc01 »

I did check the board and it is still in maintenance mode.

If I run the converter again it gives me the option of continuing, but then goes straight to the original error.
thisizaremix
Registered User
Posts: 3
Joined: Wed Nov 20, 2013 7:28 pm

Re: [BETA] SMF 1.1 to phpBB3 Convertor

Post by thisizaremix »

I used the following script to fix the attachment issue on a recent convert from SMF to PHPBB and it erased all of my attachments from my original smf directory. It changed all of the names of the attachments when they were moved to the files directory. Is there anyway to reverse this?

Code: Select all

<?php

@mysql_connect('localhost', '*****', '*****') or die(mysql_error());
@mysql_select_db('*****_*****') or die(mysql_error());

$prefix = 'phpbb_';
$olddir = '/home2/*****/public_html/*****/attachments/';
$newdir = '/home2/*****/public_html/*****/phpBB3/files/';

$list = scandir($olddir);
for ($i = 1; $i <= 2; $i++) array_shift($list);

foreach ($list as $file)
{
        $newfile = substr($file, strpos($file, '_') + 1);
        $newfile = substr($newfile, 0, strlen($newfile) - 32);
        if (substr($newfile, -5) == 'thumb')
        {
                $newfile = 'thumb_'.substr($newfile, 0, strlen($newfile) - 6);
        }
        $newfile{strrpos($newfile, '_')} = '.';
        echo $newfile.'..               ';
        if (@rename($olddir.$file, $newdir.$newfile))
        {
                echo "OK\n";
        }
        else
        {
                echo "ERROR\n";
        }
}

$result = mysql_query('SELECT `real_filename` AS `name` FROM `'.$prefix.'attachments` WHERE `physical_filename` = \'\'') or print

(mysql_error());
while ($row = mysql_fetch_assoc($result))
{
        $name = $row["name"];
        @mysql_query('UPDATE `'.$prefix.'attachments` SET `physical_filename` = \''.str_replace(' ', '_', $name).'\' WHERE `real_filename` = 

\''.$name.'\'');
}

?>
thisizaremix
Registered User
Posts: 3
Joined: Wed Nov 20, 2013 7:28 pm

Re: [BETA] SMF 1.1 to phpBB3 Convertor

Post by thisizaremix »

never mind. I have learned to live without the old attachments...
Locked

Return to “[3.0.x] Convertors”