Database error: 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 '/tmp/#sql_b2f_0' at line 1 (1064)
Invalid query: SELECT cscart_blocks.*,cscart_block_descriptions.block,cscart_block_descriptions.block_id,cscart_block_links.item_ids,cscart_block_links.enable AS assigned FROM cscart_blocks LEFT JOIN cscart_block_links ON cscart_block_links.block_id = cscart_blocks.block_id LEFT JOIN cscart_block_descriptions ON cscart_block_descriptions.block_id = cscart_blocks.block_id AND lang_code = 'RO' WHERE 1 AND cscart_blocks.status = 'A' AND cscart_block_links.enable = 'Y' AND NOT FIND_IN_SET('categories', cscart_blocks.disabled_locations) AND (cscart_block_links.location = 'all_pages' OR (cscart_block_links.location = 'categories' AND cscart_block_links.object_id = 220)) ORDER BY position


Backtrace:
File:/home/flori/public_html/core/fn.database.php
Line:224
Function:db_error
File:/home/flori/public_html/core/fn.database.php
Line:48
Function:db_query
File:/home/flori/public_html/core/fn.cms.php
Line:438
Function:db_get_hash_array
File:/home/flori/public_html/controllers/customer/init.php
Line:38
Function:fn_get_blocks
File:/home/flori/public_html/core/fn.control.php
Line:452
Function:include
File:/home/flori/public_html/core/fn.control.php
Line:327
Function:fn_run_controller
File:/home/flori/public_html/index.php
Line:24
Function:fn_dispatch

Database error: 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 '/tmp/#sql_b2f_0' at line 1 (1064)
Invalid query: SHOW COLUMNS FROM cscart_sessions


Backtrace:
File:/home/flori/public_html/core/fn.database.php
Line:224
Function:db_error
File:/home/flori/public_html/core/fn.database.php
Line:24
Function:db_query
File:/home/flori/public_html/core/fn.database.php
Line:395
Function:db_get_array
File:/home/flori/public_html/core/fn.database.php
Line:421
Function:fn_get_table_fields
File:/home/flori/public_html/core/fn.database.php
Line:267
Function:fn_check_table_fields
File:/home/flori/public_html/core/fn.database.php
Line:197
Function:db_process
File:/home/flori/public_html/core/class.session.php
Line:95
Function:db_query
File:/home/flori/public_html/core/class.session.php
Line:69
Function:save