Database error: 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 1
Invalid query: SELECT COUNT(page_id) c FROM pages WHERE status=1 AND page_category_id=


Backtrace:
File:/home/ekmag/public_html/index.php
Line:9
Function:include
File:/home/ekmag/public_html/init.php
Line:229
Function:include
File:/home/ekmag/public_html/include/category.php
Line:32
Function:db_get_field
File:/home/ekmag/public_html/core/database.php
Line:64
Function:db_query
File:/home/ekmag/public_html/core/db_mysql.php
Line:65
Function:db_debug_error