esotalk/esoTalk

Fatal error on click New Conversation

Opened this issue · 2 comments

Fatal error when a user without permission to create topics try to create a new topic.

tvb commented

Show us at least some debugging output, thanks.

SQL Error (42000, 1064): 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 '))' at line 4

SELECT *
FROM et_member_channel
WHERE (memberId='3')
AND (channelId IN ())

ETDatabase->query() [C:\xampp\htdocs\forum\core\lib\ETSQLQuery.class.php:680]
ETSQLQuery->exec() [C:\xampp\htdocs\forum\core\models\ETChannelModel.class.php:160]
ETChannelModel->joinUserData() [C:\xampp\htdocs\forum\core\models\ETChannelModel.class.php:129]
ETChannelModel->get() [C:\xampp\htdocs\forum\core\controllers\ETConversationController.class.php:357]
ETConversationController->action_start()
call_user_func_array() [C:\xampp\htdocs\forum\core\lib\ETController.class.php:181]
ETController->dispatch() [C:\xampp\htdocs\forum\core\bootstrap.php:326]
require() [C:\xampp\htdocs\forum\index.php:19]