Here we go!
The Problem is a compatibility issue with JDatabaseQuery in Joomla 1.7 (look:
groups.google.com/group/joomla-dev-general/browse_thread/thread/5f18d884338e647a.)
Hereґs the solution for Sexylightbox:
In file /modules/mod_arisexylightbox/includes/kernel/Module/j16/class.ModuleHelper.php on line 41
replace $query = new JDatabaseQuery;
with $query = $db->getQuery(true);
and here for AriDataTables:
In file /plugins/content/aridatatables/kernel/Module/j16/class.ModuleHelper.php on line 41
replace $query = new JDatabaseQuery;
with $query = $db->getQuery(true);