Answer the question
In order to leave comments, you need to log in
How to remove icq request in comments.class.php DLE?
Hello everyone, I ran into this problem. I connected a couple of modules for DLE to reward users for comments, and now if there is at least one comment in the news, an error occurs
MySQL Error!
MySQL error in file: /engine/classes/comments.class.php at line 675
Error Number: 1054
The Error returned was:
Unknown column 'icq' in 'field list'
SQL query:
SELECT dle_comments.id, post_id, dle_comments.user_id, dle_comments.date, dle_comments.autor as gast_name, dle_comments.email as gast_email, text, ip, is_register, group_concat(mid) as awards, name, dle_users.email, news_num, dle_users. comm_num, user_group, lastdate, reg_date, signature, foto, fullname, land, icq, dle_users.xfields, dle_post.title, dle_post.date as newsdate, dle_post.alt_name, dle_post.category FROM dle_comments LEFT JOIN dle_awards ON uid = dle_comments.user_id LEFT JOIN dle_post ON dle_comments.post_id=dle_post.id LEFT JOIN dle_users ON dle_comments.user_id=dle_users.user_id GROUP BY dle_comments.id ORDER BY id desc
SELECT dle_comments.id, post_id, dle_comments.user_id, dle_comments.date, dle_comments.autor as gast_name, dle_comments.email as gast_email, text, ip, is_register, group_concat(mid) as awards, name, dle_users.email, news_num, dle_users. comm_num, user_group, lastdate, reg_date, signature, foto, fullname, land, icq , dle_users.xfields, dle_post.title, dle_post.date as newsdate, dle_post.alt_name, dle_post.category FROM dle_comments LEFT JOIN dle_awards ON uid = dle_comments.user_id LEFT JOIN dle_post ON dle_comments.post_id=dle_post.id LEFT JOIN dle_users ON dle_comments.user_id=dle_users.user_id GROUP BY dle_comments.id ORDER BY id desc
Answer the question
In order to leave comments, you need to log in
You have a choice:
The same trouble, with the same module. The rollback of the database and some files helped.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question