Posted by Bilal81 on March 15, 2010 at 5:24pm
On installing the core module I get the following error when saving the modules:
warning: Invalid argument supplied for foreach() in public_html/modules/openpublish_core.module on line 36.
Line 36 is as follows:
foreach (glob(dirname(__ FILE__) . "/views/*.inc") as $filename) {
(ignore the space before FILE)
How can I fix this?
Thank you.
Comments
That means there're no ".inc"
That means there're no ".inc" files in the "views" subfolder of the module (or not even the folder), which should not be the case if you properly uploaded/downloaded mofule.
But a bigger question is: why are you installing openpublish_core manually? Installation profile is supposed to do that instead.
Thank you
Irakli
.............................................
http://twitter.com/inadarei