cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

How to edit pluggable.php file without a cPanel account on Godaddy?

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

 

8 REPLIES 8
Super User III Super User III
Super User III

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

You can manage the files using a FTP client application, a popular free option is Filezilla.

https://www.godaddy.com/help/upload-files-with-sftp-8940

https://filezilla-project.org/

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

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

Super User III Super User III
Super User III

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

Download the file, edit it on your local computer, then upload it.

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

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.

Super User III Super User III
Super User III

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

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

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

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

New
Solution

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

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

Super User III Super User III
Super User III

Re: How to edit pluggable.php file without a cPanel account on Godaddy?

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.