Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

MyBB 

SQL Error 1064 on private message

I have a new forum setup on mybb 1.8.6

When I click on any pm, I receive the following sql error:
Quote:MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Query:
SELECT tid FROM TF_posts WHERE pid =
Please contact the MyBB Group for technical support.


I am unable to figure anything out. Please help!


Here is the screenshot of the error:

(I can't post images

Link: i65.[censored].com/2dqqe7o.png

censored= tinypi(remove this)c

Please help HF.
Have you tried to change anything, is your server really running mariaDB?
(Jan 14, 2016 07:47 AM)Sakuto Wrote:  Have you tried to change anything, is your server really running mariaDB?

Sorry but I am a noob in this. I just ran a sql query in the past. One was to change the show image option in ucp.

How to know if I am using mariaDB?
You're probably doing. What was your request, in very strange that this problem occur if you have not touched anything at the code or in the database.
(Jan 14, 2016 08:31 AM)Sakuto Wrote:  You're probably doing. What was your request, in very strange that this problem occur if you have not touched anything at the code or in the database.

Thanks for replying...
I ran the following two sql queries till now:
Code
UPDATE TF_users
SET showimages=1

and

Code
UPDATE `TF_users` SET `sourceeditor` = '1' WHERE `sourceeditor` = '0';


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Limited EditionSep 5, 2014 01:38 PM 12 160 Sep 5, 2014 01:38 PM
Last Post: SlightlyNuclear
by HazaЯdMay 19, 2014 04:25 PM 2 165 May 19, 2014 04:25 PM
Last Post: HazaЯd
by YeahBuddyBBYJul 2, 2013 01:27 PM 2 176 Jul 2, 2013 01:27 PM
Last Post: YeahBuddyBBY