![]() |
Does anyone know if this made its way into 3.5.0?
|
I used this one smooth and help my board alot with no problem ,but today when i notice that the thead didn't count when people view , i ran the cron job theadview in schedules and i got this error :
Database error in vBulletin 3.0.7: Invalid SQL: INSERT INTO threadviewsaggregate SELECT threadid , COUNT(*) AS views FROM threadviews GROUP BY threadid mysql error: Duplicate entry '40' for key 1 mysql error number: 1062 Date: Tuesday 28th of June 2005 08:09:36 PM Script: http://xx.com/forum/admincp/cronadmi...ncron&cronid=2 Referer: http://xx.com/forum/admincp/index.php? anyone got any idea why i got this and how to fix ,thank in advance . I used to run the threadview before and nerver got this error . before this error, i didn't restore db or install anything . |
You should empty threadviewsaggregate table. It is cleared at the end of cron script run, but it didn't happen at some point for some reason. Theoretically, it can happen when you shutdown http server in the middle of cron job run.
|
Thank Kmike .it working after i empty the threadview.. . I think i did restart the apache that was cause the problem like you said .
|
Erm, where exactly is this threadviews.php file?
I have tried looking around and i am using 3.0.9 has it since been removed? |
includes/cron
|
All times are GMT. The time now is 01:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|