Contentify: Bugs in 2.4 und 2.5 dev
Dateien falsch benannt (bsp.: Newscat.php -> NewsCat.php) ist aber nicht der dateiname der geändert werden muss, sondern im /vendor/composer/autoload_classmap.php und die autoload_static.php im selben ordner.
in der 2.4 fehlt in der DB zwei einträge unter cashflow in der combi mit 2.5 neu installiert, ist es dabei
einziger bisher gefundene weitere bug ist: Forum-Report (vorhanden in 2.4 UND 2.5)
(2/2)QueryException SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'kamohy.forum_reports.created_at' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SQL: select post_id, COUNT(id) as report_counter, MAX(updated_at) AS updated_at from forum_reportsgroup bypost_idorder bycreated_at desc)
und:
(1/2)PDOException SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'kamohy.forum_reports.created_at' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
leider habe ich keine Ahnung, wie ich das beheben soll… also falls einer ne idee hat her damit 😄 @chriskonnertz wir haben es sauber installiert, erst 2.4 allein dann mit dem update auf 2.5 und auch eine 2.4 aufm “server” die 2.5 drüber und dann erst installiert, alle drei versionen brachten das hervor. in 2.2 und 2.3 sowie die offiziele version von deathkings (unsere schon abgeänderte und bisher kein update eingespielte version) haben diesen fehler nicht mehr nach deinem bugfix.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (11 by maintainers)
läuft
Gut, werde ich dieses WE umsetzen.
Hinbekommen: Ja, sicher. 😃 Nur wann? 😉
Ok hab was: https://github.com/Contentify/Contentify/commit/b5f552919d8b7c39303908e43addae9316e4f555
Hat sich erledigt, Bug ist behoben ! nach einem: apt-get update && apt-get upgrade -y und init 6, läuft nun auch der News-bereich. keine weitere Forschung hierzu benötigt, vorerst.
Issue dennoch bitte geöffnet lassen, falls weitere Bugs folgen. 😕
OK, I found a solution for this error… And I think is very specific error, and really strange. When I install Contentity 2.4, under PHP7.2 and MySQL 8.0.12 I need to do this on my database.php: https://github.com/Contentify/Contentify/issues/423#issue-357109062
But this “improvement” affect to some queries. In specific the command affect to this, is “ONLY_FULL_GROUP_BY”. If we delete this line from database.php, all site will works correctly.