warning: Error parsing modules/outline/outline.info on line 4
nisguy - April 9, 2007 - 15:45
| Project: | Outline |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I got this error when trying to install
warning: Error parsing modules/outline/outline.info on line 4 in /root/path/sitename/includes/module.inc on line 195.
Apache version 1.3.37 (Unix)
PHP version 5.2.1
MySQL version 4.1.21-standard
Drupal 5.1

#1
that's strange.
Can you copy here the content of modules/outline/outline.info ?
#2
If you download this:
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/ou...
and save as outline.info (replacing the original one): does it work?
#3
It's the exacting nature of PHP 5, there's no warning using PHP 4.4.4.
Here the content for outline.info
; $Id: outline.info,v 1.3 2007/01/07 20:50:46 pwolanin Exp $
name = Outline
description = Allows content to be organized into hierarchical outlines
version = $Name: DRUPAL-5--1-0 $
; Information added by drupal.org packaging script on 2007-03-21
version = "5.x-1.0"
project = "outline"
Using the cvs version linked to in #2 the error is still there.
According to http://drupal.org/node/64279#info
version = "$Name$"Not having the double quotes is what gives the warning on PHP 5. I don't know if that's also the cause of the duplicate version information.
#4
Thanks Cloudy. I have committed the change to HEAD.
#5
#6
I just grabbed the Outline module and navigated to /admin/build/modules and was greeted with the same warning:
warning: Error parsing sites/all/modules/outline/outline.info on line 4 in /var/www/drupal/includes/module.inc on line 195.Here is the outline.info file contents:
; $Id: outline.info,v 1.3 2007/01/07 20:50:46 pwolanin Exp $name = Outline
description = Allows content to be organized into hierarchical outlines
version = $Name: DRUPAL-5--1-0 $
; Information added by drupal.org packaging script on 2007-03-21
version = "5.x-1.0"
project = "outline"
I have edited the
$Nameto"$Name"and to"$Name$"as suggested, but the warning remains.#7
forgot to change the status...
#8
Just realized I had to change
version = $Name: DRUPAL-5--1-0 $to
version = "$Name: DRUPAL-5--1-0 $"to make that warning go away...
I also removed all the line extra line breaks for good measure.
#9
Thanks, had the same problem and changed:
version = $Name: DRUPAL-5--1-0 $
to
version = "$Name: DRUPAL-5--1-0 $"
All is well now