Closed (won't fix)
Project:
Module Builder
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 20:10 UTC
Updated:
14 Jul 2013 at 07:32 UTC
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
Comment #1
joachim commentedDid 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.
Comment #2
electronicmonkey commentedI 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
Comment #3
joachim commented> That is where it is supposed to be right ?
Dunno. Check MB's settings.
Comment #4
electronicmonkey commentedYes, 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.
Comment #5
joachim commentedI 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?
Comment #6
electronicmonkey commentedYes, on D6 . I will re-install MB and see what happens . Else back to basic way. Thanks
Comment #7
joachim commentedThere's no need to reinstall. Just debug it to see what it's trying to do.
Comment #8
electronicmonkey commentedI reinstalled in Core modules directory instead of sites => all> modules and it now works !!
Comment #9
joachim commentedO_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.
Comment #10
joachim commentedSorry, I'm no longer maintaining the 6.x branch. If you can provide a patch though, I'll commit it.