################ Error type: critical ###################
Error while executing SQL query 
SELECT   p.*, NUMTRIM(prod_amount) AS prod_amount, NUMTRIM(p.prod_amount_precision) AS prod_amount_precision, NUMTRIM(p.prod_boxamount) AS prod_boxamount,   p.prod_name_en AS prod_name,   p.prod_ship_days_en AS prod_ship_days, p.prod_name_auctions_en AS prod_name_auctions, p.prod_desc_en AS prod_desc,   d.prod_desclong_en AS prod_desclong, d.prod_note AS prod_note,   d.prod_seotitle_en AS prod_seotitle, d.prod_seodesc_en AS prod_seodesc,   d.prod_info1_en AS prod_info1, d.prod_info2_en AS prod_info2, d.prod_info3_en AS prod_info3, d.prod_info4_en AS prod_info4, d.prod_info5_en AS prod_info5,   pr.prd_id, pr.prd_name, pr.prd_logo, pr.prd_link, pr.prd_link_text,   i.img_src, i.img_ratio, i.img_id, i.img_label_en as img_label,   c.rel_cat_id,   t.tax_value    FROM sshop_products p    LEFT JOIN sshop_products_desc d USING(prod_id)    LEFT JOIN sshop_images i ON (i.img_prod_id = p.prod_id)    LEFT JOIN sshop_producers pr ON (pr.prd_id = p.prod_producer)    LEFT JOIN sshop_tax t ON (t.tax_id = p.prod_tax_id)    LEFT JOIN sshop_categories_products c ON (c.rel_prod_id = p.prod_id)   WHERE p.prod_id = 4534 AND (i.img_hidden IS NULL OR i.img_hidden = 'no')    ORDER BY i.img_order ASC, i.img_id ASC
SQL Error: FUNCTION wertis_www.NUMTRIM does not exist
File: /home/wertis/domains/wertis.com.pl/public_html/inc/functions_product.php
Line: 31

PHP Error no: 1024 CRITICAL ERROR from error() function critical error_sql data: SELECT p.*, NUMTRIM(prod_amount) AS prod_amount, NUMTRIM(p.prod_amount_precision) AS prod_amount_precision, NUMTRIM(p.prod_boxamount) AS prod_boxamount, p.prod_name_en AS prod_name, p.prod_ship_days_en AS prod_ship_days, p.prod_name_auctions_en AS prod_name_auctions, p.prod_desc_en AS prod_desc, d.prod_desclong_en AS prod_desclong, d.prod_note AS prod_note, d.prod_seotitle_en AS prod_seotitle, d.prod_seodesc_en AS prod_seodesc, d.prod_info1_en AS prod_info1, d.prod_info2_en AS prod_info2, d.prod_info3_en AS prod_info3, d.prod_info4_en AS prod_info4, d.prod_info5_en AS prod_info5, pr.prd_id, pr.prd_name, pr.prd_logo, pr.prd_link, pr.prd_link_text, i.img_src, i.img_ratio, i.img_id, i.img_label_en as img_label, c.rel_cat_id, t.tax_value FROM sshop_products p LEFT JOIN sshop_products_desc d USING(prod_id) LEFT JOIN sshop_images i ON (i.img_prod_id = p.prod_id) LEFT JOIN sshop_producers pr ON (pr.prd_id = p.prod_producer) LEFT JOIN sshop_tax t ON (t.tax_id = p.prod_tax_id) LEFT JOIN sshop_categories_products c ON (c.rel_prod_id = p.prod_id) WHERE p.prod_id = 4534 AND (i.img_hidden IS NULL OR i.img_hidden = 'no') ORDER BY i.img_order ASC, i.img_id ASC SQL Error: FUNCTION wertis_www.NUMTRIM does not exist File: /home/wertis/domains/wertis.com.pl/public_html/inc/functions_product.php Line: 31 File: /home/wertis/domains/wertis.com.pl/public_html/inc/functions_product.php Line: 31 File: /home/wertis/domains/wertis.com.pl/public_html/inc/functions.php Line: 1727
PHP Error no: 256 HTML: [in line 0]: syntax error: file 'HEADER.html' does not exist File: /home/wertis/domains/wertis.com.pl/public_html/inc/templates/class.template.php Line: 742
PHP Error no: 256 HTML: [in line 0]: syntax error: file 'FOOTER.html' does not exist File: /home/wertis/domains/wertis.com.pl/public_html/inc/templates/class.template.php Line: 742