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

MySQL Query Failed #217

Closed
mindy053 opened this issue Feb 2, 2017 · 3 comments
Closed

MySQL Query Failed #217

mindy053 opened this issue Feb 2, 2017 · 3 comments
Milestone

Comments

@mindy053
Copy link

mindy053 commented Feb 2, 2017

"MySQL Query Failed: Expression #6 of SELECT List is not in GROUP BY clause and contains nonaggregated column "opencats.attachment.attachment_id..."

I am receiving a very similar error for "Job Orders, Candidates, and Companies" tabs. Everything else seems to be fine.

Ubuntu (16.04), PHP (5.6), OpenCATS (0.9.3-3)

@cptr13
Copy link
Member

cptr13 commented Feb 2, 2017

Hi Mindy. I just want to double check a couple things. Have you posted on the forums about this? If so, you may have already answered these questions.

First thing, have you used the documentation and/or walkthrough videos. Most of the MySQL errors in my experience come from installing OpenCATS without using composer in the installation process. Did you use composer?

@cptr13
Copy link
Member

cptr13 commented Feb 5, 2017

Closing this. Mindy, please post on the forums first so we can try to trouble shoot this.

@arunwebber
Copy link

arunwebber commented Jun 28, 2018

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Excecute this code after loging in as root user Will fix this issue

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

No branches or pull requests

4 participants