Error parsing sites/all/modules/singlesignon/singlesignon.info on line 4 in/home/user/public_html/includes/module.inc on line 195

The double quotes in the description are causing the error.

Comments

danielc’s picture

Status: Active » Closed (fixed)

I don't get a parse error when doing this:
var_dump(parse_ini_file('./singlesignon.info'));

Though it removes the quotes and spaces next to them. I'm using PHP 5.2.0RC5-dev. Which version of PHP are you using?

When I modify line 4 as follows I get the expected results:

description = "Enables 'Single Sign-Ons' between related Drupal sites on one server with a shared databse."

What happens if you use that line (unwrap if necessary)?

Thanks.

danielc’s picture

Status: Closed (fixed) » Active

Oops. Closed by mistake.

CloudCuckoo’s picture

It's PHP 4.4.3 and using that line gives the expected results.

danielc’s picture

Assigned: Unassigned » danielc
Status: Active » Fixed

Committed a fix a moment ago.

danielc’s picture

Version: master » 5.x-1.x-dev
Anonymous’s picture

Status: Fixed » Closed (fixed)