News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[SMF Converter] PHP-Fusion 6.x

Started by SleePy, June 04, 2008, 11:57:39 PM

Previous topic - Next topic

thomasdk81

Quote from: TE on January 07, 2011, 10:25:58 AM
thomasdk81,
please try the attached version....

Thank you for the reply.
I removed all the sections but the attachments because the forum is active and new posts and users shouldn't be deleted.

When I run the converter with the sql you attached I get this:
Warning: set_time_limit(): Cannot set time limit due to system policy in /customers/jacoer.dk/jacoer.dk/httpd.www/convert.php on line 29
PHPFusion 6.0.x to SMF Converter
Converting...
Converting attachments... Fatal error: Call to undefined function getAttachmentFilename() in /customers/jacoer.dk/jacoer.dk/httpd.www/convert.php(1109) : eval()'d code on line 2

ThorstenE

ok, maybe your convert.php is an older version.. please use the attached one..

thomasdk81

Hi, sorry for my late respons.

When I run the script I get:
Converting attachments... Unsuccessful!
This query:

    TRUNCATE `jacoer_dk`.smf_attachments
    LIMIT 0, 500;

Caused the error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 500' at line 2

ThorstenE

can you attach your modified phpfusion6_to_smf.sql IIRC your version covers only attachments, right?

thomasdk81

Sure :)
I dont touch the convert.php, but i'll attacht it to be sure.

ThorstenE

find:
---*
/******************************************************************************/
--- Converting attachments...
/******************************************************************************/

replace with:
/******************************************************************************/
--- Converting attachments...
/******************************************************************************/

---* above the section header is the problem.

thomasdk81

Wow... thats just stupid of me :D

It worked!! thank you so much  ;D :laugh:

Advertisement: