Hi all, i've got this error while i'm trying to enter the admin site (wp-admin):
Warning: Cannot modify header information - headers already sent by (output started at /home/content/n3pnexwpnas02_data01/98/3179798/html/wp-config.php:1) in /home/content/n3pnexwpnas02_data01/98/3179798/html/wp-includes/pluggable.php on line 1216
After a little search on the web I found that i need to add the ab_srart() element to the file "pluggable.php", but I don't have the right permission to edit this file.
I pay for WP account in Godaddy but not for the cPanel, so there is any other way to change this file?
thinks,
Idan
Solved! Go to Solution.
Alex, I feel your pain. I've been struggling with the problem of a locked pluggable.php file for 24 hours solid! I was trying to make an edit to stop my staging site redirecting to https. I have fixed my problem by logging on to the database (I don't have cPanel either) and removing all the installed wordpress plugins. I will now reinstall them one by one to find the offending item.
I don't know if it will help you, but it might.
Here's a link to the instructions.
https://ph.godaddy.com/help/disable-wordpress-plugins-in-the-database-26345
I'll be around for the next few hours if you need a hand.
Kath
You can manage the files using a FTP client application, a popular free option is Filezilla.
Hi Nate, thanks for your quick reply.
I already tried to use Filezilla, even tried to change the permissions to all read and write (777), but I need admin permissions to do that.
unfortunately I use the basic plan that don't let me an SSH access (with admin permissions), Am I wrong?
Do you know other way to edit this file?
Thanks again,
Idan
Download the file, edit it on your local computer, then upload it.
Hi Nate,
It's doesn't matter, I can't change \ edit \ replace the original file that on the server, I need root permission.
I think that today there is no way to do it without upgrade the account 😞 that's the only way I get SSH \ ROOT access to the file.
Thanks anyway.
The Managed WordPress plans don't allow root access. That is not needed to edit files, but many of the core WordPress files are locked to help prevent tampering and user error.
It looks like the error you're receiving is actually from wp-config.php which is editable.
Make sure it starts with <?php with no blank space before.
<?php ... ...
Ok. So what if there is no spaces in between or before or after <?php
and file pluggable.php cannot be edited or overwrited
It seems like everybody know the only one manuals and doesn't know further steps
Alex, I feel your pain. I've been struggling with the problem of a locked pluggable.php file for 24 hours solid! I was trying to make an edit to stop my staging site redirecting to https. I have fixed my problem by logging on to the database (I don't have cPanel either) and removing all the installed wordpress plugins. I will now reinstall them one by one to find the offending item.
I don't know if it will help you, but it might.
Here's a link to the instructions.
https://ph.godaddy.com/help/disable-wordpress-plugins-in-the-database-26345
I'll be around for the next few hours if you need a hand.
Kath
pluggable.php is a core WordPress file. It can come up in error messages if there's some conflict with a plugin or other custom code. The problem is with that other file, not WordPress.
The previous advice was specific to that error, a different error would require different steps to resolve.