da4b08fc4a
https://github.com/friendica/friendica/pull/3742 Fixing non-standard GROUP BY, and non-standard ORDER BY. ``` DB Error 1055: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'friendica.photo.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by q, fbrowser_content SELECT `resource-id`, `id`, `filename`, type, min(`scale`) AS `hiq`,max(`scale`) AS `loq`, `desc` FROM `photo` WHERE `uid` = 1 AND `album` != 'Contact Photos' AND `album` != 'Contact Photos' GROUP BY `resource-id` ORDER BY created DESC LIMIT 0, 10 2017-09-27T17:16:35Z@tmkfko6titb71nug3i4vr1mnb1 [NORMAL]:dba.php:553:p DB Error 1055: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'friendica.photo.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by q, fbrowser_content ``` ``` ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'friendica.photo.created' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by ``` |
||
---|---|---|
.tx | ||
doc | ||
images | ||
include | ||
js | ||
library | ||
mod | ||
mods | ||
object | ||
spec | ||
src | ||
tests | ||
util | ||
vendor | ||
view | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.htaccess | ||
boot.php | ||
build.xml | ||
CHANGELOG | ||
composer.json | ||
composer.lock | ||
database.sql | ||
docblox.dist.xml | ||
friendica_test_data.sql | ||
htconfig.php | ||
index.php | ||
INSTALL.txt | ||
LICENSE | ||
README.md | ||
README.translate.md | ||
testargs.php | ||
update.php | ||
Vagrantfile | ||
VERSION |
Friendica Social Communications Server
Welcome to the free social web.
Friendica is a communications platform for integrated social communications utilising decentralised communications and linkage to several indie social projects - as well as popular mainstream providers.
Our mission is to free our friends and families from the clutches of data-harvesting corporations, and pave the way to a future where social communications are free and open and flow between alternate providers as easily as email does today.