Menu

#893 (ok 2.9.0) Provide way to show config errors

fixed
1
2013-06-11
2006-03-10
Rick Kelly
No

Just installed phpMyAdmin 2.8.0.1 on Apache 2.0.54 with
PHP 5.0.4

phpMyAdmin does not read config.inc.php.
I double checked the filemode and location. All is
setup correctly as per documentation.
I had to manually edit /libraries/config.default.php to
actually get it to start at all.
Now phpMyAdmin tells me 'phpMyAdmin was unable to read
your configuration file!' on the bottom of the first
page. Calling the config file directly as suggested on
that page results in a blank page, indicating there is
no problem...

Discussion

  • Michal Čihař

    Michal Čihař - 2006-03-10

    Logged In: YES
    user_id=192186

    Aren't there some trailing/leading spaces in your config
    file? Could you upload it here (hide any sensitive information)?

     
  • Rick Kelly

    Rick Kelly - 2006-03-10

    Logged In: YES
    user_id=735919

    The config file has no leading or trailing spaces.
    It has actally been generated by the setup script...

    See the attached file.

     
  • Rick Kelly

    Rick Kelly - 2006-03-10

    config file

     
  • Michal Čihař

    Michal Čihař - 2006-03-10
    • labels: 509095 --> Configuration
    • milestone: 578964 -->
    • summary: Not reading config.inc.php --> Provide way to show config errors when no error reporting
     
  • Michal Čihař

    Michal Čihař - 2006-03-10

    Logged In: YES
    user_id=192186

    There are several bugs in setup script, which lead to
    generating invalid configuration in some cases as yours.
    Those will be fixed in next release.

    As you don't have enabled error reporting, going directly to
    config.inc.php doesn't show you any error. We should provide
    way to see those errors.

    If you drop most arrays (or fix) from your config, it should
    work. Dumping of arrays was broken and lead to invalid
    semicolons inside array (should be comma):

    $cfg['EnumOperators'] = array(
    '=';
    '!=';
    );

    Moving to feature requests to improve displaying errors (add
    possiblity to show them).

     
  • Rick Kelly

    Rick Kelly - 2006-03-14

    Logged In: YES
    user_id=735919

    I fixed all arrays, no more problems now.

     
  • Michal Čihař

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

    Michal Čihař - 2006-03-16

    Logged In: YES
    user_id=192186

    Added wrapper to show errors even when there is no error
    reporting enabled in php.

     
  • Michal Čihař

    Michal Čihař - 2006-03-16
    • priority: 5 --> 1
    • summary: Provide way to show config errors when no error reporting --> (ok 2.9.0) Provide way to show config errors
    • status: open --> open-fixed
     
  • Marc Delisle

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

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.