So, this is a brand new installation of D 6.22. No content just a bunch of modules and configuration.
On trying to find a solution to my issue here it seems like there might be a few issues with block.module in 6.22. So I'm posting my issue here even though the error refers to theme.inc it might not be a problem with block.module but all the other symptoms point to block.module.
I first noticed that something was going wrong on /admin/build/modules -> list.
I'd intended to enable the Block Reference module but under "depends on" drupal reports that the block module is "missing".
I thought that was strange since I had been working with blocks earlier.
I check to make sure all the block.module files were in place, I've even since re-uploaded all D 6.22 files.
Anyway, I went on to do some more work with blocks and at some point I got the error given in the subject line.
Fatal error: Call to undefined function block_list() in /includes/theme.inc on line 1641
After some digging and not finding anything I went to phpMyAdmin and found that the status for block.module in the system table was set to "0".
I reset it to "1" and got back into the site but now any time I run update.php or clear caches or sometimes when making changes in /admin/build/block the status of block.module gets reset to "0" and I'm down again with the same error given above.
Anyone?
Comments
Comment #1
kvguser CreditAttribution: kvguser commentedConfirming the bug in 6.22 ( PHP 5.3.0, MySQL 5.1.36, Apache/2.2.11).
I upgraded from 5.23 to 6.22. The problem was showing before I enabled custom modules.
Then it was happening every time I run update.php after a custom module install, for about 6-7 consecutive times with different modules.
But then after one of those, it suddenly stopped happening anymore (don't remember which one).
(absolutely nothing has changed on my comp meanwhile)