ack! query failed:
  • errorno=1064
  • 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 'and peso > 0 and showcount < maximpression and clickcount < maxclicks and valid' at line 2
  • query=select bannerid, redirecturl, url_banner, peso, alttext from rb_banner where id_set = and peso > 0 and showcount < maximpression and clickcount < maxclicks and validodal <= 1560669403 and validofinoa >= 1560669403 and blocca = 0