• i upgraded to 1.5 yesterday, and followed podz instructions word for word. i’ve also spent the entire day troubleshooting and searching for an answer to no avail. when i view a post as a permalink, the comment link disappears. its always on my homepage though. i’ve seen two different solutions, but neither of them helped–i think they were for 1.2.

    http://thisvacantsky.net/
    thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter thisvacantsky

    (@thisvacantsky)

    sorry, i forgot: also my popup comment page isn’t working. it gives me a fatal error “Call to undefined function: add_filter()”. possibly related? maybe i’ll just save that for a different thread.

    Do you have any plug ins working? Maybe the popup comments is trying to use a plugin that isn’t set up right for 1.5? It says it’s on line 5 of the comments-popup, so check the code in there.

    Thread Starter thisvacantsky

    (@thisvacantsky)

    nope, no plugins running, and i haven’t downloaded any for 1.2 or 1.5. the code on the comments-popup is

    “<?php
    /* Don’t remove these lines. */
    $blog = 1; ?>
    //require (‘wp-blog-header.php’);
    php add_filter(‘comment_text’, ‘popuplinks’);
    php foreach ($posts as $post) { start_wp(); ?>”

    i don’t think i changed anything but the //require…

    In the first line, the leading double quote should be removed.

    In the third line, the trailing ?> will prevent the last two php commands from executing.

    In the last two lines, the php should be removed as well.

    My comments-popup.php does not contain lines 3 or 4 at all. For what that’s worth.

    Thread Starter thisvacantsky

    (@thisvacantsky)

    ok, i’ve changed it, and now i’m getting a different error. i have

    “<?php
    php add_filter(‘comment_text’, ‘popuplinks’);
    php foreach ($posts as $post) { start_wp(); ?>”

    and am getting a Parse error: parse error, unexpected T_STRING on line two. sorry if this is all simple, i’m pretty new at php.

    Use
    <?php add_filter('comment_text', 'popuplinks'); foreach ($posts as $post) { start_wp(); ?>

    Below is the first five lines in my copy:

    <?php
    /* Don't remove these lines. */
    add_filter('comment_text', 'popuplinks');
    foreach ($posts as $post) { start_wp();
    ?>

    I think you still need to remove the leading ‘php’ from the ‘add-filter’ and ‘foreach’ lines.

    Thread Starter thisvacantsky

    (@thisvacantsky)

    <?php add_filter(‘comment_text’, ‘popuplinks’); foreach ($posts as $post) { start_wp(); ?>

    gives me Fatal error: Call to undefined function: add_filter() on line 1

    <?php
    /* Don’t remove these lines. */
    add_filter(‘comment_text’, ‘popuplinks’);
    foreach ($posts as $post) { start_wp();
    ?>

    gives me

    gives me Fatal error: Call to undefined function: add_filter() on line 3

    i think 1.5 just hates me…

    Here’s a previous post with a different add filters error
    http://wordpress.org/support/topic.php?id=23668

    So maybe the problem isn’t even in the comments-popup file but in other files.

    I would reset your comments popup to be like it was at the beginning and then check to make sure everything else was uploaded correctly.

    Do a search through the forum for ‘undefined function’. There’s several threads that will match those terms, and the consensus seems to be corrupted files during upload and/or not having run /wpadmin/upgrade.php before starting to mess with the blog.

    Thread Starter thisvacantsky

    (@thisvacantsky)

    ok, now i’ve really tried everything. i put up the stock comments-popup and i’m still getting the same error. i even tried downloading a new 1.5 in case there was a file corruption when i downloaded it. then i went and deleted everything but wp-config and my image folders one file at a time, and uploaded everything one file at a time. i’m at a complete loss, i’ve got absolutely no idea…maybe i’ll just try to go back to 1.2.2.

    Um, it looks like it’s working to me.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘disappearing comment link (1.5)’ is closed to new replies.