Bangladesh Council
  • There was a database error!
    Site: uat.iibd.ncsect.org
    Page: /Navigation/index_login.php

    Logged in User:
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'c.lang' in 'on clause'

    The query was:
    SELECT b.text, if (c.id != '', c.text2, b.text2) as text2, a.id, a.text as original FROM ii_admin.websites_localisation a LEFT JOIN websites_localisation_lookup b on a.id = b.id and (b.lang = '' or b.lang = 'en') LEFT JOIN websites_localisation_lookup c on a.id = c.id and c.lang = :lang WHERE a.page_source = :page and a.item = :item
    The parameters were:
    :page => Header
    :item => 3
    :lang =>

    Actual Query:
    SELECT b.text, if (c.id != '', c.text2, b.text2) as text2, a.id, a.text as original FROM ii_admin.websites_localisation a LEFT JOIN websites_localisation_lookup b on a.id = b.id and (b.lang = '' or b.lang = 'en') LEFT JOIN websites_localisation_lookup c on a.id = c.id and c.lang = '' WHERE a.page_source = 'Header' and a.item = '3'

    SQL: SELECT b.text, if (c.id != '', c.text2, b.text2) as text2, a.id, a.text as original FROM ii_admin.websites_localisation a LEFT JOIN websites_localisation_lookup b on a.id = b.id and (b.lang = '' or b.lang = 'en') LEFT JOIN websites_localisation_lookup c on a.id = c.id and c.lang = :lang WHERE a.page_source = :page and a.item = :item
    Parameters: {":page":"Header",":item":"3",":lang":""}Sorry, but there was a database error. Please try again later (PDO).