Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (SteveS, Bjab), 37 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#3365 - 09/15/06 02:35 PM Import error
Stan Offline

old hand
Registered: 06/05/06
Posts: 709
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
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#3366 - 09/15/06 03:34 PM Re: Import error [Re: Stan]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Dangit, I forgot to fix that one. Replace line 512 of threads_import.php with this:

Code:
	$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']));


Edited by Rick (09/15/06 03:34 PM)
Top
#3367 - 09/15/06 03:59 PM Re: Import error [Re: Stan]
Stan Offline

old hand
Registered: 06/05/06
Posts: 709
Ok thanks.... that worked now I have this error

Code:
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


Edited by Rick (09/18/06 04:37 PM)
Top
#3368 - 09/15/06 04:06 PM Re: Import error [Re: Stan]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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:

Code:
if ($group > 4) {
	$group = $grouparray[$group];
} // end if


Right after that, add this:

if (!$group) continue;


Edited by Rick (09/15/06 04:06 PM)
Top
#3374 - 09/15/06 08:31 PM Re: Import error [Re: Rick]
Stan Offline

old hand
Registered: 06/05/06
Posts: 709
ok that is working.... thanks... !!!!
Top
#3461 - 09/18/06 03:12 PM Re: Import error [Re: Stan]
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
Has the importer file that caused Stan's problems been corrected, or will I also run into the same problem?
Top
#3463 - 09/18/06 03:19 PM Re: Import error [Re: Daryl Fawcett]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#3465 - 09/18/06 04:22 PM Re: Import error [Re: Rick]
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
I was referring to the release itself.

Will the importer file be corrected for the release of version 7 itself?
Top
#3466 - 09/18/06 04:23 PM Re: Import error [Re: Daryl Fawcett]
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
Are you also aware of the width of this topic?

I need to scroll over just to read the posts.
Top
#3468 - 09/18/06 04:36 PM Re: Import error [Re: Daryl Fawcett]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image