The MU forums have moved to WordPress.org

"Warning: Cannot modify header information" (6 posts)

  1. uriash
    Member
    Posted 17 years ago #

    Hello there,
    I've opened a new WPMU test site (www.querg.com)and then I tried to install a regular wordpress blog in a folder which sits inside the root folder where my installation of WPMU sits (www.uriashi.com - which is actualy "querg.com/uriashi").
    I've tried installing it many times but to no avail - everytime the blog itself is installed succesfully but when I try to reach the admin panel it outputs those lines of errors:

    Warning: Cannot modify header information - headers already sent by (output started at /home/quergcom/public_html/uriashi/wp-config.php:1) in /home/quergcom/public_html/uriashi/wp-login.php on line 9
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/quergcom/public_html/uriashi/wp-config.php:1) in /home/quergcom/public_html/uriashi/wp-includes/pluggable-functions.php on line 341
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/quergcom/public_html/uriashi/wp-config.php:1) in /home/quergcom/public_html/uriashi/wp-includes/pluggable-functions.php on line 342
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/quergcom/public_html/uriashi/wp-config.php:1) in /home/quergcom/public_html/uriashi/wp-includes/pluggable-functions.php on line 303

    does anyone has a clue as for what's going on here?
    thanks,
    uri

  2. drmike
    Member
    Posted 17 years ago #

    http://codex.wordpress.org/Answers-Troubleshooting

    I'm lost though. You're putting a regular wordpress install within a wpmu install and doing is as a domain redirect? Why not just setup a seperate account or just do domain mapping and put it within your wpmu install?

  3. uriash
    Member
    Posted 17 years ago #

    Hi drmike,
    I thought about this solution but I plan to limit the options in the WPMU blog and in my regular blog I want all the options available.

  4. purabdk
    Member
    Posted 15 years ago #

    i solved this problem
    use this code
    <?
    //dont use header function in wordpress-wp_signup.php
    global $domain;
    global $path;
    //change urlnew variable as per requirment
    $urlnew = "http://".$domain.$path."/wp-admin/admin.php;

    echo "<script>";
    echo "location = '$urlnew';";
    echo "</script>";
    echo $urlnew;
    ?>
    Purab Kharat

  5. joreel
    Member
    Posted 15 years ago #

    Encountered the same problem.
    I fixed the problem using these following methods..

    http://emag.joreeldiaz.com/warning-cannot-modify-header-information-in-wordpress/

  6. VentureMaker
    Member
    Posted 15 years ago #

    A page with screenshots explaining how to remove extra whitespace in the end of php file :) LOL

About this Topic

  • Started 17 years ago by uriash
  • Latest reply from VentureMaker