Jump to content

SQL issues showing in whmcs activity log


JewelHost

Recommended Posts

Hi

Im debugging an issue and just thought id see if anyone has seen anything like this before.

 

Im getting these listings in the activity log.

 

31/07/2012 14:38	
SQL Error: Unknown column 'important' in 'where clause' - Full Query: SELECT tblnotes.*,(SELECT CONCAT(firstname,' ',lastname) FROM tbladmins WHERE tbladmins.id=tblnotes.adminid) AS adminuser FROM tblnotes WHERE userid='3' AND important='1' ORDER BY `modified` DESC

 

31/07/2012 14:36	
Modified Product/Service - User ID: 3 - Service ID: 5

 

31/07/2012 14:36	
SQL Error: Unknown column 'important' in 'where clause' - Full Query: SELECT tblnotes.*,(SELECT CONCAT(firstname,' ',lastname) FROM tbladmins WHERE tbladmins.id=tblnotes.adminid) AS adminuser FROM tblnotes WHERE userid='3' AND important='1' ORDER BY `modified` DESC

 

31/07/2012 14:36	
Clients Profile Modified - User ID: 7

 

Im not sure if this is an issue with some of my whmcs files not being updated recently at the 5.1 update or an add on module that i have installed.

 

I am also getting these in the activity log;

 

31/07/2012 14:03	
Admin Email Notification Sending Failed - SMTP Error: The following recipients failed: myemail@removedfor thispost.com
SMTP server error: 5.7.1 : Sender address rejected: not owned by user sameas@thisone.com
(Subject: WHMCS New Order Notification)

 

31/07/2012 14:03	
SQL 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 ') AND disabled=0 ORDER BY percentusage ASC' at line 1 - Full Query: SELECT id,((SELECT COUNT(id) FROM tblhosting WHERE tblhosting.server=tblservers.id AND (domainstatus='Active' OR domainstatus='Suspended'))/maxaccounts) AS percentusage FROM tblservers WHERE id IN () AND disabled=0 ORDER BY percentusage ASC

 

Any help would be great.

Thanks in advance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated