Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 registered (blaaskaak, Harold), 16 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/08/07
Posts: 48
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#3365 - 09/15/06 11:35 AM Import error
Stan Offline
addict

Registered: 06/05/06
Posts: 416
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
_________________________
As of July - 2008 I am using version 7.3.1

Do shameless self promotion of all your non-adult sites here
http://freeurlexchange.com/

NEW Christian Web Date
http://christianwebdate.com/

Top
#3366 - 09/15/06 12:34 PM Re: Import error [Re: Stan]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
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 12:34 PM)
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3367 - 09/15/06 12:59 PM Re: Import error [Re: Stan]
Stan Offline
addict

Registered: 06/05/06
Posts: 416
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 01:37 PM)
_________________________
As of July - 2008 I am using version 7.3.1

Do shameless self promotion of all your non-adult sites here
http://freeurlexchange.com/

NEW Christian Web Date
http://christianwebdate.com/

Top
#3368 - 09/15/06 01:06 PM Re: Import error [Re: Stan]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
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 01:06 PM)
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3374 - 09/15/06 05:31 PM Re: Import error [Re: Rick]
Stan Offline
addict

Registered: 06/05/06
Posts: 416
ok that is working.... thanks... !!!!
_________________________
As of July - 2008 I am using version 7.3.1

Do shameless self promotion of all your non-adult sites here
http://freeurlexchange.com/

NEW Christian Web Date
http://christianwebdate.com/

Top
#3461 - 09/18/06 12:12 PM Re: Import error [Re: Stan]
Daryl Fawcett Offline
addict

Registered: 06/05/06
Posts: 431
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 12:19 PM Re: Import error [Re: Daryl Fawcett]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
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.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3465 - 09/18/06 01:22 PM Re: Import error [Re: Rick]
Daryl Fawcett Offline
addict

Registered: 06/05/06
Posts: 431
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 01:23 PM Re: Import error [Re: Daryl Fawcett]
Daryl Fawcett Offline
addict

Registered: 06/05/06
Posts: 431
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 01:36 PM Re: Import error [Re: Daryl Fawcett]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
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.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top


Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Yesterday at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Yesterday at 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

Max Online: 978 @ 06/24/07 08:19 PM