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

I got the following error while browsing courses with private, public and protected access. #179

Closed
Aklilu-Mandefro opened this issue May 24, 2020 · 0 comments

Comments

@Aklilu-Mandefro
Copy link

Aklilu-Mandefro commented May 24, 2020

I am using ATutor 2.2.4 version and when I try to browse a course from the public side with private, protected and public access, it displays the following error:

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 ''public' AND cat_id <>-1 AND 1 AND hide=0 ORDER BY title' at line 1
SELECT * FROM hcp_courses WHERE access ='public' AND cat_id <>-1 AND 1 AND hide=0 ORDER BY title (AT_ERROR_DB_QUERY)

// I tried a lot to fix it but I do nothing. please help me. Thank you in advance for your time to fix this issue.
Regards,
Sirak

@atutor atutor closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants