File: N:\home\192.168.0.17\www\bitrix\modules\forum\mysql\forum_new.php
Line: 317
MySQL Query Error: SELECT F.ID, F.NAME, F.DESCRIPTION, F.ACTIVE, F.MODERATION, F.ALLOW_MOVE_TOPIC, '' as LID, F.TOPICS, F.POSTS, F.LAST_POSTER_ID, F.LAST_POSTER_NAME, DATE_FORMAT(F.LAST_POST_DATE, '%d.%m.%Y %H:%i:%s') as LAST_POST_DATE, F.LAST_MESSAGE_ID, FM.TOPIC_ID as TID, F.LAST_MESSAGE_ID as MID, FT.TITLE, F.SORT, '' as DIR, F.ORDER_BY, F.ORDER_DIRECTION, F.ALLOW_HTML, F.ALLOW_ANCHOR, F.ALLOW_BIU, F.ALLOW_IMG, F.ALLOW_LIST, F.ALLOW_QUOTE, F.ALLOW_CODE, F.ALLOW_FONT, F.ALLOW_SMILES, F.ALLOW_UPLOAD, F.EVENT1, F.EVENT2, F.EVENT3, F.ALLOW_NL2BR, '' as PATH2FORUM_MESSAGE, F.ALLOW_UPLOAD_EXT, F.FORUM_GROUP_ID, F.ASK_GUEST_EMAIL, F.USE_CAPTCHA, F.HTML, FT.HTML AS TOPIC_HTML FROM b_forum F LEFT JOIN b_forum_group FG ON F.FORUM_GROUP_ID = FG.ID LEFT JOIN b_forum_message FM ON F.LAST_MESSAGE_ID = FM.ID LEFT JOIN b_forum_topic FT ON FM.TOPIC_ID = FT.ID INNER JOIN b_forum2site F2S ON (F2S.FORUM_ID=F.ID) WHERE (1=1 AND ((F2S.SITE_ID = 's1' )) ) GROUP BY F.ID, F.NAME, F.DESCRIPTION, F.ACTIVE, F.MODERATION, F.ALLOW_MOVE_TOPIC, F.TOPICS, F.POSTS, F.LAST_POSTER_ID, F.LAST_POSTER_NAME, F.LAST_POST_DATE, F.LAST_MESSAGE_ID, F.LAST_MESSAGE_ID, F.SORT, F.ORDER_BY, F.ORDER_DIRECTION, F.ALLOW_HTML, F.ALLOW_ANCHOR, F.ALLOW_BIU, F.ALLOW_IMG, F.ALLOW_LIST, F.ALLOW_QUOTE, F.ALLOW_CODE, F.ALLOW_FONT, F.ALLOW_SMILES, F.ALLOW_UPLOAD, F.EVENT1, F.EVENT2, F.EVENT3, F.ALLOW_NL2BR, F.ALLOW_UPLOAD_EXT, F.FORUM_GROUP_ID, FM.TOPIC_ID, FT.TITLE, FG.SORT, F.ASK_GUEST_EMAIL, F.USE_CAPTCHA, F.HTML, FT.HTML [Out of memory; restart server and try again (needed 65528 bytes)] |