Hi all!
I have big problem with Drupal 5. I am good php programmer but not understand what the relation between delete node and error block_list. I am just press delete node and boom, had error: Fatal error: Call to undefined function block_list() in D:\Sites\home\openspecs\www\includes\theme.inc on line 1013.
- before, i am don't change any system files
- Drupal worked normally
In this Drupal site i am have big results of work: a lot of cck types, taxonomy terms... i must solve this problem, my work in company depend on it.
So if you have any idea, tell me.

Super, duper Thanks!

Comments

marcvangend’s picture

See http://api.drupal.org/api/function/block_list/5: block_list() is a function in block.module. If you get this error, check if the block.module file exists and if it's readable by the web server. To be sure that the file is original and not corrupted, you download the latest Drupal 5 version and replace your block.module with a fresh copy. Let us know if the problem remains.

ibragim’s picture

The file block.module is realy exist and never was changing, i exactly know it.
I am start from index.php and string by string saw the code and test variables. I was vary surprise when in file module.inc in function module_list() variable with result of query (string: 64) was empty. But it's not true! So i start test different queries with select, and all of them returned empty value! How it's possible?

marcvangend’s picture

That's strage, I have no idea how that could happen, sorry. Can your database be corrupted or otherwise damaged?

ibragim’s picture

No, It's not impossible.
Vary bad, i am sad.((((((((

Kilgore Trout’s picture

I had the same problem, too. I think, you have to check the value of field "status" of the block module in the "system" table and change the value from "0" to "1".

update system set status=1 where name='block'

In my case this was the solution.