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
Comments
Comment #1
beginner commentedthat's strange.
Can you copy here the content of modules/outline/outline.info ?
Comment #2
beginner commentedIf 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?
Comment #3
CloudCuckoo commentedIt's the exacting nature of PHP 5, there's no warning using PHP 4.4.4.
Here the content for outline.info
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.
Comment #4
beginner commentedThanks Cloudy. I have committed the change to HEAD.
Comment #5
(not verified) commentedComment #6
kpm commentedI 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:
I have edited the
$Nameto"$Name"and to"$Name$"as suggested, but the warning remains.Comment #7
kpm commentedforgot to change the status...
Comment #8
kpm commentedJust realized I had to change
to
to make that warning go away...
I also removed all the line extra line breaks for good measure.
Comment #9
profrink commentedThanks, had the same problem and changed:
version = $Name: DRUPAL-5--1-0 $
to
version = "$Name: DRUPAL-5--1-0 $"
All is well now