SQL/DB Error:
    Error occured in the file:
    /htdocs/home/xs_sql.php on line 308
    Called by the function:

    Error occured in the SQL:
    SELECT parent_id as sr_sid, LOWER((SELECT section.menu_text_en FROM section WHERE section.section_id = sr_sid)) AS sr, section.sys_template_id as tid,sys_template.assigned_table,linked_category_id,linked_location_id, defaultChild,menu_text_en as page_header,page_banner, page_name_en,page_name_es,page_name_fr,page_name_de,page_name_nl,page_name_sv FROM section INNER JOIN sys_template ON section.sys_template_id = sys_template.sys_template_id WHERE section_id=

    Error was:
    Could not open the database !
    (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 '' at line 8)


    FULL BACKTRACE:
    Referring File: /htdocs/home/xs_sql.php - Line Number: 312 - Function: err_msg
    Referring File: /htdocs/home/xs_sql.php - Line Number: 472 - Function: query
    Referring File: /htdocs/public/www/details_print.php - Line Number: 34 - Function: getRecordA