|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
I may have asked this before, am trying to import to versions 7 again
I did the install of the software, that works..
Then went to do the import script now this error
Parse error: parse error, unexpected T_STRING, expecting ')' in /homepages/1/d118328893/htdocs/clubadventist/forum/importers/threads_import.php on line 512
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Dangit, I forgot to fix that one. Replace line 512 of threads_import.php with this: $dbh->do_placeholder_query($query,array($new_user,$user_data['U_Email'],$user_data['U_Fakeemail'],$user_data['U_Signature'],$raw_sig,$user_data['U_Homepage'],$user_data['U_Occupation'],$user_data['U_Location'],$user_data['U_PostsPer'],$user_data['U_Display'],$user_data['U_Notify'],$user_data['U_Extra1'],'',$user_data['U_Extra2'],$user_data['U_Extra3'],$user_data['U_Extra4'],$user_data['U_Extra5'],$user_data['U_Picture'],'1',$user_data['U_Visible'],$user_data['U_AcceptPriv'],$user_data['U_Title'],$user_data['U_FlatPosts'],$user_data['U_Color'],$user_data['U_TimeOffset'],$user_data['U_Totalposts'],$user_data['U_ShowSigs'],$rating,$user_data['U_Rates'],$user_data['U_PicWidth'],$user_data['U_PicHeight'],$user_data['U_AdminEmails'],$user_data['U_Hobbies'],$user_data['U_Birthday'],$user_data['U_ShowBday'],$config['TIME_FORMAT'],$user_data['U_FloodControl']));
Last edited by Rick; 09/15/2006 3:34 PM.
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Ok thanks.... that worked now I have this error
SQL Error #: 0
Query: insert into ubbt_FORUM_PERMISSIONS (GROUP_ID,FORUM_ID,FORUM_PERMISSION_CAN_READ,FORUM_PERMISSION_CAN_CREATE_TOPIC,FORUM_PERMISSION_CAN_CREATE_REPLY) values ( '' , 100 , 1 , 0 , 0 )
this was on importers/threads_import.php?ubb=boards
Last edited by Rick; 09/18/2006 4:37 PM.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Hmm, that looks like perhaps you have some bad group, maybe empty, in your old forums. We can try to account for that in the importer. Line 704 of threads_import.php looks like this:
if ($group > 4) {
$group = $grouparray[$group];
} // end if
Right after that, add this: if (!$group) continue;
Last edited by Rick; 09/15/2006 4:06 PM.
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
ok that is working.... thanks... !!!!
|
|
|
|
Joined: Jun 2006
Posts: 626
Addict
|
Addict
Joined: Jun 2006
Posts: 626 |
Has the importer file that caused Stan's problems been corrected, or will I also run into the same problem?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
I'd apply both of those fixes. The first one definitely needs to be done, the second one is a good one to put in just in case you have any messed up groups.
|
|
|
|
Joined: Jun 2006
Posts: 626
Addict
|
Addict
Joined: Jun 2006
Posts: 626 |
I was referring to the release itself.
Will the importer file be corrected for the release of version 7 itself?
|
|
|
|
Joined: Jun 2006
Posts: 626
Addict
|
Addict
Joined: Jun 2006
Posts: 626 |
Are you also aware of the width of this topic?
I need to scroll over just to read the posts.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Yes, the importers are bugfixed and updated at the same time we put out a new version 7 update. So with RC1, both of these will be fixed.
As for the width of the topic, there is one post where it has a long string of words with no spaces. In a browser that supports it, such as Firefox, you'll get a horizontal scroll bar in the post itself so it doesn't stretch the whole layout. IE6 doesn't support this, though I think IE7 does.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Geoff),
1,124
guests, and
219
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|