Jump to content

Recommended Posts

Posted

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

Posted

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 ;)

Posted
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..

Posted

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

Posted
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 ;) )

Posted

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.

Posted
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! :)

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...