#0  {closure}(2, Missing argument 2 for Dbase::select(), called in /var/www/darts/lib/modules/event_registration_open.inc on line 10 and defined, /var/www/darts/lib/dbase.class.php, 247, Array ([table] => SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC)) called at [/var/www/darts/lib/dbase.class.php:247]
#1  Dbase->select(SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC) called at [/var/www/darts/lib/modules/event_registration_open.inc:10]
#2  include(/var/www/darts/lib/modules/event_registration_open.inc) called at [/var/www/darts/lib/common_functions.php:263]
#3  getpagecontent(www_darts_ee, 72) called at [/var/www/darts/lib/makesite.php:126]
#4  require(/var/www/darts/lib/makesite.php) called at [/var/www/darts/index.php:8]
#0  {closure}(8, Undefined variable: fields, /var/www/darts/lib/dbase.class.php, 248, Array ([table] => SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC,[where] => Array (),[cols] => 0)) called at [/var/www/darts/lib/dbase.class.php:248]
#1  Dbase->select(SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC) called at [/var/www/darts/lib/modules/event_registration_open.inc:10]
#2  include(/var/www/darts/lib/modules/event_registration_open.inc) called at [/var/www/darts/lib/common_functions.php:263]
#3  getpagecontent(www_darts_ee, 72) called at [/var/www/darts/lib/makesite.php:126]
#4  require(/var/www/darts/lib/makesite.php) called at [/var/www/darts/index.php:8]
#0  {closure}(8, Undefined variable: fields, /var/www/darts/lib/dbase.class.php, 248, Array ([table] => SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC,[where] => Array (),[cols] => 0)) called at [/var/www/darts/lib/dbase.class.php:248]
#1  Dbase->select(SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC) called at [/var/www/darts/lib/modules/event_registration_open.inc:10]
#2  include(/var/www/darts/lib/modules/event_registration_open.inc) called at [/var/www/darts/lib/common_functions.php:263]
#3  getpagecontent(www_darts_ee, 72) called at [/var/www/darts/lib/makesite.php:126]
#4  require(/var/www/darts/lib/makesite.php) called at [/var/www/darts/index.php:8]
SELECT FROM SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY submit_time DESC : 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 'FROM SELECT * FROM event_registration WHERE event_id = 'estopen2012' ORDER BY su' at line 1