Imposible acceso a la página de Drupal
Pues he estado configurando mi drupal y me he topado con el siguiente problema:
1º.- He seguido los pasos del manual de instalación, ayudándome de phpmyadmin.
2º.- Tengo isntalado el apache, php4-mysql y mysqul, además de la última versión del drupal.
3º.- He creado el usuario de mysql, le he dado permisos, después mi base de datos drupal, he creado las tablas de la base de datos y he modificado settings.php.
4º.- El problema ha llegado cdo desde el Firefox he ido a http://localhost/ me he encontrado con esto:
Warning: Unknown column 'severity' in 'field list' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Unknown column 'weight' in 'order clause'\nquery: SELECT name, filename, throttle, bootstrap FROM system WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in /var/www/includes/database.mysql.inc on line 120.', 2, '', 'http://localhost/', '', '127.0.0.1', 1150558248) in /var/www/includes/database.mysql.inc on line 120
Fatal error: Call to undefined function: theme_onload_attribute() in /var/www/themes/engines/xtemplate/xtemplate.engine on line 129
Warning: Unknown column 'severity' in 'field list' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Unknown column 'cache' in 'field list'\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('4f7af758f3f061315106cbd7f9b6890b', 0, 0, '127.0.0.1', 'messages|a:1:{s:5:\\"error\\";a:1:{i:0;s:271:\\"user warning: Unknown column 'weight' in 'order clause'\\nquery: SELECT name, filename, throttle, bootstrap FROM system WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in /var/www/includes/database.mysql.inc on line 120.\\";}}', 1150558248) in /var/www/includes/database.mysql.inc on line 120.', 2, '', 'http://localhost/', '', ' in /var/www/includes/database.mysql.inc on line 120
¿Alguien me puede ayudar?
- Inicie sesión o regístrese para enviar comentarios







¿Mezclando versiones?
En tu post dices que estás utilizando la última versión de Drupal (que a día de hoy es la 4.7.2), pero entre los mensajes de error que pones aparece el siguiente:
Fatal error: Call to undefined function: theme_onload_attribute() in /var/www/themes/engines/xtemplate/xtemplate.engine on line 129El fichero al que hace referencia ese mensaje de error (xtemplate.engine) no existe en la versión 4.7.2, corresponde a un engine de themes que se eliminó de Drupal partir de la versión 4.7.0.
Revisa que estás instalando exactamente, la versión 4.7.2 se puede bajar de la siguiente dirección:
http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.2.tar.gz
Saludos
------------------------------------------------------
http://www.inmensia.com/articulos/drupal
Sigue dando error
Tenías razón andaba mezclando una vieja versión 4.5.8 con la nueva 4.72, lo he borrado todo y he vuelto a instalar la 4.7.2. Pero me sigue dando error.
Ahora me sale esto en la página:
Warning: Unknown column 'severity' in 'field list' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Unknown column 'weight' in 'order clause'\nquery: SELECT name, filename, throttle, bootstrap FROM system WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in /var/www/includes/database.mysql.inc on line 120.', 2, '', 'http://localhost/', '', '127.0.0.1', 1150563817) in /var/www/includes/database.mysql.inc on line 120
user warning: Unknown column 'weight' in 'order clause' query: SELECT name, filename, throttle, bootstrap FROM system WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in /var/www/includes/database.mysql.inc on line 120.
Welcome to your new Drupal website!
Please follow these steps to set up and start using your website:
1. Create your administrator account To begin, create the first account. This account will have full administration rights and will allow you to configure your website.
2. Configure your website Once logged in, visit the administration section, where you can customize and configure all aspects of your website.
3. Enable additional functionality Next, visit the module list and enable features which suit your specific needs. You can find additional modules in the Drupal modules download section.
4. Customize your website design To change the "look and feel" of your website, visit the themes section. You may choose from one of the included themes or download additional themes from the Drupal themes download section.
5. Start posting content Finally, you can create content for your website. This message will disappear once you have published your first post.
For more information, please refer to the Help section, or the online Drupal handbooks. You may also post at the Drupal forum, or view the wide range of other support options available.
Warning: Unknown column 'severity' in 'field list' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Unknown column 'cache' in 'field list'\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('4f7af758f3f061315106cbd7f9b6890b', 0, 0, '127.0.0.1', '', 1150563817) in /var/www/includes/database.mysql.inc on line 120.', 2, '', 'http://localhost/', '', '127.0.0.1', 1150563817) in /var/www/includes/database.mysql.inc on line 120
¿Tal vez no accede bien al tema por defecto??
Instalación
La Base de Datos también tienes que volver a crearla. Por los mensajes de error me da la impresión de que sólo has cambiado los ficheros del disco duro pero no has vuelto a crear la Base de Datos. Borra las tablas y vuelves a crearlas, o actualizalas si no quieres perder datos, utilizando el script de creación que viene con la versión 4.7.2.
Saludos
------------------------------------------------------
http://www.inmensia.com/articulos/drupal