"Toon meer smilies" error na update (2)
Geplaatst: 05 mar 2010, 13:59
- Adres van je forum: http://www.berner4life.com
Event. modificaties op je forum: Prime links
Wanneer ontstond het probleem? Na de update die ik net heb gedaan
phpBB versie: 3.0.7
Heb je onlangs iets veranderd aan je forum?
Nee, heb alleen de update uitgevoerd
Wat is het probleem?
Heb ik me eigen onderwerp aangemaakt. Als ik op de link van de smillies druk krijg ik onderstaande fout melding

Code: Selecteer alles
Algemene fout
SQL ERROR [ mysqli ]
Invalid use of group function [1111]
SQL
SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_width, smiley_height FROM phpbb3_smilies GROUP BY smiley_url, smiley_width, smiley_height ORDER BY MIN(smiley_order) LIMIT 400
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()
FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()
FILE: includes/functions_posting.php
LINE: 92
CALL: dbal->sql_query_limit()
FILE: posting.php
LINE: 126
CALL: generate_smilies()
Code: Selecteer alles
$sql = 'SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_width, smiley_height, MIN(smiley_order) AS min_smiley_order FROM ' . SMILIES_TABLE . ' GROUP BY smiley_url, smiley_width, smiley_height ORDER BY min_smiley_order';
Code: Selecteer alles
Fout
SQL-query: Documentatie
$sql = 'SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_width, smiley_height, MIN(smiley_order) AS min_smiley_order FROM '.SMILIES_TABLE. ' GROUP BY smiley_url, smiley_width, smiley_height ORDER BY min_smiley_order'
MySQL retourneerde: Documentatie
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$sql = 'SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_wi' at line 1