Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MySql
 Problem with update forum counts...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tuttostranieri
New Member

53 Posts

Posted - 05 October 2006 :  12:19:48  Show Profile  Visit tuttostranieri's Homepage
Hi :)

I have some problem with the function update forum counts on my upgraded installation....

I have checked the forum and i think that all is working fine but when i click on update forum counts the screen freeze on the :"Updating Counts Step 1 of 5


Topics: ................................................
"

no errors will showed olso after 20 minutes.

On the old version all is working fine, the procedure end in 5 minuts (35 mb database on my sql)

Can you help me ???

THX :)

www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 05 October 2006 :  14:03:07  Show Profile  Visit HuwR's Homepage
well, the admin_count.asp file was not actually updated so there is no difference in the code at all.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 October 2006 :  14:07:48  Show Profile  Send ruirib a Yahoo! Message
So, are you using the same connection string?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

tuttostranieri
New Member

53 Posts

Posted - 06 October 2006 :  19:17:42  Show Profile  Visit tuttostranieri's Homepage
yes

strConnString = "driver={MySQL ODBC 3.51 Driver};option=16387;server=62.149.XXX.XXX;user=Sql77XXX;password=XXXXXXXX;DATABASE=Sql77XXX_Y;" '##MySQL w/ MyODBC v3.51


www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 06 October 2006 :  19:29:49  Show Profile  Visit HuwR's Homepage
try changing option=16387 to option=4
Go to Top of Page

tuttostranieri
New Member

53 Posts

Posted - 06 October 2006 :  19:59:52  Show Profile  Visit tuttostranieri's Homepage
now i receive:

Microsoft VBScript runtime error '800a000d'

Type mismatch

/forum/inc_header.asp, line 502


:(

www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it

Edited by - tuttostranieri on 06 October 2006 20:00:04
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 07 October 2006 :  03:38:26  Show Profile  Visit HuwR's Homepage
OK, I guess you need to set it back to option=16387 then.

could you provide us with the following information.
1) What version of MySQL is your database
2) What version of MyODBC is installed on your server

It generally helps if you provide this information when you ask for help, otherwise we are just guessing
Go to Top of Page

tuttostranieri
New Member

53 Posts

Posted - 09 October 2006 :  13:02:01  Show Profile  Visit tuttostranieri's Homepage
ok i'll get the information with my provider...

www.tuttostranieri.it
www.tuttostranieri.org
admin@tuttostranieri.it
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 09 October 2006 :  17:50:28  Show Profile  Visit HuwR's Homepage
ok, that would be a great help thanks
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 09 October 2006 :  18:37:13  Show Profile
When you say "upgraded installation" all you did was upgrade your forum files to the latest version?
Do you have any mods installed?
From what Snitz Forums version did you upgrade from?

Support Snitz Forums
Go to Top of Page

cobrachen
Starting Member

48 Posts

Posted - 31 December 2007 :  16:41:42  Show Profile
I didi some search on this forum and did not find the exact problems I have. I am moveing data to MySQL with ODBC 3.51 and forum 3.4.6.

I am moving my live data from SQL server to MySQL and so far I have Config_New, Forum, Members, two archive tables moved over. When I ran the forum count to update the number, the code will count the archive topics with correct number, but return a very high number of replies number which should be none. Then I received a type mismatch error at step 4.

So, I have correct topic number, 0. Correct archive archive topic number, correct replies number, 0 and very high archived replies number, almost as 1.5 times of the total replies and this error.

I compare the Forum_count table and find out the column order are different from the SQL Server and I did changes to make it matched. The same also happened to Forum table and changes I made with the order of columns.


I believe due to this error, The link to open the archive posts were missing and how can i correct this and have the link and counts works?

Thanks.

Edited by - cobrachen on 31 December 2007 16:55:50
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 01 January 2008 :  09:36:58  Show Profile  Visit NiteOwl's Homepage
quote:
Originally posted by HuwR



could you provide us with the following information.
1) What version of MySQL is your database
2) What version of MyODBC is installed on your server



Hi, I am also having a problem running this, (and have for a couple of years), my drivers are this:

MySQL ODBC 3.51 Driver
MySQL v 4.0.26
The server operating system for the MySQL is Linux .

In my config I use the DSN option as I was never able to get a connect string to work. Is there a suggestion that I might try so that I can update my counts?


-=NiteOwl=-
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 01 January 2008 :  09:45:16  Show Profile  Visit modifichicci's Homepage
You can use this routine written by ruirib

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61685

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

cobrachen
Starting Member

48 Posts

Posted - 01 January 2008 :  10:03:14  Show Profile
quote:
Originally posted by modifichicci

You can use this routine written by ruirib

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61685



It worked great and update the count correctly. Also brought back the link to archive topics.

Thank you very much.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07