Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9122

SQL ERROR when opening external 'view more smiliies' window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 3.0.7-PL1
    • Other
    • None
    • PHP Environment:
      Database:

      SQL ERROR [ mysql4 ]

      Invalid use of group function [1111]

      SQL

      SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_width, smiley_height FROM olympus_smilies GROUP BY smiley_url, smiley_width, smiley_height ORDER BY MIN(smiley_order) LIMIT 50

      BACKTRACE

      FILE: includes/db/mysql.php
      LINE: 174
      CALL: dbal->sql_error()

      FILE: includes/db/mysql.php
      LINE: 221
      CALL: dbal_mysql->sql_query()

      FILE: includes/db/dbal.php
      LINE: 170
      CALL: dbal_mysql->_sql_query_limit()

      FILE: includes/functions_posting.php
      LINE: 92
      CALL: dbal->sql_query_limit()

      FILE: posting.php
      LINE: 126
      CALL: generate_smilies()

      xxx/posting.php?mode=smilies&f=7 as example, only appears after upgrading to latest version 3.0.7-PL1 (2 of my forums have this error, different themes) (other forum with version 3.0.6 no issues)

            nickvergessen Joas Schilling
            Luchtzak Luchtzak [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: