Forums

Header Already Sent By... Pluggable.php Line 933 Also IE style is Bad (33 posts)

  1. cfair22
    Member
    Posted 3 months ago #

    OK so I get this error message when i try and access certain pages on my WordPress site.

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/58/7887658/html/index.php(1) : eval()'d code:7) in /home/content/58/7887658/html/wp-includes/pluggable.php on line 933

    And I have followed the recommended steps to fix it. (Spaces before or after <?php >? tags). And still have the problem.

    I have been searching the internet for a solution to no success.

    Also for some reason my site appears very funky in IE7 not sure if the problems are related....

    My site used to be working 100% and today for some reason decided to fail.

    http://www.gulfharbourluxury.com is the website. and to show header error goto
    http://www.gulfharbourluxury.com/properties

    please help I am completely lost

    -Thanks

  2. jclark32
    Member
    Posted 3 months ago #

    This error is usually attributed to spacing before and after <?php ?> tags so double check to make sure there is not spacing or empty lines in between any closing and opening tags. Look at the config.php file for any spaces. The config file is the first to run when a wordpress page is being executed.

    The IE7 issue is attributed to css issues.

  3. jclark32
    Member
    Posted 3 months ago #

    Sorry the config.php file is not the first but it would cause this error.

    they are loaded in the following order.

    wordpress.php -> wp-blog-header.php -> wp-load.php -> wp-config.php -> wp-settings.php

  4. cfair22
    Member
    Posted 3 months ago #

    OK so I looked at all those files and still having same problem.

    Wouldn't the issue be in pluggable.php considering thats what the header error says?

    Would it be possible to just remove the line(s) of code that isn't working right?

    if ( !$is_IIS && php_sapi_name() != 'cgi-fcgi' )
    		status_header($status); // This causes problems on IIS and some FastCGI setups
    	header("Location:$location",true,$status);}
    endif;
  5. jclark32
    Member
    Posted 3 months ago #

    Are you on a windows server?

  6. cfair22
    Member
    Posted 3 months ago #

    I just figured it out, I needed a wordpress upgrade... It replaced the pluggable.php for the new update. :)

    but for some reason I am still having issues with style in IE.... not sure what the issue is but it is totally messed up...

    Any ideas how to fix that? is there a way to style only for IE?

    Thanks again

  7. cfair22
    Member
    Posted 3 months ago #

    I think there is some problem with the font-size... but would that throw the whole website off?

    not sure how to make font-size the same for both browsers? ... never had this problem before on any of my websites

  8. jclark32
    Member
    Posted 3 months ago #

    there is a way to style only for IE but I try to avoid running to many style sheets, but if you are having an issue its ok to use a few hacks

    add this line of code bellow your primary stylesheet and change out whatever version you are having an issue with in IE

    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="iespecific.css" />
    <![endif]-->

    Fonts will render different in IE and many other browsers. Its just the lay of the land my friend.

  9. cfair22
    Member
    Posted 3 months ago #

    I got the font-size fixed, but the images are still messing up.

    Thanks again for your help

  10. cfair22
    Member
    Posted 3 months ago #

    Bah, I thought it was fixed, just looked again and its back to header error... getting annoying

    the upgrade fixed it for about 30 minutes.... now not working

  11. jclark32
    Member
    Posted 3 months ago #

    whats your url?

  12. kmessinger
    Member
    Posted 3 months ago #

  13. cfair22
    Member
    Posted 3 months ago #

    http://www.gulfharbourluxury.com/properties

    is the link to the header error.

  14. cfair22
    Member
    Posted 3 months ago #

    I checked the index.php file and the link you gave and the first code is
    <?php

    and the last line of code is
    ?>

    not sure what else to do...

  15. kmessinger
    Member
    Posted 3 months ago #

    No blank lines or spaces before or after?

  16. jclark32
    Member
    Posted 3 months ago #

    I am not seeing an error on the link provided?

  17. cfair22
    Member
    Posted 3 months ago #

    no blanks on the index file.

    -jclark, really i just clicked the link and i still show the header error...

  18. jclark32
    Member
    Posted 3 months ago #

    Yep I just check it in firefox and safari and it looks correct to me.

  19. jclark32
    Member
    Posted 3 months ago #

    what browswer are you in? It seems really odd that it would be a browswer issue but its possible I guess

  20. cfair22
    Member
    Posted 3 months ago #

    i used FF chrome and IE and all have header error...

    not sure what the deal is

  21. jclark32
    Member
    Posted 3 months ago #

    then that makes more sense. Are you logged in? Try logging out and looking at it?

  22. cfair22
    Member
    Posted 3 months ago #

    no i logged out of my back-end and i also tried on my wife's computer and still header errors....

  23. jclark32
    Member
    Posted 3 months ago #

    I would have to dig deeper. I cant even recreate the issue which is really weird to me.

  24. cfair22
    Member
    Posted 3 months ago #

    I know, and I am thankful you have tried to help. My thinking is that there is one little line of code that somehow i added to my code.

    i think if I scrap the plug-in.... that might fix the problem, my issue with that is that it took me about 10 hours to add all that crap from the plug-in into my site....

    it would make sense that it is a plug-in problem. considering its pluggable.php that gives me the error.

    What do you think? should I scrap the plug-in and hope it works or do you think its a small space on one of the 200 php files?

  25. jclark32
    Member
    Posted 3 months ago #

    if it took you 10 hours to get to this point it might be worth looking into it further and not scrapping it. I would make sure you backup your db and your plugin files and get a clean version of your plugin and reupload and see if that fixes it. If it is the pluggin then that should fix it. Just make sure you BACKUP BACKUP BACKUP. Going forward always try to have a backup of any file you edit that way you can always resort back if need be. Just save it as file-old.php or whatever.

  26. cfair22
    Member
    Posted 3 months ago #

    alright i'm going to try that in the morning with a clear head. hopefully that will be the solution.

    Yah i have months of back-ups i learned that the hard way :) never make that mistake again lol

    thanks again jclark for all your help.

  27. jclark32
    Member
    Posted 3 months ago #

    Yep I learned the same way.. THE HARD WAY haha.. let me know if that works for you. Otherwise we can try and come with another solution.

  28. kmessinger
    Member
    Posted 3 months ago #

    @jclark32
    This is the link in question.
    http://www.gulfharbourluxury.com/properties

  29. kmessinger
    Member
    Posted 3 months ago #

  30. jclark32
    Member
    Posted 3 months ago #

    Good Work Kmessinger. It crossed my mind that it might be a virus but I for some reason ruled it out without checking. Just didnt seem like it would have been.

Reply »

You must log in to post.

About this Topic