I set everything up, including the mysql db. I modified the settings.php file.
I am running apache2.
However whenever I type "http://localhost/drupal" I get the following error:
Warning: Table 'drupal.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('::1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in /var/www/localhost/htdocs/drupal/includes/database.mysql.inc on line 128
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/localhost/htdocs/drupal/includes/database.mysql.inc:128) in /var/www/localhost/htdocs/drupal/includes/bootstrap.inc on line 976
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/localhost/htdocs/drupal/includes/database.mysql.inc:128) in /var/www/localhost/htdocs/drupal/includes/bootstrap.inc on line 976
Warning: Table 'drupal.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /var/www/localhost/htdocs/drupal/includes/database.mysql.inc on line 128
Warning: Table 'drupal.variable' doesn't exist query: SELECT * FROM variable in /var/www/localhost/htdocs/drupal/includes/database.mysql.inc on line 128
Warning: Table 'drupal.cache' doesn't exist query: UPDATE cache SET data = '', created = 1213068293, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in /var/www/localhost/htdocs/drupal/includes/database.mysql.inc on line 128
Warning: Table 'drupal.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in /var/www/localhost/htdocs/drupal/includes/database.mysql.inc on line 128
Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/drupal/includes/database.mysql.inc:128) in /var/www/localhost/htdocs/drupal/includes/bootstrap.inc on line 577
Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/drupal/includes/database.mysql.inc:128) in /var/www/localhost/htdocs/drupal/includes/bootstrap.inc on line 578
Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/drupal/includes/database.mysql.inc:128) in /var/www/localhost/htdocs/drupal/includes/bootstrap.inc on line 579
Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/drupal/includes/database.mysql.inc:128) in /var/www/localhost/htdocs/drupal/includes/bootstrap.inc on line 580
Warning: Table 'drupal.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /var/www/localhost/htdocs/drupal/includes/database.mysql.inc on line 128
I don't understand this and would like to know what it means and what I could do about this.
Thanks.
Comments
Database tables were not created
Your setup.php has incorrect settings. Have you ran the install script?
HillsWeb.com
Hills Web
I could swear I did, but
I could swear I did, but when I try to run it again (just in case) I get an error.
Not Found
The requested URL /htdocs/drupal/install.php was not found on this server.
And now I get this after
And now I get this after typing: "http://localhost/drupal/install.php?profile=default&locale=en"
Home
user warning: 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 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /var/www/localhost/htdocs/drupal/includes/menu.inc on line 315.
user warning: 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 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /var/www/localhost/htdocs/drupal/includes/menu.inc on line 315.
This is what line 315 on
This is what line 315 on menu.inc looks like.
The "(315)" was added by me.
(315) if ($router_item = db_fetch_array(db_query_range('SELECT * FROM {menu_router} WHERE path IN ('. implode (',', $placeholders) .') ORDER BY fit DESC', $ancestors, 0, 1))) {
$map = _menu_translate($router_item, $original_map);
if ($map === FALSE) {
$router_items[$path] = FALSE;
return FALSE;
}
if ($router_item['access']) {
$router_item['map'] = $map;
$router_item['page_arguments'] = array_merge(menu_unserialize($router_item['page_arguments'], $map), array_slice($map, $router_item['number_parts']));
}
}
ya, having the same problemo.
ya,
having the same problemo. Seems during the 'profile-install-batch' task of the install profile something is doing a path lookup in the 'menu_router' table, which is empty (as you'd expect). Need a back trace to figure out which module is doing it...