CMMDB Posted May 3, 2008 Share Posted May 3, 2008 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 Quote Link to comment Share on other sites More sharing options...
Ashoat Posted May 4, 2008 Share Posted May 4, 2008 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 Quote Link to comment Share on other sites More sharing options...
CMMDB Posted May 5, 2008 Author Share Posted May 5, 2008 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.. Quote Link to comment Share on other sites More sharing options...
Ashoat Posted May 6, 2008 Share Posted May 6, 2008 If that version is in the latest cPanel, it'll be online as soon as I get the new server working. Quote Link to comment Share on other sites More sharing options...
CMMDB Posted May 7, 2008 Author Share Posted May 7, 2008 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 ) Quote Link to comment Share on other sites More sharing options...
Ashoat Posted May 7, 2008 Share Posted May 7, 2008 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. Quote Link to comment Share on other sites More sharing options...
CMMDB Posted May 10, 2008 Author Share Posted May 10, 2008 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! Quote Link to comment Share on other sites More sharing options...
CMMDB Posted May 31, 2008 Author Share Posted May 31, 2008 As of right now, it works! Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.