Strange "Page not found" error

Zorrocaesar - October 9, 2008 - 07:33

I have this really strange behaviour from my module:

Just a couple of minutes ago, my module worked just fine. Then I added some code to the hook_menu function and it's callback function which although was wrong, was still working. I refreshed the page a few times and cleared the cache because I had the impression that my modification don't show up and I also ran cron task. After that, my module just stop working. I just receive a "Page not found" error.

I have reverted the module to the original code, and although I'm 100% sure that the code is identical to the one the worked just a few minutes ago, it still showing the same error message.

What could be the problem?

I've had that occasionally

harrisben - October 9, 2008 - 07:41

I've had that occasionally too and found that clearing the drupal cache (at /admin/settings/performance) fixed it up.

Unfortunately, clearing the

Zorrocaesar - October 9, 2008 - 07:49

Unfortunately, clearing the cache doesn't work. I disabled it, cleared it ans still no change. This happened once again, and the only thing I could do was to delete any trace of that module and re-add it.

But as this is becoming frustrating, I need to know what is causing this problem and how can I fix.

 
 

Drupal is a registered trademark of Dries Buytaert.