( ! ) PDOException: SELECT * FROM {menu_router} WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 - Array
( ) SQLSTATE[42000]: Syntax error or access violation: 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 ')
ORDER BY fit DESC LIMIT 0, 1' at line 1 in /var/www/drupal/162678/includes/database/database.inc on
line 365
Call Stack
# Time Memory Function Location
1 0.0055 398860 {main}( ) ../install.php:0
2 0.0090 626180 install_main( ) ../install.php:1186
3 0.1077 6469952 install_tasks( $profile = `default`, $task = `profile-install-batch` )
../install.php:154
4 0.1324 8011160 theme( `maintenance_page`, FALSE ) ../install.php:837
5 0.1326 8018860 call_user_func_array ( `template_preprocess_maintenance_page`, array (0 => array
(`template_files` => array (...), `content` => ``, `show_blocks` => TRUE, `show_messages` => TRUE,
`zebra` => `odd`, `id` => 1, `directory` => `themes/garland`, `is_admin` => FALSE, `is_front` =>
FALSE, `logged_in` => FALSE, `db_is_active` => FALSE, `left` => `
- Choose profile
- Choose language
- Verify
requirements
- Set up database
- Install profile
- Configure site
- Finished
`, `right` => NULL, `header` => NULL,
`footer` => NULL, `layout` => `left`), 1 => `maintenance_page`) ) ../theme.inc:648
6 0.1326 8018860 template_preprocess_maintenance_page( $variables = array (`template_files` => array
(), `content` => ``, `show_blocks` => TRUE, `show_messages` => TRUE, `zebra` => `odd`, `id` => 1,
`directory` => `themes/garland`, `is_admin` => FALSE, `is_front` => FALSE, `logged_in` => FALSE,
`db_is_active` => FALSE, `left` => `- Choose profile
- Choose language
- Verify requirements
- Set up
database
- Install profile
- Configure site
- Finished
`, `right` => NULL, `header` => NULL, `footer` => NULL, `layout` =>
`left`), `maintenance_page` ) ../theme.inc:0
7 0.1332 8025856 drupal_get_title( ) ../theme.maintenance.inc:233
8 0.1332 8025856 menu_get_active_title( ) ../path.inc:187
9 0.1332 8025856 menu_get_active_trail( ) ../menu.inc:1643
10 0.1332 8025856 menu_set_active_trail( $new_trail = ??? ) ../menu.inc:1608
11 0.1332 8026196 menu_get_item( $path = ???, $router_item = ??? ) ../menu.inc:1553
12 0.1333 8027368 db_query_range( $query = `SELECT * FROM {menu_router} WHERE path IN () ORDER BY fit
DESC`, $args = array (), $from = 0, $count = 1, $options = ??? ) ../menu.inc:367
13 0.1334 8028688 DatabaseConnection_mysql->queryRange( $query = `SELECT * FROM {menu_router} WHERE
path IN () ORDER BY fit DESC`, $args = array (), $from = 0, $count = 1, $options = array (`target` =>
`default`) ) ../database.inc:1188
14 0.1334 8029036 DatabaseConnection->query( $query = `SELECT * FROM {menu_router} WHERE path IN ()
ORDER BY fit DESC LIMIT 0, 1`, $args = array (), $options = array (`target` => `default`) )
../database.inc:46
Variables in local scope (#14)
$e =
object(PDOException)[27]
protected 'message' => string 'SQLSTATE[42000]: Syntax error or access violation: 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 ne
ar `) ORDER BY fit DESC LIMIT 0, 1` at line 1' (length=232)
private 'string' => string '' (length=0)
protected 'code' => string '42000' (length=5)
protected 'file' => string '/var/www/drupal/162678/includes/database/database.inc' (length=53)
protected 'line' => int 1017
private 'trace' =>
array
0 =>
array
'file' => string '/var/www/drupal/162678/includes/database/database.inc' (length=53)
'line' => int 1017
'function' => string 'execute' (length=7)
'class' => string 'PDOStatement' (length=12)
'type' => string '->' (length=2)
'args' =>
array
...
1 =>
array
'file' => string '/var/www/drupal/162678/includes/database/database.inc' (length=53)
'line' => int 336
'function' => string 'execute' (length=7)
'class' => string 'DatabaseStatement' (length=17)
'type' => string '->' (length=2)
'args' =>
array
...
2 =>
array
'file' => string '/var/www/drupal/162678/includes/database/mysql/database.inc' (length=59)
'line' => int 46
'function' => string 'query' (length=5)
'class' => string 'DatabaseConnection' (length=18)
'type' => string '->' (length=2)
'args' =>
array
...
3 =>
array
'file' => string '/var/www/drupal/162678/includes/database/database.inc' (length=53)
'line' => int 1188
'function' => string 'queryRange' (length=10)
'class' => string 'DatabaseConnection_mysql' (length=24)
'type' => string '->' (length=2)
'args' =>
array
...
4 =>
array
'file' => string '/var/www/drupal/162678/includes/menu.inc' (length=40)
'line' => int 367
'function' => string 'db_query_range' (length=14)
'args' =>
array
...
5 =>
array
'file' => string '/var/www/drupal/162678/includes/menu.inc' (length=40)
'line' => int 1553
'function' => string 'menu_get_item' (length=13)
'args' =>
array
...
6 =>
array
'file' => string '/var/www/drupal/162678/includes/menu.inc' (length=40)
'line' => int 1608
'function' => string 'menu_set_active_trail' (length=21)
'args' =>
array
...
7 =>
array
'file' => string '/var/www/drupal/162678/includes/menu.inc' (length=40)
'line' => int 1643
'function' => string 'menu_get_active_trail' (length=21)
'args' =>
array
...
8 =>
array
'file' => string '/var/www/drupal/162678/includes/path.inc' (length=40)
'line' => int 187
'function' => string 'menu_get_active_title' (length=21)
'args' =>
array
...
9 =>
array
'file' => string '/var/www/drupal/162678/includes/theme.maintenance.inc' (length=53)
'line' => int 233
'function' => string 'drupal_get_title' (length=16)
'args' =>
array
...
10 =>
array
'function' => string 'template_preprocess_maintenance_page' (length=36)
'args' =>
array
...
11 =>
array
'file' => string '/var/www/drupal/162678/includes/theme.inc' (length=41)
'line' => int 648
'function' => string 'call_user_func_array' (length=20)
'args' =>
array
...
12 =>
array
'file' => string '/var/www/drupal/162678/install.php' (length=34)
'line' => int 837
'function' => string 'theme' (length=5)
'args' =>
array
...
13 =>
array
'file' => string '/var/www/drupal/162678/install.php' (length=34)
'line' => int 154
'function' => string 'install_tasks' (length=13)
'args' =>
array
...
14 =>
array
'file' => string '/var/www/drupal/162678/install.php' (length=34)
'line' => int 1186
'function' => string 'install_main' (length=12)
'args' =>
array
...
public 'errorInfo' =>
array
0 => string '42000' (length=5)
1 => int 1064
2 => string 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL serve
r version for the right syntax to use near `) ORDER BY fit DESC LIMIT 0, 1` at line 1' (length=176)
$args =
array
empty
$query_string =
string 'SELECT * FROM {menu_router} WHERE path IN () ORDER BY fit DESC LIMIT 0, 1' (length=73)
$query =
string 'SELECT * FROM {menu_router} WHERE path IN () ORDER BY fit DESC LIMIT 0, 1' (length=73)
$options =
array
'target' => string 'default' (length=7)
'fetch' => int 5
'return' => int 1
'throw_exception' => boolean true
$stmt =
object(DatabaseStatement)[25]
public 'dbh' =>
object(DatabaseConnection_mysql)[12]
protected 'transactionSupport' => boolean false
public 'lastStatement' =>
&object(DatabaseStatement)[25]
public 'queryString' => string 'SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1' (le
ngth=71)