Server: Shared hosting on an Apache web server with PHP 5.2.6, MySQL 5.0.41 and Drupal 6.4.

Installed modules:
* Views 6.x-2.0-rc4
* Poormanscron 6.x-1.0
* Token 6.x-1.11
* Pathauto 6.x-2.x-dev (2008-sep-13)
* Lightbox2 6.x-1.8
* Google Analytics 6.x-2.x-dev (2008-okt-01)

I have been using the latest release candidates without problems and living happily with them, yesterday however I updated CCK 6.x-2.0-rc7 to 6.x-2.0-rc8 . Or rather, I tried. I took a backup which was moved out from the directory, replaced the module in sites/all/modules directory with the new version and went on to use update.php with the automatically selected choices, which tried to do five updates.

The result (see attachment) was an error page asking me to enable CCK in the admin/build/modules before the database updates could be performed, which was odd since it should have been enabled, after all I have successfully been using it for a few weeks now.

But I went to the modules admin page to see what is wrong and I am greeted by a blank white page. "This is not looking good..." was my thought, and that being true the only thing I am able to access at all without being fed a blank page is update.php, everything else except the admin page is unreachable.

At this point I decided to roll back to previous reason, since update.php reported that it did not run any databas updates I replaced the newer version (RC8) with the older (RC7) and tried to access my site. Still blank. Running cron? Still blank. Cleaning cache? Still blank. Running update.php? Still blank.

And now I am stuck with an admin interface and no ideas what to do next.

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

Since you have a backup, go back to your backup database, use CCK rc9 (which will be issued later today), and try again. Before running the update, check your modules page to see what modules are enabled, just so we can be sure. Also, just in case we have a theme issue here, be sure to set your admin theme to a core theme like Garland.

Then try the update again. You will probably still get messages to re-run the update and you may have to run it several times before everything will update and the message will disappear.

NiklasBr’s picture

Started with RC7, installed RC9 and ran update.php, which only gave one error this time, but also tried to only update one table, not the five that RC8 tried to update. The error is the same kind that I attached above: I need to enable content.module to be able to run the update.

My admin theme is Garland and the admin/build/modules is completely blank. Not a byte sent to the web browser. However, admin/build/modules/uninstall is possible to reach.

karens’s picture

What theme are you using for an admin theme? Try making your admin theme Garland and see what affect that has on being able to get to the modules page. [Edit] You did that already, sorry I missed reading that.

Turn error messages on in your PHP settings, that 'blank' page will have an error message if you do.

NiklasBr’s picture

admin/settings/error-reporting is set to write to screen and log. No custom 403/404 pages.
admin/settings/logging/dblog is set to save the last 1000 log posts.

admin/reports/dblog reports nothing on what happens when I run update.php.
admin/reports/status is all greens.

Though I realise that I actually managed to find one thing with RC9 that I could not do with RC8: access some pages on the site. When I tried RC8 e.g. the page www.mysite.cm/forum would be blank, with RC9 this is not the case. Now the only blank page are those which show content from CCK fields plus the admin/build/modules page.

Edit: Tried to see if admin/settings/error-reporting was working as it should, removing the Pathauto module from its directory triggered error messages on the screen and in the log.

karens’s picture

What non-core CCK modules do you have installed? If you can't get to the modules page, you can turn them off by setting the status to '0' in the system table. Try turning off all non-core CCK modules to see what happens.

NiklasBr’s picture

StatusFileSize
new96.57 KB
new124.03 KB

Query: SELECT filename, name, type, status, schema_version FROM `sjoskogen_system` where status=1

See attachment 1 for result. When I only have these (second attachment) modules installed I still get the blank pages.

karens’s picture

Turn off lightbox, poormanscron, google analytics. Clear all your caches.

karens’s picture

Do you have non-core CCK modules in the modules folder, even if disabled?

NiklasBr’s picture

StatusFileSize
new39.96 KB

I did turn them off in the second attachment, however that had no effect. Cleaning cache and running cron had no effect.

karens’s picture

I'm out of ideas and I certainly can't replicate this.

Try a fresh install in the same environment where you're having trouble and see if things work that way.

NiklasBr’s picture

KarenS, a huge thank you for taking your time and energy to help me.

Now I feel really stupid because I cold just have run a SQL query to {system} to set status = 1 for the cck content.module. I did so recently and then used update.php and now everything is working as it ought to.

I have no clue whatsoever about why it happened like it did though.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm going to assume that you just had some kind of hiccup, rather than that this is a bug in CCK. Since no one else has reported this and you're fixed, I'm going to mark this fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.