Top Poster Of The Month

3.2.2 error - Top Poster Of The Month

3.2.2 error

by Stoker 4.0 » Thu Jan 18, 2018 3:48 pm

Get this error on 3.2.2 and mysql 5.7

Code: Select all

Generel fejl
SQL ERROR [ mysqli ]

Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'ulrik.p.post_time' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [1055]

SQL

SELECT u.username, u.user_id, u.user_colour, u.user_type, p.poster_id, p.post_time, COUNT(p.post_id) AS total_posts FROM phpbb_users u, phpbb_posts p WHERE u.user_id > 1 AND u.user_id = p.poster_id AND (u.user_type <> 3) AND u.user_id NOT IN (3, 2631, 3841, 5754, 1164, 8422, 4432) AND u.user_id NOT IN (0, 0, 0, 0, 0, 0, 0, 1942, 2205, 2343, 2511, 2547, 2572, 2595, 3495, 4327, 4328, 4330, 5136, 5942, 6062, 6194, 7046, 7759, 7946, 7955, 7976, 8740, 9365, 11174, 11994, 12079, 12122, 12178, 12246, 12460, 13189, 15636, 17182, 17762, 18672, 19107, 19645, 19683, 19754, 19806, 19873, 19946, 21499, 21834, 21889, 21937, 22197, 22270, 22340, 22352, 22593, 22594, 22615, 22722, 22729, 22764, 22835, 23032) AND p.post_time BETWEEN 1514764800 AND 1516290442 GROUP BY u.user_id ORDER BY total_posts DESC, p.post_time DESC, p.post_id DESC LIMIT 1

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 993
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/mysql_base.php
LINE: 45
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 270
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 321
CALL: phpbb\db\driver\driver->sql_query_limit()

FILE: [ROOT]/ext/threedi/tpotm/event/listener.php
LINE: 159
CALL: phpbb\db\driver\factory->sql_query_limit()

FILE: (not given by php)
LINE: (not given by php)
CALL: threedi\tpotm\event\listener->display_tpotm()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/functions.php
LINE: 4626
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/index.php
LINE: 246
CALL: page_footer()
User avatar
Stoker 4.0
Registered User
Posts: 1478
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: 3.2.2 error

by 3Di » Thu Jan 18, 2018 5:29 pm

New version, currently pending validation
https://github.com/3D-I/tpotm/releases/tag/v2.0.8
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user
User avatar
3Di
Registered User
Posts: 12438
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: 3.2.2 error

by Stoker 4.0 » Thu Jan 18, 2018 5:42 pm

3Di wrote:New version, currently pending validation
https://github.com/3D-I/tpotm/releases/tag/v2.0.8
Thanks ;)
User avatar
Stoker 4.0
Registered User
Posts: 1478
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: 3.2.2 error

by 3Di » Thu Feb 01, 2018 2:51 am

Stoker 4.0 wrote:
3Di wrote:New version, currently pending validation
https://github.com/3D-I/tpotm/releases/tag/v2.0.8
Thanks ;)
new update, fixes Chrome compatibility.
https://github.com/3D-I/tpotm/releases/tag/v2.0.9
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user
User avatar
3Di
Registered User
Posts: 12438
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact: