Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
0 registered (), 24 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 07/07/05
Posts: 62
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
Page 2 of 3 < 1 2 3 >
Topic Options
Rate This Topic
#182421 - 04/10/07 03:53 PM Re: Image permission error on import? [Re: Andrew Bienhaus]
Andrew Bienhaus Offline
member

Registered: 04/10/07
Posts: 108
Loc: Binbrook, Ontario, Canada
and, is that user number referenced in the import, ever going to show up anywhere? (if so, I want to know so I can nuke the guy at #0)
_________________________
...usin' da classic UBB, since the beginning of time.
wink -- (and now trying to adapt to this 'upgrade')

Top
#182422 - 04/10/07 04:05 PM Re: Image permission error on import? [Re: Andrew Bienhaus]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Ok, it's actually hiding the real error due to a bug in the importer. I just discovered this on an import I did today as well, and fixing up the importer now so it will show the real error. In the meantime, you can edit the libs/ubbthreads.inc.php file. Around line 804, you'll see a block of code that looks like this:

$smarty->assign("stylesheet",$stylesheet);
$smarty->assign("error",$error);
echo $smarty->fetch("not_right_bare.tpl");

Right after that, add this:

echo "THE ERROR IS:<br><br><b>$error</b><br><br>";

Once that's done then reload the page and you'll see the actual error in bold. A long way to go to get it, but once we get that, then we can see exactly what's going on.

Pear isn't actually needed, it's just referenced as it's in the current include path for PHP.

My first guess is that if you are running mysql 5, then it's currently running in strict mode and there is something about that user where it's trying to input a null value. If that ends up being the case, then you can quickly fix that by running the following SQL command:

SET GLOBAL SQL_MODE='';
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#182423 - 04/10/07 04:20 PM Re: Image permission error on import? [Re: Rick]
Andrew Bienhaus Offline
member

Registered: 04/10/07
Posts: 108
Loc: Binbrook, Ontario, Canada
 Quote:
Importing Adam Clay_dup17 - Adam Clay_dup17 (0) (Duplicate LoginName) (Duplicate DisplayName)
Importing Andrew Bienhaus_dup17 - Andrew Bienhaus_dup17 (1) (Duplicate LoginName) (Duplicate DisplayName)

Warning: mktime() expects parameter 4 to be long, string given in C:\Inetpub\ca.dsm.org\forums\importers\classic_import.php on line 2176
Importing Andrew Chin - Andrew Chin (2)

Warning: html::include(languages/english/generic.php) [function.html-include]: failed to open stream: No such file or directory in C:\Inetpub\ca.dsm.org\forums\libs\ubbthreads.inc.php on line 799

Warning: html::include() [function.include]: Failed opening 'languages/english/generic.php' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\ca.dsm.org\forums\libs\ubbthreads.inc.php on line 799

Notice: Smarty error: unable to read resource: "not_right_bare.tpl" in C:\Inetpub\ca.dsm.org\forums\libs\smarty\Smarty.class.php on line 1088
THE ERROR IS:

Script: C:\Inetpub\ca.dsm.org\forums\importers\classic_import.php
Line#: 517
SQL Error: Incorrect integer value: '' for column 'USER_REGISTERED_ON' at row 1
SQL Error #: 1366
Query: insert into ubbt_USERS (USER_LOGIN_NAME,USER_DISPLAY_NAME,USER_PASSWORD,USER_MEMBERSHIP_LEVEL,USER_REGISTRATION_EMAIL,USER_REGISTRATION_IP,USER_IS_APPROVED,USER_REGISTERED_ON,USER_IS_BANNED,USER_IS_UNDERAGE) values ( 'Andrew Chin' , 'Andrew Chin' , 'taBVMAHxSptfc' , 'User' , '2slow@rogers.com' , '24.101.203.181' , 'yes' , '' , 0 , 0 )


is that what you expected?
should I do the sql thing? (looks like it)
_________________________
...usin' da classic UBB, since the beginning of time.
wink -- (and now trying to adapt to this 'upgrade')

Top
#182424 - 04/10/07 04:26 PM Re: Image permission error on import? [Re: Andrew Bienhaus]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Yep, that's it. If you run that SQL command it should let you do the importer. When I fix the bug with it hiding the error, I'll make some changes to the importer as well so it won't error out on conditions like this.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#182425 - 04/10/07 04:30 PM Re: Image permission error on import? [Re: Rick]
Andrew Bienhaus Offline
member

Registered: 04/10/07
Posts: 108
Loc: Binbrook, Ontario, Canada
It's running now...

Hope there is a log somewhere... saw one error message go by in the forums, something about "Can't import everything..."?

Any idea what that was? \:\)
_________________________
...usin' da classic UBB, since the beginning of time.
wink -- (and now trying to adapt to this 'upgrade')

Top
#182430 - 04/10/07 05:18 PM Re: Image permission error on import? [Re: Andrew Bienhaus]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
I would recommend changing the password of the user whos profile you posted; as you posted their password as well.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#182437 - 04/10/07 06:17 PM Re: Image permission error on import? [Re: Gizmo]
Andrew Bienhaus Offline
member

Registered: 04/10/07
Posts: 108
Loc: Binbrook, Ontario, Canada
thanks... isn't that the encrypted useless one though?
_________________________
...usin' da classic UBB, since the beginning of time.
wink -- (and now trying to adapt to this 'upgrade')

Top
#182440 - 04/10/07 06:36 PM Re: Image permission error on import? [Re: Andrew Bienhaus]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
Passwords in UBB.Classic where plain text.

When you import to threads, the password is MD5ed, but it's still the same password...

So if someone knows the password that it was on UBB.C they will be able to login to UBB.T no problem (as threads compares the MD5 hashes when a login is requested).

Quite simply, the password in UBB.threads is MD5ed as:
md5(talons);
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#182465 - 04/11/07 05:37 AM Re: Image permission error on import? [Re: Gizmo]
Andrew Bienhaus Offline
member

Registered: 04/10/07
Posts: 108
Loc: Binbrook, Ontario, Canada
Ahhhhhh I see. \:\)

Will fix.
Thanks.

Question guys - how do I know, if the import completed successfully?
Is there a flag set somewhere?
Or can someone tell me what the last thing is that it does?

I left it running, and the freakin' murphy's law of microsoft updates kicked in last night and rebooted it at 3am, and I have no idea if the import finished or not... \:\(

Maybe an errorlog somewhere?


Edited by Andrew Bienhaus (04/11/07 05:42 AM)
_________________________
...usin' da classic UBB, since the beginning of time.
wink -- (and now trying to adapt to this 'upgrade')

Top
#182472 - 04/11/07 07:53 AM Re: Image permission error on import? [Re: Andrew Bienhaus]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
The last thing to import is private messages. In the control panel there is a database section that lets you see how many rows each table has. If you see that the ubbt_PRIVATE_MESSAGE_TOPICS has quite a few rows, then more than likely it finished.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
Page 2 of 3 < 1 2 3 >


Shout Box

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

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