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
 Error UPDATING FORUM COUNTS in Admin.Count.asp
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

ramongece
Starting Member

Bhutan
40 Posts

Posted - 14 January 2006 :  13:54:53  Show Profile
I have a problem with admin_count.asp file.
I changed my access bd to mysql few time ago.
I click at Update Forum Counts in admin section, and Updating Counts Step 5 of 5, answer this error:

Totals: error '80020009' 
/foros/admin_count.asp, line 498 

Also desappeared archive topics from my forum, and Topics and Post numeric results changed to '0'.
I donīt understand what happened?.
Please help me to comeback to before situation.
Archive topics show again and topics and posts numerics views show again too.

Edited by - ramongece on 14 January 2006 15:15:16

ramongece
Starting Member

Bhutan
40 Posts

Posted - 14 January 2006 :  16:01:19  Show Profile
This line set:

if rs("SumOfF_TOPICS") <> "" then
Response.Write "Total Topics: " & rs("SumOfF_TOPICS") & "<br />" & vbNewline
intSumOfF_TOPICS = rs("SumOfF_TOPICS")


Edited by - ramongece on 14 January 2006 16:01:37
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 January 2006 :  16:02:25  Show Profile  Send ruirib a Yahoo! Message
Access to MySQL conversion is a situation that needs to be dealt with some care. It is quite likely that your problems result from the way the conversion was done. Do you still have the Access Db? I would advise you to follow the recommendations available at this forum on that subject.


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

ramongece
Starting Member

Bhutan
40 Posts

Posted - 14 January 2006 :  16:48:40  Show Profile
quote:
Originally posted by ruirib

Access to MySQL conversion is a situation that needs to be dealt with some care. It is quite likely that your problems result from the way the conversion was done. Do you still have the Access Db? I would advise you to follow the recommendations available at this forum on that subject.


Sorry, my forum runs correctly, but only I have this mistake in updating counts.
Can you help me?
I think error is in null parameters fixed in mysql traslation.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 January 2006 :  17:34:16  Show Profile  Send ruirib a Yahoo! Message
Any other info on the error message, some text, for example?


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

ramongece
Starting Member

Bhutan
40 Posts

Posted - 14 January 2006 :  17:54:46  Show Profile
Only answer:


Updating Counts Step 5 of 5 

Totals: error '80020009' 
/foros/admin_count.asp, line 498 

Thank you for all.
I donīt understant why donīt show archive topics in default page, now.
You know how show archive topics in default page?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 January 2006 :  18:02:03  Show Profile  Send ruirib a Yahoo! Message
Do your forums show a correct value for the topics posted in each one?


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

ramongece
Starting Member

Bhutan
40 Posts

Posted - 14 January 2006 :  18:29:06  Show Profile
No
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 January 2006 :  18:45:31  Show Profile  Send ruirib a Yahoo! Message
I guess that is the problem, in this case. Those counts should be updated in the previous update counts steps, but something must be wrong with the DB. Hard to say what without looking.


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

ramongece
Starting Member

Bhutan
40 Posts

Posted - 15 January 2006 :  03:03:21  Show Profile
Ok.
Maybe somebody knows a same problem.
Iīm waiting some help.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 15 January 2006 :  05:13:57  Show Profile  Send ruirib a Yahoo! Message
Ramon,

I don't remember reading about something like this, but it is possible that someone faced something similar. I have upgraded several Access forums to MySQL and never experienced this. If there is no such experience, only a look at the DB will allow someone to understand what is happening.


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

ramongece
Starting Member

Bhutan
40 Posts

Posted - 15 January 2006 :  11:21:57  Show Profile
Ok.
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 15 January 2006 :  17:33:00  Show Profile
Take a look at the counter fields, if any of the count fields are null try setting them to 0 manually. I had a similar problem long ago with a bad migration to sql server that caused missing default values for the counter fields.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

ramongece
Starting Member

Bhutan
40 Posts

Posted - 16 January 2006 :  10:08:01  Show Profile
quote:
Originally posted by Doug G

Take a look at the counter fields, if any of the count fields are null try setting them to 0 manually. I had a similar problem long ago with a bad migration to sql server that caused missing default values for the counter fields.



Where is the counter field are you telling?, please.
In my MySQL server or in admin_count.asp file.
If in my SQL server, can you tell me in what DB table? _forum, _topics, _totals.
Thank you.

Edited by - ramongece on 16 January 2006 10:10:33
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 16 January 2006 :  17:19:19  Show Profile
Look in the FORUM_TOTALS table.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

ramongece
Starting Member

Bhutan
40 Posts

Posted - 16 January 2006 :  19:56:52  Show Profile
Iīve seen in FORUM_TOTALS table and all fields are zero.
Please, another idea.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.48 seconds. Powered By: Snitz Forums 2000 Version 3.4.07