Problems transferring WP Site to my hosting, HELP!

by Xio1
9 replies
Hello all,

Not sure if this is the right place, but I will try.

I bought a WP site from a Warrior. He sent me the Site files and the DB. He also sent a video on how to install onto my hosting. I have tried it several times and I keep getting an error.

I am able to put the site address as http://xxxxxxxx.org and it shows, but when I put www.xxxxxxx.org it does not show and I get the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home2/skinfirm/public_html/xxxxxxxxx/wp-config.php:79) in /home2/skinfirm/public_html/xxxxxxxx/wp-includes/pluggable.php on line 890

Where skinfirm is my Hosting account name.

When I try to go into the admin page, I also get the same error, so I cannot go into the admin page.

Can anyone give me an idea on what I have to fix here?


Thanks for your help ahead of time,

Xio1
#hosting #problems #site #transferring
  • Profile picture of the author Christian Little
    The "cannot modify header" warning from PHP is it's way of saying that PHP already sent the page header, but the code is trying to modify it and resend them, which it cannot do.

    Have you tried contacting the warrior you bought this from?

    PM me the URL, I'll take a look at it in the morning if you don't get this resolved by then. I can't promise that I'll be able to fix it, but I'm pretty knowledgeable when it comes to PHP and Wordpress.
    {{ DiscussionBoard.errors[3427177].message }}
  • Profile picture of the author phpbbxpert
    It is giving that error because of what was mentioned above, about PHP being already sent to the header.

    But, I notice that this is happening in the wp-config.php.

    There should not be anything in the wp-config.php going to the header.

    Did you edit this file?
    If so, what did you edit it with?
    There may be a BOM or something in that file from editing it.

    If this is the case, download NotePad++ , its a free text editor.
    Download that file via FTP and open it in NotePad++
    See if there are any odd charters around line 79.

    In the toolbar set Encoding to Encode in UTF-8 without BOM

    Save it and upload and check if it helped.

    If not, I will need more info on what you did to install this WP package.
    {{ DiscussionBoard.errors[3427315].message }}
  • Profile picture of the author Christian Little
    It's not being caused by wp-config. wp-config sends the initial headers.

    /wp-includes/pluggable.php is what's trying to fire off new headers for some reason.
    {{ DiscussionBoard.errors[3427320].message }}
  • Profile picture of the author Patrick
    No...Do not touch pluggable.php file..

    Go to wp-config.php file...On line 79 there will be a blank line...just fill up the space.

    That error comes due to spaces between php codes.
    {{ DiscussionBoard.errors[3427481].message }}
  • Profile picture of the author Xio1
    Hey guys,

    I appreciate the help. Unfortunately I am at work, so will have to do it tonight. I will get back with you later on.

    Thanks again,

    Xio1
    {{ DiscussionBoard.errors[3429907].message }}
  • Profile picture of the author Xio1
    Hello,

    Schwarzes, Christian Little and phpbbexpert, I want to thank you all for your help. I appreciate it more than you realize.

    Schwarzes, you were right, I had to remove some spaces at the end of the wp-config.php, that I guess I added by accident because I had put something in the WP.config file. I appreciate the suggestion and your knowledge, it was very helpful.

    thanks guys,


    Xio1
    {{ DiscussionBoard.errors[3435250].message }}
    • Profile picture of the author Patrick
      Originally Posted by Xio1 View Post

      Hello,

      Schwarzes, Christian Little and phpbbexpert, I want to thank you all for your help. I appreciate it more than you realize.

      Schwarzes, you were right, I had to remove some spaces at the end of the wp-config.php, that I guess I added by accident because I had put something in the WP.config file. I appreciate the suggestion and your knowledge, it was very helpful.

      thanks guys,


      Xio1
      didnt you read this post ? :confused:
      {{ DiscussionBoard.errors[3438854].message }}
  • {{ DiscussionBoard.errors[3435841].message }}
  • Profile picture of the author BenQ
    Your problem is right here ".../public_html/xxxxxxxxx/wp-config.php:79)" Just go to line 79 and there's probably some white space. Get rid of it and save and you should be fine.
    {{ DiscussionBoard.errors[3436964].message }}

Trending Topics