#3646 (ok 3.5.3) Call to undef.d __() when config has wrong perms

3.5.2
fixed
1
2013-06-11
2012-07-20
DSI-GmbH
No

If the config.inc.php file is saved with wrong permissions and you try to login at the phpMyAdmin, the password will taken correctly and the next screen is a blank one. Normally you get displayed "Wrong permissions on configuration file, should not be world writable!". But in this version of phpMyAdmin (3.5.2) the Script die without displaying the information.

In the apache2 error.log you geht the following information:

PHP Fatal error: Call to undefined function __() in /usr/local/ispconfig/interface/web/pma/libraries/Config.class.php on line 755

at the line 755 is a wrong entry (original copy of the line 755):
die(__('Wrong permissions on configuration file, should not be world writable!');

we changed the line in the following:
die(('Wrong permissions on configuration file, should not be world writable!');

Now the information will be displayed normally.

Discussion

  • DSI-GmbH

    DSI-GmbH - 2012-07-20
    • summary: config.inc.php with wrong permissions --> config.inc.php with wrong permissions display a blank screen
     
  • Ann + J.M.

    Ann + J.M. - 2012-08-02
    • assigned_to: nobody --> mynetx
     
  • Ann + J.M.

    Ann + J.M. - 2012-08-06

    This bug was fixed in repository and will be part of a future release; thanks for reporting.

     
  • Ann + J.M.

    Ann + J.M. - 2012-08-06
    • priority: 5 --> 1
    • summary: config.inc.php with wrong permissions display a blank screen --> (ok 3.5.3) Call to undef.d __() when config has wrong perms
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2012-10-08
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

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

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks