PDA

View Full Version : Phorum import fails



hæhre
Thu 3rd May '07, 7:22pm
I have a Phorum 5.0.16 installation I want converted to vb 3.6.

This is a clean install, i get to 006.php (posts import) then I only get error messages like:

"invalid post object, skipping.userid"

I've also seen some:

"Found avatar post and DID NOT imported to the mysql database"-messages.

The source board has been open to guest posting and I want to do the same with vb.

I got 1 (the first) post converted one time, but only errors after that.

All the other scripts has run fine.

Jerry
Fri 4th May '07, 2:35pm
Did you allow guest posting on your Phorum ?

hæhre
Fri 4th May '07, 2:39pm
Just an update on this as I gave it some more tries and might give some more clues.

Just running the Phorum5 importer gives the "invalid post object, skipping.userid" messages on all posts and imports nothing.

I tried changing the line:

$try->set_value('mandatory', 'userid', $user_ids_array["$post_details[userid]"]);

in phorum5/006.php into:

if ($user_ids_array["$post_details[userid]"])
{
$try->set_value('mandatory', 'userid',$user_ids_array["$post_details[userid]"]);
}
else
{
$try->set_value('mandatory', 'userid',"0");
}

With that I get the "Found avatar post and DID NOT imported to the mysql database" messages on all but the very first post which imports well.

hæhre
Fri 4th May '07, 2:39pm
yes, my phorum has been running with guest posting, and optional accounts if people register.

hæhre
Wed 9th May '07, 6:28am
anyone?

Jerry
Wed 9th May '07, 1:52pm
I have updated ImpEx, download and overwrite :

/impex/systems/phorum5/006.php

hæhre
Wed 9th May '07, 4:04pm
Thanks Jerry, but I'm still butting my head against the wall after downloading the new impex. :(

What is happening now is the same as before (after I added the userid part from the post above). I get the "Found post and DID NOT imported to the mysql database"-message on all posts except the very first post which imports successfully.

Jerry
Wed 9th May '07, 7:04pm
Thanks Jerry, but I'm still butting my head against the wall after downloading the new impex. :(

What is happening now is the same as before (after I added the userid part from the post above). I get the "Found post and DID NOT imported to the mysql database"-message on all posts except the very first post which imports successfully.

Then there is an issue with the id's being used for importpostid's.

set dupe_checking to false in ImpExConfig.



define('dupe_checking', false);

hæhre
Wed 9th May '07, 10:50pm
That was it, thanks a bunch :)