NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

strange DB.php error : syntax to use near ''200''
Started by dcnigma

dcnigma

dcnigma

Member
Joined
20 Apr 2023
Last Seen
23 Sep 2023
Topics
1
Posts
2


Hey all,

I having some issues but can't find the source of the problem
Just get this error alot in my fatal-log.log 
Anyone a idea how to fix it?

Spoiler

MariaDB server version for the right syntax to use near ''200'' at line 1

[2023-07-16, 20:34:52] /XAMPP/xamppfiles/htdocs/core/classes/Database/DB.php(253): SQLSTATE[42000]: Syntax error or access violation: 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 ''200'' at line 1

[2023-07-16, 20:35:52]/XAMPP/xamppfiles/htdocs/core/classes/Database/DB.php(253): SQLSTATE[42000]: Syntax error or access violation: 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 ''200'' at line 1

DB.php(253): SQLSTATE[42000]: Syntax error or access violation: 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 ''200'' at line 1

dcnigma · 10 months ago · Last edited: 10 months ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
02 May 2024
Topics
41
Posts
1050

Hi,

Can you take a screenshot of the full error page please?

Samerton · 10 months ago
dcnigma

dcnigma

Member
Joined
20 Apr 2023
Last Seen
23 Sep 2023
Topics
1
Posts
2

Hi,
Here is the log:
https://pastebin.com/zZrZfRrQ
but after some searching I found a post about values not correct in sql so I looked for 200 and I changed it to 150 for websend_settings  

max_displayed_records 150

the logs stopped giving me "200" but now its "150" so I guess that its Websend...

I tried to get Websend 1.1.2 working again, I comment out a few lines in  supercrafter100 version and after that it worked. I used to get a php error when I opend the Events screen, after my edit it worked again.

But I recently moved everything to antoher server, I exported my sql db and re-import it.
Everything is working now only the log of websend stays empty. Before the move it was working.. 


dcnigma · 10 months ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
02 May 2024
Topics
41
Posts
1050

Unfortunately I cannot assist with the Websend module and the author is currently on holiday so will not be able to respond for a short while.

Samerton · 10 months ago