I get the following error message when I try to use the Atahualpa theme on a brand-new Wordpress site (nothing done after the install but switch to Atahualpa). This happens on two commercial hosting services. When I run the site on my own box, it works fine. The hosts that don't work are the newest and oldest versions of PHP and MySql. My own box, which works, has versions of PHP and MySql in between.
The message in the error log is:
[08-Nov-2010 17:07:13] WordPress 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 'ASC' at line 1 for query SELECT * FROM wp_sb_posts WHERE (post_type = 'page' AND post_status = 'publish') ORDER BY ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, bfa_header_config, bfa_hor_pages, wp_list_pages, get_pages
Any hints as to what might be wrong?