WordPress.org

Ready to get started?Download WordPress

Forums

wordpress 2.0.7 and IIS (php 5.2.0) (3 posts)

  1. cedmax
    Member
    Posted 7 years ago #

    Everything seems to work great (and it does, except this issue), but before every page i have <?php?> written in the code


    <?php?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    the main problem is for feeds and xmlrpc: they doesn't work at all.

    someone had the same problem?

  2. cedmax
    Member
    Posted 7 years ago #

    anyone?

  3. cedmax
    Member
    Posted 7 years ago #

    ok: i found out something.
    the error is in here


    function maybe_unserialize($original) {
    if ( is_serialized($original) ) // don't attempt to unserialize data that wasn't serialized going in
    if ( false !== $gm = @ unserialize($original) )
    return $gm;
    return $original;
    }

    if I comment the "return $gm" line the error disappears (but wp crashes when looping the posts, obviusly).

    someone can help me?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags