Hi, I’m new to PHPList. I have just done the installation and initial configuration of v3.5.5 on a system with Ubuntu 18.04.5 LTS, MariaDB (mysql Ver 15.1 Distrib 10.3.24-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2) and PHP 7.3 (PHP7.3.21-1+ubuntu18.04.1+deb.sury.org+1).
There were no errors during the setup of PHPList, but now when i go to the Dasboard I get the following message:
Database error 1140 while doing query Mixing of GROUP columns (MIN(),MAX(),COUNT(),…) with no GROUP columns is illegal if there is no GROUP BY clause
When I go to Campaigns/List of campaigns I get the same message:
Database error 1140 while doing query Mixing of GROUP columns (MIN(),MAX(),COUNT(),…) with no GROUP columns is illegal if there is no GROUP BY clause
and a draft campaign I created does not show up in the Draft tab (but it shows up in the Dashboard)
When I go to Statistics/Statistics overview I get the message:
Database error 1055 while doing query ‘phplist.msg.owner’ isn’t in GROUP BY
When I go to Statistics/View opens I get the message:
Database error 1055 while doing query ‘phplist.msg.subject’ isn’t in GROUP BY
When I go to Statistics/Campaign click statistics I get the message:
Database error 1055 while doing query ‘phplist.message.subject’ isn’t in GROUP BY
When I go to Statistics/URL click statistics I get the message:
Database error 1055 while doing query ‘phplist.forward.url’ isn’t in GROUP BY
When I go to Statistics/ msgbounces I get the message:
Database error 1055 while doing query ‘phplist.msg.subject’ isn’t in GROUP BY
I’m not sure why these database errors. Can anybody help me figure them out?
Thank you.
I can change the database, as long as the changes do not conflict with other programs, mainly Moodle, that wants the following:
[client]
default-character-set = utf8mb4
Sorry for the previous reply, for some reason your reply did not display before I sent mine.
Anyway, removing ONLY_FULL_GROUP_BY from sql_mode= in /etc/mysql/my.cnf and restarting the mysql solved the issue.
Thank you very much for your help!
I don’t know whether it will have the desired effect though. I use mariadb and cannot find anywhere that the default mode is specified, and phplist works fine.
Yesterday I upgraded from 3.3.7 to 3.6.10 and ran into the same problem as topicstarter and adding that line to mysqli.inc solved my problem instantly, so thank you!
I’m on MariaDB.