The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I am trying to run a custom SQL in the AdminCP panel to clear out some specific rows from my moderator log. Basically I have a hidden dump forum where all the news feeds go and I use that to selectively move the ones I want users to see. However when I run the below code I get the following error message
Quote:
Code:
DELETE vb_moderatorlog.moderatorlogid, vb_moderatorlog.dateline, vb_moderatorlog.userid, vb_moderatorlog.forumid, vb_moderatorlog.threadid, vb_moderatorlog.postid, vb_moderatorlog.pollid, vb_moderatorlog.attachmentid, vb_moderatorlog.action, vb_moderatorlog.type, vb_moderatorlog.threadtitle, vb_moderatorlog.ipaddress FROM vb_moderatorlog WHERE (((vb_moderatorlog.userid)="1") AND ((vb_moderatorlog.forumid)="74") AND ((vb_moderatorlog.type)="15")); |
#2
|
||||
|
||||
![]()
The MySQL user you specified in config.php cannot execute DELETE commands. Basically, it means your MySQL user doesn't have the permission to delete.
|
#3
|
|||
|
|||
![]()
Try:
[sql]DELETE FROM vb_moderatorlog WHERE (((vb_moderatorlog.userid)="1") AND ((vb_moderatorlog.forumid)="74") AND ((vb_moderatorlog.type)="15"));[/sql] |
#4
|
||||
|
||||
![]()
Marco- that worked! Thanks,
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|