• Resolved mariano

    (@mariano)


    Hi there,
    I’,m sorry but i got no idea on how to solve this message:

    Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/.kairo/XXX.COM/wp-includes/comment-template.php on line 821

    Should i get back to 2.6? Or can anyone give an idea on how i can solve this? 🙂

    thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • is this a brand new install? or an upgrade?

    Thread Starter mariano

    (@mariano)

    Hi Whooami,
    its an upgrade via SVN and its giving me this problem since yesterday at night.

    upgrade from another beta version, i assume?

    Thread Starter mariano

    (@mariano)

    yep… the previous release, which has no single problem with that :S

    ok, well so we are sure that we are both looking at the same thing. My line 821 in wp-includes/comment-template.php

    reads:

    elseif ( file_exists( TEMPLATEPATH . $file ) )

    whats yours read?

    My beta3 was grabbed from here though, and not the svn

    Thread Starter mariano

    (@mariano)

    on mine it says:
    $comments = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND ( comment_approved = '1' OR ( comment_author = %s AND comment_author_email = %s AND comment_approved = '0' ) ) ORDER BY comment_date", $post->ID, htmlspecialchars_decode($comment_author, ENT_QUOTES), $comment_author_email));

    hmm, let me make sure I have the right file … I do.

    ok, hang on, I grabbed your copy out of the svn.

    ok, I can tell you how to fix that. htmlspecialchars_decode is specific to PHP 5. I assume you are using PHP 4?

    Thread Starter mariano

    (@mariano)

    I should check… because dreamhost used to have latest versions on almost everything

    Most hosts give you the option which version to use.

    Thread Starter mariano

    (@mariano)

    I just reverted that file and everithing is great but i dont like to have this kind of “werid” install :S

    I’ve got the same problem on build 9817. Any resolution?

    This issue will be fixed in the next nightly build, according to Ryan Boren. I guess somebody can mark it resolved?

    Thread Starter mariano

    (@mariano)

    Hey Patrick… many thanks, As soon as i update and find it resolved will close the thread 🙂

    Thread Starter mariano

    (@mariano)

    done 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Problems with comments on 2.7-beta3’ is closed to new replies.