Jump to content

phpMyAdmin warnings and inability to load


CMMDB

Recommended Posts

I'm getting error messages while trying to access phpMyAdmin from CPanel. The messages are:

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/core.lib.php on line 558

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 99

 

phpMyAdmin then refuses to load. I have only experienced this problem on Swedish Language Machines.

 

I get a different batch of error messages when I try from my second machine (with no important difference in setup that I can think of)

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/core.lib.php on line 605

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/core.lib.php on line 605

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/core.lib.php on line 605

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/core.lib.php on line 605

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/lang/swedish-utf-8.inc.php:1) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 99

Link to comment
Share on other sites

Well, this is either PHPMyAdmin's fault or your computer's fault. To figure this out, I'd have to muddle trough PHPMA's source code... sorry, I don't have the time :(

If you know PHP, you can take a look at it, as it's open source ;)

Link to comment
Share on other sites

Well, this is either PHPMyAdmin's fault or your computer's fault. To figure this out, I'd have to muddle trough PHPMA's source code... sorry, I don't have the time :(

If you know PHP, you can take a look at it, as it's open source ;)

I don't know how much work it would be, but it might be time to upgrade from 2.11.5.1 to the new 2.11.6 . I posted a message on their forum, they'll probably let me know (loudly :)) if it's been fixed.

 

EDIT: Apparently, it has been fixed in 2.11.6! So it's a matter of upgrading, dunno how much work that is though, as I said..

Link to comment
Share on other sites

If that version is in the latest cPanel, it'll be online as soon as I get the new server working.

Apparently it was something rather simple to fix though (A stray Byte Order Mark in the beginning ofswedish utf-8 language file "lang/swedish-utf8-inc.php" ) so even if it isn't the newest, could a fix be implemented? (Patch) (Pretty please sugar and so forth ;) )

Link to comment
Share on other sites

If you can explain what I need to do for the patch, then I'll do that. The file you gave was just a confusing two-line .txt file...

As for the file, I don't seem to have swedish-utf8-inc.php, but I do have swedish-utf-8.inc.php.

 

EDIT

Try and see if it's working now.

Link to comment
Share on other sites

If you can explain what I need to do for the patch, then I'll do that. The file you gave was just a confusing two-line .txt file...

As for the file, I don't seem to have swedish-utf8-inc.php, but I do have swedish-utf-8.inc.php.

 

EDIT

Try and see if it's working now.

Nope, it doesn't work yet. Yeah, error on my part for the file name.My linux is a little rusty but I'm pretty sure what's needed is "patch -b remove_bom_characters_from_swedish_translation" in PMA's root directory. That should patch the file and create a backup "lang/swedish-utf-8.inc.php.orig" just in case.

man page: http://linux.die.net/man/1/patch

 

Thanks for taking the time to do this, much more responsive than other webhosts I've used, I must say! :)

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...