• Hello!

    I use WordPress at blog.se-portal.hu. I also loaded the newest blog posts in my main site (se-portal.hu). I included wp-load.php and queried the posts.

    Then I upgraded to 3.0.1 and enabled multisite. Since then my external page stopped showing posts. Instead it throws the following error: “PHP Notice: in file ……/blog/wp-includes/ms-settings.php on line 98: Cannot modify header information – headers already sent by (output started at ……)”

    What can I do to make my external page display latest blog posts again?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pappfer

    (@pappfer)

    Thanks for your reply but it won’t solve my problem.

    I can make that PHP Notice disappear, it’s not a problem. The problem is that I get a blank page page when I load include wp-load.php and try to fetch my blog posts.

    It worked great before the upgrade.

    Thread Starter pappfer

    (@pappfer)

    Any ideas?

    Noone uses external pages with WordPress 3.0? Or it works for everyone?

    If you use WordPress 3 and have multisite enabled and use external pages please write here (or give a link) how because I still struggle with this.

    Thread Starter pappfer

    (@pappfer)

    Noone uses it like that? ??

    Thread Starter pappfer

    (@pappfer)

    After a long-long time I figured out how to make it work when multisite is enabled in WordPress 3.

    define('WP_USE_THEMES', false);
    define('WP_INSTALLING', true);
    require('./blog/wp-load.php');

    The 2nd line is really important, it doesn’t work without that. Now my question is how to tell get_posts() function that which blog’s posts should it read. So if I have multiple blog but I just want to get posts from one of them, how do I do it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘External pages stopped working after updating to 3.0’ is closed to new replies.