Database error: Invalid SQL: SELECT * FROM banners
WHERE active=1
and
format = "6"
and
( start_date is null or start_date = 0 or start_date < UNIX_TIMESTAMP(NOW()) )
and
( end_date is null or end_date = 0 or end_date > UNIX_TIMESTAMP(NOW()) )
and (
pages is null OR pages = "" OR find_in_set(0,pages)
OR
)
and (
u_group is null OR
u_group = ""
)
ORDER BY find_in_set(4, place) DESC, (priority+0.0001) * RAND()
LIMIT 1
MySQL 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 ')
and (
u_group is null OR
u_group = ""
)
ORDER BY find_in_set(4, place) D' at line 13)
Backtrace:
file: 412 - /home/clients/chrysler/phplib/db_mysql.inc
call: backtrace()
file: 127 - /home/clients/chrysler/phplib/db_mysql.inc
call: DB_Sql->halt("Invalid SQL: SELECT * FROM banners
WHERE active=1
and
format ...")
file: 47 - /home/clients/chrysler/pages/bn/i.tpl
call: DB_Sql->query("SELECT * FROM banners
WHERE active=1
and
format = "6"
and
(...")
file: 4 - /home/clients/chrysler/pages/bn.tpl
call: include("/home/clients/chrysler/pages/bn/i.tpl")
file: 83 - /home/clients/chrysler/index.php
call: include("/home/clients/chrysler/pages/bn.tpl")
Session halted.