I have seen instances of this problem reported but no place where an answer is giving but if I am missing something please forgive me. I installed and tried to creat a module but got following and blank page :

No hooks were found. Please check the documentation path specified in the Administer >> Site configuration >> Module builder page

The download tab does fetch a bunch of hooks documentation though. Don't know why nothing else works.

Comments

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

Did you install this on a new Drupal site that didn't have a files folder created yet? There's an awkward bug where that happens. Check that the folder your hooks downloaded to and the folder MB is looking for are the same.

electronicmonkey’s picture

I found a "files" folder under sites => default . That is where it is supposed to be right ?

Yes I did install on a brand new site . Localhost

joachim’s picture

> That is where it is supposed to be right ?

Dunno. Check MB's settings.

electronicmonkey’s picture

Yes, according to the settings that is where it should be.

Error log : Invalid argument supplied for foreach() in C:\wamp\www\developer\sites\all\modules\module_builder\includes\process.inc on line 154.

joachim’s picture

I really don't know -- you should try and debug where MB is trying to load files from and figure out why it's not getting anything.

You're using MB as a web interface on D6, right?

electronicmonkey’s picture

Yes, on D6 . I will re-install MB and see what happens . Else back to basic way. Thanks

joachim’s picture

There's no need to reinstall. Just debug it to see what it's trying to do.

electronicmonkey’s picture

I reinstalled in Core modules directory instead of sites => all> modules and it now works !!

joachim’s picture

O_o

Not something I'd recommend. It could be because somewhere MB is looking for an absolute path, but it works perfectly on my system in sites/all/modules.

joachim’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Sorry, I'm no longer maintaining the 6.x branch. If you can provide a patch though, I'll commit it.