Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:Recount Categories Stats ERROR (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:Recount Categories Stats ERROR
#47153
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
I have a site with 1500+ users and over 10,000 posts but have NEVER had a problem with recounting stats.
It runs on Joomla 1.0.13 and FB 1.04 = (EXTREMELY modified) BUT I am on a dedicated server. But still I have never seen the slightest delay in stats count or posting. This just seems so strange. I wonder if the different templates MAY have something to do with it OR just overall configuration.

Something that I HAVE read on this forum. If you have mod latest post running, THIS is killing your server to begin with. If either of you ARE running mod latest posts for FB, try uninstalling that and see what (If anything) changes.
Hazzaa (User)
;-)>
Gold Boarder
Posts: 987
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: United States
Logged Logged
 
Wise men talk because they have something to say.
Fools talk because they have to say something.
***Plato***
joomlame.com
 
The administrator has disabled public write access.  
#47157
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
Hazzaa wrote:
Have you tried reinstalling like I suggested?

Nothing to do after reinstall!

My idea is the problem is the cycle in class.fireboard.php... I'm an engineer, but i have no clear idea to do for resolve this "bug".

Too many cycles in this "while" ....
simbus82 (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Gender: Male PolesineOnLine Location: Italy -> Veneto -> Between rivers Adige and Po Birthdate: 1982-12-26
Logged Logged
 
The administrator has disabled public write access.  
#47158
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
yes you are correct, and if you replace the select statement for categories to only retrieve 1 (or even a for each for the catid's you have) it will run.
coastalfog (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#47159
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
I will go through the code and run some tests tomorrow. I will post what I find.
Hazzaa (User)
;-)>
Gold Boarder
Posts: 987
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: United States
Logged Logged
 
Wise men talk because they have something to say.
Fools talk because they have to say something.
***Plato***
joomlame.com
 
The administrator has disabled public write access.  
#47216
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
I'm not sure about the code, but it looks like it could only run into an infinite loop if you have a thread where no parent==0.
You should run "SELECT COUNT(thread) FROM jos_fb_messages" and "SELECT COUNT(thread) FROM jos_fb_messages WHERE parent=0" on your database, to assure that every thread has its root (parent==0). Both results has to be the same.
Goodbyte (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#47217
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
Goodbyte wrote:
I'm not sure about the code, but it looks like it could only run into an infinite loop if you have a thread where no parent==0.
You should run "SELECT COUNT(thread) FROM jos_fb_messages" and "SELECT COUNT(thread) FROM jos_fb_messages WHERE parent=0" on your database, to assure that every thread has its root (parent==0). Both results has to be the same.


SELECT COUNT(thread) FROM jos_fb_messages = 10814

SELECT COUNT(thread) FROM jos_fb_messages WHERE parent=0 = 2078

2078 messages are without a parent?

The meaning of this???


But this number is so similar to the number of thread and to the number of responses....

2070 threads, 10718 responses from fireboard backend....
simbus82 (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Gender: Male PolesineOnLine Location: Italy -> Veneto -> Between rivers Adige and Po Birthdate: 1982-12-26
Logged Logged
 
Last Edit: 2008/03/17 21:31 By simbus82.
 
The administrator has disabled public write access.  
#47223
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
Ok, we have to find a solution...

"Parent" what is it in the forum?

if i select all of row with parent=0, and i assign to parent a number.... what can i see?
simbus82 (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Gender: Male PolesineOnLine Location: Italy -> Veneto -> Between rivers Adige and Po Birthdate: 1982-12-26
Logged Logged
 
The administrator has disabled public write access.  
#47224
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
If parent==0 this messages starts the thread. Because of this every thread should have exactly (for the loop "at least" is important) one starting post (with parent==0).

Please execute the query "SELECT * FROM `mos_fb_messages` WHERE parent=id" this should return an empty result.
Goodbyte (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#47225
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
Goodbyte wrote:
If parent==0 this messages starts the thread. Because of this every thread should have exactly (for the loop "at least" is important) one starting post (with parent==0).

Please execute the query "SELECT * FROM `mos_fb_messages` WHERE parent=id" this should return an empty result.


yes!!! empty! no row with parent=id

so...what i have to find in DB to resolve this problem???
simbus82 (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Gender: Male PolesineOnLine Location: Italy -> Veneto -> Between rivers Adige and Po Birthdate: 1982-12-26
Logged Logged
 
The administrator has disabled public write access.  
#47226
Re:Recount Categories Stats ERROR 8 Months, 1 Week ago  
parent==id whould be a suspicous setting. You have to find out which threads have a root with parent!=0 or which thread has no messages with parent==0.
But I think a dev should confirm, that we are on the right way.
Goodbyte (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top