Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (packlite, Sirdude, 1 invisible), 24 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/06
Posts: 28
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 54
driv 35
ntdoc 32
Sirdude 30
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#3365 - 09/15/06 11:35 AM Import error
Stan Offline
addict

Registered: 06/05/06
Posts: 430
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 Dec - 2008 I am using version 7.4.1

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

Star Wars Freaks?
http://beststarwarsstore.com/

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

*****

Registered: 06/04/06
Posts: 7993
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: 430
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 Dec - 2008 I am using version 7.4.1

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

Star Wars Freaks?
http://beststarwarsstore.com/

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

*****

Registered: 06/04/06
Posts: 7993
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: 430
ok that is working.... thanks... !!!!
_________________________
As of Dec - 2008 I am using version 7.4.1

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

Star Wars Freaks?
http://beststarwarsstore.com/

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

Registered: 06/05/06
Posts: 445
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: 7993
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: 445
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: 445
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: 7993
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
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156016 Posts

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