FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Converters » Invision 1.1.x to FUD 2.6x ?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Invision 1.1.x to FUD 2.6x ? [message #20358 is a reply to message #20349] Sat, 09 October 2004 19:19 Go to previous messageGo to previous message
CirTap is currently offline  CirTap   Germany
Messages: 5
Registered: October 2004
Karma:
Junior Member

hi,
thanx for looking at this.

I changed these lines
(68) set_time_limit( ((substr(PHP_OS, 0, 3) == 'WIN') ? 60000 : -1) );
(75) if (!__WEB__ && $FILE_LOCK == 'Y') { 

FILE_LOCK seems to be some installer or admin thing which I think I can ignore anyway in this situation: it runs in the browser, and on my localhost there's not that much traffic for the need to "take down" the forum <g>

However, it now stops in line 168 with
Unknown column 't_default' in WHERE clause
Query: SELECT id FROM fud26_themes WHERE t_default='Y' AND enabled='Y' LIMIT 1

and in fact: both fields do not exist (anymore) in "fud26_themes", but some "theme_opt" which looks like their "bit-mask" successor Smile
I only have 1 entry with theme_opt = 3 so I changed this to
$u->theme = q_singleval("SELECT id FROM {$DBHOST_TBL_PREFIX}themes WHERE theme_opt=3 LIMIT 1");


now, next prob when converting users in users_reg.inc fud_user_reg::reg_user()
$users_opt is null, nada, nix, so the SQL in line 135
- - > ".$this->users_opt.",
results in plain void for this
- - > ... NULL, , 0 )

thus in ipb.php(197) I added the default value I found in the users-table: 4488117, although I have no idea how this will come out later Smile
$u->display_email = $obj->hide_email ? 'N' : 'Y';
$u->users_opt = 4488117;


next run and the next missing field in fud26_users: avatar_approved, so I simply removed this fiels (line 276) from the UPDATE statement.

next run: duplicate entry.
The "alias" field of the $u object is not assigned; went back to line 182 and added "alias" to make them this triade:
$u->alias = $u->login = $u->name = $obj->name;

This finally gives me all the members, but then .. Smile

The "buddy/user_ignore" routine stops with
Undefined index: 1 in /path/to/ipb.php on line 297
INSERT INTO fud26_user_ignore (ignore_id, user_id) VALUES (3, )

there seems to be some problem with the new user_ids, either because I did/did not TRUNCATE the users table on each run of FUD or for whatever reason. I dunno if "Anonymous" must be user_id 1 -- it's gone now and I'll reinstall FUD to get a new clean forum Smile

Now, before I try digging any further in this (FUD 2.5?) converter, any more obstacles in my way from IPB 1.1.2 to FUD 2.6.6?

Thanx,
CirTap
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Converting?
Next Topic: phpBB. Invalid conversion section [code].
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 02 19:02:48 GMT 2024

Total time taken to generate the page: 0.04082 seconds