• Resolved Dioniso89

    (@dioniso89)


    Hi I need help, yesterday I wanted to log in to my wordpress site https://www.alessiasolidani.com but I couldn’t cause this error “Warning: Cannot modify header information – headers already sent by (output started at /web/htdocs/www.alessiasolidani.com/home/wp-includes/pluggable.php:2) in /web/htdocs/www.alessiasolidani.com/home/wp-includes/pluggable.php on line 1195” I checked online some tips but I didn’t found the way to fix it, can you help me please?
    On line 1195 I have this:
    1193 if ( !$is_IIS && PHP_SAPI != ‘cgi-fcgi’ )
    1194 status_header($status); // This causes problems on IIS and some FastCGI setups
    1195header(“Location: $location”, true, $status);
    1196 return true;
    1197}
    endif;

    On line 2 I have this:
    1<title>Alessia Solidani Salon</title>
    2<?php
    3/**
    4 * These functions can be replaced via plugins. If plugins do not redefine these
    5 * functions, then these will be used instead.
    6 *
    7 * @package WordPress
    8 */

Viewing 9 replies - 1 through 9 (of 9 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Why do you have this on line 1:

    <title>Alessia Solidani Salon</title>

    If your header is stuck and you’re unable to modify it, your problem is likely a mis-configuration in a file entitled “wp-config.php” or one of its brothers. How to fix this bug or what one should do to make header information modifiable?

    Here is the solution for it. To address this issue, you should simply download the file in question, open it and take a look for any possible mistaken spaces or line breaks that may be obliterating its ability to function properly. Upload the updated file again and your issue should be taken care of.
    When you will turn on the debugger from the wp-config.php you can find the file in which spaces areexists on the top or bottom of the files that’s why header issue you are facing. Most probably check your functions.php file and remove the spaces form it.

    Thread Starter Dioniso89

    (@dioniso89)

    Dreamweaver says that there is NO syntax error in wp-config.php and functions.php ?? what can I do?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Why are you editing this file:

    web/htdocs/www.alessiasolidani.com/home/wp-includes/pluggable.php:

    ?

    Thread Starter Dioniso89

    (@dioniso89)

    Because the error that wordpress tell me is in /web/htdocs/www.alessiasolidani.com/home/wp-includes/pluggable.php

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Please revert all your changes to the core files.

    Then try deactivating all of your plugins to explore whether any could be responsible. Rename the “plugins” folder (wp-content/plugins) to “plugins-old” and that will automatically deactivate them. Then rename it back afterwards.

    Thread Starter Dioniso89

    (@dioniso89)

    I renamed the plugin folder to plugins-old but however I CAN’T LOG IN my wordpress site and now I’ve this warning: “Warning: include_once(/web/htdocs/www.alessiasolidani.com/home/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /web/htdocs/www.alessiasolidani.com/home/wp-content/advanced-cache.php on line 14 Warning: include_once(): Failed opening ‘/web/htdocs/www.alessiasolidani.com/home/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ for inclusion (include_path=’.:/php5.3/lib/php/’) in /web/htdocs/www.alessiasolidani.com/home/wp-content/advanced-cache.php on line 14 Warning: Cannot modify header information – headers already sent by (output started at /web/htdocs/www.alessiasolidani.com/home/wp-content/advanced-cache.php:14) in /web/htdocs/www.alessiasolidani.com/home/wp-includes/pluggable.php on line 1195”

    Thread Starter Dioniso89

    (@dioniso89)

    Ok solved: It was a problem of the php.ini (aruba)
    Settings were for joomla and not for wordpress. Now I can log in, thank you very much.

    What were the setting Dioniso ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Warning: Cannot modify header information – headers already sent by’ is closed to new replies.