I converting my site from DRUPAL 4.7x to Drupal 5.1 x.
For this I am using coder module.
I done all changes which are given into "code review".
Into code review showing no problem after all changes.
But When I open my
Administrator >> Block
It's giving following error:

"Fatal error: Call to undefined function module_exists() in C:\Program Files\xampp\htdocs\drupal-4.7.7\modules\block.module on line 218"

Please give the solution anyone know this problem.
It's very argent.

Thank you.

Comments

styro’s picture

you have upgraded Drupal to 5? A 5 compatible module won't work on a 4.7 install.

The 5.x block module uses module_exists():
http://api.drupal.org/api/file/modules/block/block.module/5/source

while the 4.7.x block module uses module_exist():
http://api.drupal.org/api/file/modules/block.module/4.7/source

--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal