Just bought "Pro Drupal Development" book. Typed in example from the book, created annotate.info file :
; $Id$
name = Annotate
description = Allows users to annotate nodes.
package = Example
version = "$Name$"
When I go to Admin -> Modules page I get:
warning: parse_ini_file(sites/all/modules/annotate/annotate.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/darko/www/bizz/includes/module.inc on line 195.
The name and module description does not appears in the module list, instead empty entry appears (just check box with no name)
If I enable module I get even more errors:
* warning: parse_ini_file(sites/all/modules/annotate/annotate.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/darko/www/bizz/includes/module.inc on line 195.
* warning: include_once(./sites/all/modules/annotate/annotate.module) [function.include-once]: failed to open stream: Permission denied in /home/darko/www/bizz/includes/bootstrap.inc on line 469.
* warning: include_once() [function.include]: Failed opening './sites/all/modules/annotate/annotate.module' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/darko/www/bizz/includes/bootstrap.inc on line 469.
* warning: include_once(./sites/all/modules/annotate/annotate.module) [function.include-once]: failed to open stream: Permission denied in /home/darko/www/bizz/includes/bootstrap.inc on line 469.
* warning: include_once() [function.include]: Failed opening './sites/all/modules/annotate/annotate.module' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/darko/www/bizz/includes/bootstrap.inc on line 469.
* warning: parse_ini_file(sites/all/modules/annotate/annotate.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/darko/www/bizz/includes/module.inc on line 195.
Comments
Comment #1
RobRoy commentedLooks like the web server doesn't have permission to read that file maybe?
Comment #2
dark-o commentedYes, that fixed it, many thanks
cheers
Darko
Comment #3
RobRoy commentedClosing then.
Comment #4
pikotCA commentedhi guys!!! can you please teach me how you solve it... i have the same problem.. tried out the first example.. thanks