Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

Error when deleting messages

17 Nov 2020
#1
This issue is marked as solved
Hello,
Thank you for the beautiful plugin.

I'm getting an error when selecting individual messages and deleting them:
"The server returned a malformed response. A raw representation of the response is available in your browser's console. Please report it to an administrator."

Furthermore, the console reads:
SyntaxError: Unexpected token < in JSON at position 0
at Function.parse [as parseJSON] (<anonymous>)
at Object.complete (symposium.js?v=0.3:127)
at c (jquery.js?ver=1821:2)
at Object.fireWith (jquery.js?ver=1821:2)
at l (jquery.js?ver=1821:2)
at XMLHttpRequest.<anonymous> (jquery.js?ver=1821:2)

Upon a manual refresh of the page, the messages are indeed deleted; I'm just having a small hiccup with the process.

Best answer

Shade 17 Nov 2020
Do you have SQL strict mode enabled?

All replies

Shade 17 Nov 2020
#2
Please retrieve your error.log file and send it to me (either here or in PM), thanks.
tomnjerry74 17 Nov 2020
#3
It seems as though "lastpmid" is empty and causing an SQL error.

<error>
<dateline>1605627546</dateline>
<script></script>
<line>0</line>
<type>20</type>
<friendly_type>MyBB SQL Error</friendly_type>
<message>SQL Error: 1366 - Incorrect integer value: '' for column `hidden`.`mybb_symposium_conversations`.`lastpmid` at row 1
Query:
UPDATE mybb_symposium_conversations
SET `lastmessage`=':) test', `lastpmid`='', `lastuid`='1', `lastdateline`='1605597640', `lastread`='1605598697' WHERE convid = '1938fj9283f4328904802334' AND uid = 1
</message>
<back_trace> errorHandler->error() called at [/inc/db_mysqli.php:597]
#1 DB_MySQLi->error() called at [/inc/db_mysqli.php:337]
#2 DB_MySQLi->query() called at [/inc/db_mysqli.php:370]
#3 DB_MySQLi->write_query() called at [/inc/db_mysqli.php:944]
#4 DB_MySQLi->update_query() called at [/inc/plugins/symposium.php:1785]
Flyover 2.4 update_conversations_meta() called at [/inc/plugins/symposium.php:1684]
Drafts AutoSave 1.1 symposium_xmlhttp() called at [/inc/class_plugins.php:142]
ACP warning pluginSystem->run_hooks() called at [/xmlhttp.php:205]
</back_trace>
</error>

This is the only error in the log.
Shade 17 Nov 2020
#4
Do you have SQL strict mode enabled?
tomnjerry74 17 Nov 2020
#5
Do you have SQL strict mode enabled?
Shade (17 Nov 2020)
Yes, I did. Turning it off worked perfectly. Thank you for your help!