Помогите разобраться., что происходит и как от этого избавиться

Тема в разделе "Кодировки, ошибки отображения (крякозябры)", создана пользователем kobrahunter, 10.05.2008.

  1. Offline

    kobrahunter Недавно здесь

    Регистрация:
    10.05.2008
    Сообщения:
    6
    Симпатии:
    0
    http://www.exe.tu2.ru/
    В админке и на всех остальных страицах сайта появилось следущее (прошу простить меня за количество текста):
    18 queries executed
    1
    SET sql_mode = 'MYSQL40'--------------------------------------------------------------------------------2
    SELECT folder, element, published, params
    FROM jos_mambots
    WHERE published >= 1
    AND access <= 0
    AND folder = 'system'
    ORDER BY ordering--------------------------------------------------------------------------------3
    SELECT id, link
    FROM jos_menu
    WHERE menutype = 'mainmenu'
    AND published = 1
    ORDER BY parent, ordering
    LIMIT 1--------------------------------------------------------------------------------4
    SELECT template
    FROM jos_templates_menu
    WHERE client_id = 0
    AND ( menuid = 0 OR menuid = 1 )
    ORDER BY menuid DESC
    LIMIT 1--------------------------------------------------------------------------------5
    DELETE FROM jos_session
    WHERE (
    ( time < '1210431777' )
    AND guest = 0
    AND gid > 0
    ) OR (
    ( time < '1210431777' )
    AND guest = 1
    AND userid = 0
    )--------------------------------------------------------------------------------6
    SELECT * FROM jos_jcomments_settings WHERE component = ''--------------------------------------------------------------------------------7
    SELECT *
    FROM jos_menu
    WHERE id = 1--------------------------------------------------------------------------------8
    SELECT COUNT(a.id)
    FROM jos_content AS a
    INNER JOIN jos_content_frontpage AS f ON f.content_id = a.id
    INNER JOIN jos_categories AS cc ON cc.id = a.catid
    INNER JOIN jos_sections AS s ON s.id = a.sectionid
    LEFT JOIN jos_users AS u ON u.id = a.created_by
    LEFT JOIN jos_groups AS g ON a.access = g.id
    WHERE a.state = 1
    AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2008-05-10 19:17' )
    AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2008-05-10 19:17' )
    AND s.published = 1
    AND cc.published = 1
    AND a.access <= 0
    AND s.access <= 0
    AND cc.access <= 0--------------------------------------------------------------------------------9
    SELECT a.id, a.title, a.title_alias, a.introtext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by,
    a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.urls, a.ordering, a.metakey, a.metadesc, a.access, a.hits,
    CHAR_LENGTH( a.fulltext ) AS readmore, u.name AS author, u.usertype, s.name AS section, cc.name AS category, g.name AS groups
    , s.id AS sec_id, cc.id as cat_id
    , ROUND( v.rating_sum / v.rating_count ) AS rating, v.rating_count
    FROM jos_content AS a
    INNER JOIN jos_content_frontpage AS f ON f.content_id = a.id
    INNER JOIN jos_categories AS cc ON cc.id = a.catid
    INNER JOIN jos_sections AS s ON s.id = a.sectionid
    LEFT JOIN jos_users AS u ON u.id = a.created_by
    LEFT JOIN jos_groups AS g ON a.access = g.id
    LEFT JOIN jos_content_rating AS v ON a.id = v.content_id
    WHERE a.state = 1
    AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2008-05-10 19:17' )
    AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2008-05-10 19:17' )
    AND s.published = 1
    AND cc.published = 1
    AND a.access <= 0
    AND s.access <= 0
    AND cc.access <= 0
    ORDER BY f.ordering
    LIMIT 126--------------------------------------------------------------------------------10
    SELECT a.*
    FROM jos_components AS a
    WHERE ( a.admin_menu_link = 'option=com_syndicate' OR a.admin_menu_link = 'option=com_syndicate&hidemainmenu=1' )
    AND a.option = 'com_syndicate'--------------------------------------------------------------------------------11
    SELECT m.id
    FROM jos_modules AS m
    WHERE m.module = 'mod_rssfeed'
    AND m.published = 1--------------------------------------------------------------------------------12
    SELECT id, title, module, position, content, showtitle, params
    FROM jos_modules AS m
    INNER JOIN jos_modules_menu AS mm ON mm.moduleid = m.id
    WHERE m.published = 1
    AND m.access <= 0
    AND m.client_id != 1
    AND ( mm.menuid = 0 OR mm.menuid = 1 )
    ORDER BY ordering--------------------------------------------------------------------------------13
    SELECT id
    FROM jos_menu
    WHERE link = 'index.php?option=com_search'
    AND published = 1--------------------------------------------------------------------------------14
    SELECT m.*
    FROM jos_menu AS m
    WHERE menutype = 'mainmenu'
    AND published = 1
    AND access <= 0
    ORDER BY parent, ordering--------------------------------------------------------------------------------15
    SELECT guest, usertype
    FROM jos_session--------------------------------------------------------------------------------16
    SELECT COUNT( id ) AS count_users
    FROM jos_users--------------------------------------------------------------------------------17
    SELECT COUNT( id ) AS count_items
    FROM jos_content--------------------------------------------------------------------------------18
    SELECT COUNT( id ) AS count_links
    FROM jos_weblinks
    WHERE published = 1
     
    Последнее редактирование: 10.05.2008
  2.  
  3. Fanamura
    Offline

    Fanamura Доброта

    Регистрация:
    12.03.2007
    Сообщения:
    5 108
    Симпатии:
    159
    Пол:
    Мужской
    Ответ: Помогите разобраться., что происходит и как от этого избавиться

    kobrahunter, не прощаем, это FAQ.
    Глобальная конфигурация = выключи режим отладки сайта
     
  4. Offline

    kobrahunter Недавно здесь

    Регистрация:
    10.05.2008
    Сообщения:
    6
    Симпатии:
    0
    Ответ: Помогите разобраться., что происходит и как от этого избавиться

    Спасибо!!!!!!!
    Не думал что все это так просто и тупо
     

Поделиться этой страницей

Загрузка...