![]() |
To run a query in your ACP, you must add your userid to the canrunquery variable in your config.php
|
And this is the correct code?
Quote:
|
Okay, I put that code in and turned on logging. It says it ran fine.
Thanks for the help. |
Quote:
Database error in vBulletin 3.0.6: Invalid SQL: INSERTINTOthreadviewsaggregate SELECT threadid , COUNT(*)ASviewsFROM threadviews GROUP BY threadid mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERTINTOthreadviewsaggregate SELECT threadid , COUNT(*)ASview mysql error number: 1064 Date: Saturday 21st of May 2005 10:56:17 AM Script: http://forums.pimprig.com/cron.php?&rand=634959 Referer: http://gallery.pimprig.com/showphoto...o=2553&cat=501 Username: Unregistered IP Address: 86.133.1.23 |
Insert spaces where needed. The code in this thread is somehow missing some spaces.
Edit: Edited the original code now with spaces inserted. |
Took long enough...
But not all occurences are updated: Code:
query("SELECTthreadid , |
Quote:
Quote:
|
Sorry, I thought you're author of this hack but I see my mistake now.
|
Installed on AVS Forum.
|
I see this has been installed successfully a few places. Anyone willing to comment on performance improvements they've notice?
-Mel |
All times are GMT. The time now is 04:50 PM. |
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:
|