Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on forums #1486

Closed
Rastrian opened this issue Apr 13, 2019 · 8 comments
Closed

Error on forums #1486

Rastrian opened this issue Apr 13, 2019 · 8 comments
Labels

Comments

@Rastrian
Copy link

Uncaught PDOException: 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 ') ORDER BY topics.topic_reply_date DESC LIMIT 50
) UNION ALL (
' at line 2 in /var/www/html/core/classes/DB.php:51
Stack trace:
#0 /var/www/html/core/classes/DB.php(51): PDOStatement->execute()
#1 /var/www/html/modules/Forum/classes/Forum.php(235): DB->query('(\n\t SELE...', Array, 2)
#2 /var/www/html/modules/Forum/pages/forum/index.php(71): Forum->getLatestDiscussions('2', Array, '1')
#3 /var/www/html/index.php(84): require('/var/www/html/m...')
#4 {main}
thrown

@samerton
Copy link
Member

Hi,

In Nameless v2 you need to have permission to view forum and view other users' topics in at least 1 forum. You can configure permissions in the StaffCP -> Forums tab.

@Rastrian
Copy link
Author

Hi,

In Nameless v2 you need to have permission to view forum and view other users' topics in at least 1 forum. You can configure permissions in the StaffCP -> Forums tab.

Already has been configured, but still doesnt work.

@samerton
Copy link
Member

Forum permissions are the only (known) cause of this issue.

If it's okay with you, would I be able to sign up on your site and check out the StaffCP?

@Rastrian
Copy link
Author

Forum permissions are the only (known) cause of this issue.

If it's okay with you, would I be able to sign up on your site and check out the StaffCP?

image

@Rastrian
Copy link
Author

but still doesnt work, same error, i already had tried recreate multiple times.

@samerton
Copy link
Member

Thanks, note the "Pode ver os topicos de outros usarios" option is disabled too; this permission must be enabled for at least one forum.

@Rastrian
Copy link
Author

Now works, thanks.

@samerton
Copy link
Member

No problem :) Hopefully this will be improved in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants