Announcement
Collapse
No announcement yet.
Error Invalid SQL: INSERT INTO adminlog
Collapse
X
-
Upgrading wouldn't fix an error like this. The only time upgrading will fix a database error is when you try using a new version's files on the database from an older version.
Did you receive an email with the complete error to your technical email address as specified in the /core/includes/config.php file? I only ask because I can copy and paste the query above and it runs fine on vBulletin 5. So there is something else causing the error and the easiest way to tell is with the entire error message.
What version of MySQL are you using?
What is the structure of your adminlog table?Leave a comment:
-
Upgrading wouldn't fix an error like this. The only time upgrading will fix a database error is when you try using a new version's files on the database from an older version.
Did you receive an email with the complete error to your technical email address as specified in the /core/includes/config.php file? I only ask because I can copy and paste the query above and it runs fine on vBulletin 5. So there is something else causing the error and the easiest way to tell is with the entire error message.
What version of MySQL are you using?
What is the structure of your adminlog table?Leave a comment:
-
Error Invalid SQL: INSERT INTO adminlog
Everywhere in my admincp i am getting this error. My server cpu was getting too busy with mysql. so i decided to do some changes and re import the database. But now I am getting this error.
I have vbulletin 5.4.4 and will try to upgrade.
Error Invalid SQL: INSERT INTO adminlog (`userid`,`dateline`,`script`,`action`,`extrainfo`,`ipaddress`) VALUES('425',1546947013,'prefix.php','','','111.200.111.111') /**adminlog**/;
Kayıt izi:
## /var/www/html/forum/core/vb/database.php(1189) Exception Thrown #0 /var/www/html/forum/core/vb/database/mysqli.php(201): vB_Database->halt()
#1 /var/www/html/forum/core/vb/database.php(542): vB_Database_MySQLi->execute_query(true, Object(mysqli))
#2 /var/www/html/forum/core/vb/db/query/insert.php(115): vB_Database->query_write('Invalid SQL:\r\nI...')
#3 /var/www/html/forum/core/vb/db/query/insert.php(98): vB_dB_Query_Insert->doInserts()
#4 /var/www/html/forum/core/vb/db/assertor.php(301): vB_dB_Query_Insert->execSQL()
#5 /var/www/html/forum/core/includes/adminfunctions.php(3106): vB_dB_Assertor->assertQuery('vBForum:adminlo...', Array)
#6 /var/www/html/forum/core/admincp/prefix.php(43): log_admin_action('')
#7 /var/www/html/forum/includes/api/interface/collapsed.php(142): require_once('/var/www/html/f...')
#8 /var/www/html/forum/includes/vb5/frontend/controller/relay.php(33): Api_Interface_Collapsed->relay('admincp/prefix....')
#9 /var/www/html/forum/index.php(74): vB5_Frontend_Controller_Relay->admincp('prefix.php')
#10 {main}Last edited by Wayne Luke; Tue 8 Jan '19, 12:18pm.Tags: None
Related Topics
Collapse
-
by user918Hello,
Our forum, vbulletin version 5.2.5 "works" together with a CMS.
The header is transferred from the CMS to the forum.
The login process takes place in the...-
Channel: Support Issues & Questions
Tue 17 Oct '17, 1:52am -
-
by LBSSpecs:
-VB: 5.1.3
-PHP: 5.6.0
-MySQL: 5.5.39-log
In AdminCP I get an invalid SQL error when searching for attachments.
Steps:
1) I go to Admin CP >...-
Channel: Support Issues & Questions
Mon 15 Sep '14, 2:16pm -
-
by pharmai purchase vb 5.6.4 licence and wont upgrade but when i do get this error :
Unexpected Text:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403...-
Channel: Support Issues & Questions
Mon 18 Oct '21, 3:21pm -
-
by TurtulloHi, when I try to create a child-channel under the forum channel in the AdminCP I get this error:
Code:An unexpected error was returned: 'Call to a member function resetForcedStyles()
-
Channel: Support Issues & Questions
Sat 22 Aug '20, 8:04am -
-
by fpostmaAfter upgrading to VB 5.7.4 I tried creating a new usergroup via AdminCP. Even if I only set the new name to 'test1' and press 'save' it returns "An unexpected error was returned: 'Cannot use object...
-
Channel: Support Issues & Questions
Fri 9 Jun '23, 8:26am -
Leave a comment: