Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: QurazyQuisp on September 08, 2004, 03:54:33 PM

Title: Error While Converting from VB3
Post by: QurazyQuisp on September 08, 2004, 03:54:33 PM
I'm attempting to convert from VB3 to SMF and I recieve this error when converting:

Converting members...
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/admin/public_html/forum_smf/smf.php on line 289

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/admin/public_html/forum_smf/smf.php on line 299
successful.

You can see the result at www.thesimstwo.com/forum_smf (no members were converted)
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 09, 2004, 12:41:02 AM
Please find, in the converter:

$result = mysql_query("
SELECT $select
FROM {$from_prefix}user AS u
LEFT JOIN {$from_prefix}usertextfield AS ut ON (ut.userid = u.userid)
WHERE u.userid != 0
LIMIT $_REQUEST[start], 500");


And replace it with:

$result = mysql_query("
SELECT $select
FROM {$from_prefix}user AS u
LEFT JOIN {$from_prefix}usertextfield AS ut ON (ut.userid = u.userid)
WHERE u.userid != 0
LIMIT $_REQUEST[start], 500") or die(mysql_error());


What error message is displayed?

-[Unknown]
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 09, 2004, 06:00:52 PM
Now I get this...

Converting members...
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/admin/public_html/forum_smf/smf.php on line 288

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/admin/public_html/forum_smf/smf.php on line 298
successful.
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 09, 2004, 09:44:24 PM
Nevermind, the Error is this:  Converting members... Unknown column 'u.birthday_search' in 'field list'
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 10, 2004, 04:11:58 AM
Okay, find:
'birthdate' => 'u.birthday_search',

Replace:
'birthdate' => "IF(u.birthday != '', CONCAT(RIGHT(u.birthday, 4), '-', LEFT(u.birthday, 5)), '0000-00-00')",

Strange... why doesn't it exist?  Anyway, that should be comparable.

-[Unknown]
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 10, 2004, 03:05:59 PM
That seemed to work. Thanks! :)
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 10, 2004, 03:40:52 PM
Now it doesn't seem to be converting any posts past october of last year.
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 10, 2004, 04:06:03 PM
That's quite odd.  Have you tried recounting totals?

Has vBulletin archived any of these?

Any other problems with the converter?

-[Unknown]
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 10, 2004, 06:06:33 PM
Well, it is quite weird... all the posts are evidently there, but it shows that the newest one is from october on the front page..... www.thesimstwo.com/forum
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 11, 2004, 12:05:35 AM
By the by, I have a personal friend who I can guarantee would be interested in your forum.  I'll try to remember to mention it to her ;). (she's like a Sims nut.)

This is actually a problem with most of the converters - they don't do statistics properly yet, they just get the data over.  Luckily, if the data's there, the statistics can always be calculated ;).  Just go to Admin -> Forum Maintenance (at the bottom) -> Recount all forum totals and statistics.

It should work properly at that point... and, please please do mention any problems you have.

-[Unknown]
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 11, 2004, 01:04:42 AM
Well, that seems as if that was the only problem I had, and I've tried to reorder it twice and it says that it was completed, but it is still the same from the front page...

I'm glad I'm away from vbulletin now, I hate the admin panel, it is nearly identical to IPB's admin panel, and it is just junk to try and figure out how to do something that you want to do.

As for the site, I'm working on getting the acual site up, it is going to be pretty much a free replica of www.thesimsresource.com, Its just I've been having troubles finding a coder to finish up the last part of the coding that needs to be done for the custom made cms. I think I've found one that can finish the site before the game launches.

We'll see.
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 11, 2004, 01:13:10 AM
I don't suppose I could ask for an administrator/ftp account?

The recount should have worked... hrrm...

-[Unknown]
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 11, 2004, 01:24:27 AM
Quote from: QurazyQuisp on September 11, 2004, 01:04:42 AM
a free replica of www.thesimsresource.com

I told my friend... she seemed to be quite extactic about this clause ;).

-[Unknown]
Title: Re: Error While Converting from VB3
Post by: QurazyQuisp on September 11, 2004, 12:53:19 PM
Hehe, Sure I'll send ftp and my administrator account for smf over.

I'm on the job of narrowing down the three programmers that are interested in making it happen into one, and I should have the programmer of choice done by today or tomorrow, I'm quite happy. ( If I do this right, I have a feeling that it could potentially be a big site. If it does, I have www.thesimsone.com as well so I can branch off to "The Sims" content as well as "The Sims 2")
Title: Re: Error While Converting from VB3
Post by: [Unknown] on September 11, 2004, 04:10:27 PM
Nice... and, as I pmed you... whether through my intervention or yours, it now seems okay...?

-[Unknown]