Menu

#2079 (ok 2.8.1) Error while parsing configuration file!

2.8.0.1
fixed
1
2013-06-11
2006-03-14
No

setup.php line 1116 uses
implode( '\n'
which results in "Error while parsing configuration
file!"
Suggested fix:
implode( ''
This bug is triggered by any PHP < 4.3.0 because
file_get_contents() exists since PHP 4.3.0.

Discussion

  • Michal Čihař

    Michal Čihař - 2006-03-14

    Logged In: YES
    user_id=192186

    This should be fixed in 2.8.0.1, are you sure you are using
    this version?

    See bug #1444867 for details.

     
  • Julian Ladisch

    Julian Ladisch - 2006-03-14

    Logged In: YES
    user_id=561017

    The same coding error
    implode( '\n'
    was in
    Config.class.php (bug 1444867) (fixed in 2.8.0.1)
    and is in
    setup.php (this bug), not yet fixed.

    Only one out of two occurences has been fixed. (Using grep
    I don't found a third one.)

     
  • Michal Čihař

    Michal Čihař - 2006-03-14
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2006-03-14

    Logged In: YES
    user_id=192186

    Ah, now I see.

     
  • Michal Čihař

    Michal Čihař - 2006-03-14

    Logged In: YES
    user_id=192186

    Fixed in CVS, thanks for reporting.

     
  • Michal Čihař

    Michal Čihař - 2006-03-14
    • priority: 5 --> 1
    • summary: Error while parsing configuration file! (PHP < 4.3.0) --> (ok 2.9.0) Error while parsing configuration file!
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2006-03-16
    • summary: (ok 2.9.0) Error while parsing configuration file! --> (ok 2.8.1) Error while parsing configuration file!
     
  • Michal Čihař

    Michal Čihař - 2006-03-16

    Logged In: YES
    user_id=192186

    Patch backported to maintenance brach.

     
  • Marc Delisle

    Marc Delisle - 2006-05-20
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed