Community & Support

Calling update.php results in an "internal server error"

Hello everyone,

I tried to simulate upgrading my 5.15 site to Drupal 6.9 today. As described in http://drupal.org/upgrade/ , I created a test site by copying all files into a subdirectory of my shared hosting "root" and creating a second database. I could verify that the test site worked as expected, logging in and doing administrative tasks worked indepentenly from the main site.

I then followed the instructions:

  • logged in as "user no. 1"
  • Switched to the default theme
  • deactivated all other themes
  • turned off localization module in oder to get an English site
  • turned off all non-core modules
  • copied the new files over the old ones
  • adjusted paths in sites/default/settings.php and .htaccess
  • called testsite/update.php in a browser

...only to see that the script would not start, it returned a nondescript "internal server error". In order to troubleshoot this further, I'd like to have more detailed information about why the script wouldn't run. I could not find any logs in the database -- where should I look? And does it look to you as if I missed something in my preparations?

Many thanks for all advice

Jürgen

Comments

Update: I got PHP to log its

Update: I got PHP to log its output into a file. When calling update.php, the address displayed in the browser changes to update.php?op=info and the process stalls. This is the error output:

[24-Feb-2009 00:28:08] PHP Warning:  Unknown column 'serialized' in 'field list'
query: SELECT data, created, headers, expire, serialized FROM drupcache WHERE cid = 'variables' in /path/to/my/site/testsite/includes/database.mysql.inc on line 128
[24-Feb-2009 00:28:08] PHP Warning:  Unknown column 'serialized' in 'field list'
query: UPDATE drupcache SET data = 'a:286:{s:13:\"theme_default\";s:7:\"garland\";s:13:\"filter_html_1\";s:1:\"1\";s:18:\"node_options_forum\";a:0:{}s:17:\"menu_primary_menu\";s:1:\"0\";s:19:\"menu_secondary_menu\";s:1:\"0\";s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:1:{i:0;s:6:\"status\";}s:12:\"comment_page\";i:0;s:18:\"drupal_private_key\";s:64:\"d8868853775e6312df7497cf667ebc75e70867d63924fcbd24119cff8d4da6fa\";s:19:\"file_directory_temp\";s:4:\"/tmp\";s:19:\"file_directory_path\";s:7:\"Dateien\";s:14:\"file_downloads\";s:1:\"1\";s:21:\"date_default_timezone\";s:4:\"3600\";s:22:\"configurable_timezones\";s:1:\"0\";s:17:\"date_format_short\";s:11: in /path/to/my/site/testsite/includes/database.mysql.inc on line 128
[24-Feb-2009 00:28:08] PHP Warning:  Unknown column 'language' in 'where clause'
query: SELECT src FROM drupurl_alias WHERE dst = 'node' AND language IN('en', '') ORDER BY language DESC in /path/to/my/site/testsite/includes/database.mysql.inc on line 128
[24-Feb-2009 00:28:08] PHP Fatal error:  Call to undefined function  _system_theme_data() in /path/to/my/site/testsite/includes/theme.inc on line 459

Any ideas?

No ideas out there?

OK, people, I know it's not polite to "bump" one's own threads, and normally wouldn't do it, but I still hope that there's anyone here who can help me... I'm not really looking forward to having to rebuild my entire site from scratch in Drupal 6. As I said, I'm mainly looking for help on diagnosing the cause of those problems, although a readily-applicable solution would not hurt, either ;-)

Regards,

Jürgen

nobody click here