23 Nov, 2008
Wordpress Warning: Cannot Modify header Information – headers already sent
Do you ever find this problem when you try to hack or modify your wordpress?
Warning: Cannot Modify header Information - headers already sent by (output started at /home/ [hosting account]/public_html/wp-config.php:57) in /home/ [hosting account]/public_html/wp-login.php on line 202
Warning: Cannot Modify header Information - headers already sent by (output started at /home/ [hosting account]/public_html/wp-config.php:57) in /home/ [hosting account]/public_html/wp-login.php on line 214
If you have this wordpress problem then here is the way to fix it,
1. Create new wp-config.php in your desktop (NOT in HOSTING)
Don’t forget to fill the same db name, password, and user with wp-config.php that already in hosting.
2. Go to your hosting directory via FTP
3. Delete you wp-config.php in hosting
4. Upload your new wp-config.php from your desktop (point 1)
This wordpress error usually comes after you edit your wp-config.php directly in your hosting. It is better if you edit your wp-config.php in desktop then after finish it you can upload it on your hosting via FTP.
Related posts: