Forum Replies Created

Viewing 15 replies - 31 through 45 (of 51 total)
  • It’s probably working. The warning doesn’t go away, even when it’s working.

    View source of your site home pg, if there is a messg at the very bottom from super cache, it’s working!

    I installed this on my wp 2.8 MU installation, immediately my site went down, it couldn’t find some files it needed in db.php

    I deleted the plugin, and deleted those files, and got my site back.

    I modified /wp-content/ to make sure it was writeable, and then reinstalled the plugin, and the site went down again.

    I can’t recommend this plugin to anyone, as much as I wanted it to work!

    Thread Starter bonusball

    (@bonusball)

    An update to my update:

    I was a little hard on Dreamhost. My problems were due to my own inexperience and bad plugins.

    After some research, optimization, and help from DH support, the site works great.

    I had the same problem, but this site helped me:

    https://blog.kapish.co.in/2009/06/16/date-archive-for-a-category/

    The Kwebble link is exactly what I need, but I can’t get any of these to work properly.

    Ideally I’d like a list like

    June 2009 (2)
    May 2009 (1)
    January 2009 (3)
    etc

    with the number of posts in each month afterwards. In fact I’d be willing to pay someone to program this. Let me know if you’re interested.

    Forum: Plugins
    In reply to: Mistake in Codex page?
    Thread Starter bonusball

    (@bonusball)

    Well, what do you know, I didn’t know it was a wiki.

    Although if I’m logged in as Bonusball, I shouldn’t need to make another username for the wiki!

    Regardless, I fixed it. and I used your suggestion stevejohnson, although I fixed your code, too. It should have been

    if (in_array($post->ID, $do_not_duplicate)) continue;

    And I now what you’re saying about the problem, but that doesn’t happen.

    Who knows why?

    I’ve done my duty, off to dinner!

    I had the same problem, but at the end of my wp-config.php file

    I had the same problem. the issue was some extra lines at the end of my wp-config.php file.

    Make sure there is nothing after the last ?>

    Forum: Plugins
    In reply to: Mistake in Codex page?
    Thread Starter bonusball

    (@bonusball)

    The Codex is def. wrong.

    The end result should be:

    <?php $my_query = new WP_Query('category_name=featured&amp;showposts=2');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate[] = $post->ID ?>
    <!-- Do stuff... -->
    <?php endwhile; ?>
    <!-- Do other stuff... -->
    <?php if (have_posts()) : while (have_posts()) : the_post(); if($post->ID == $do_not_duplicate[0] || $post->ID == $do_not_duplicate[1] || $post->ID == $do_not_duplicate[2]) continue; update_post_caches($posts); ?>
    <!-- Do stuff... -->
    <?php endwhile; endif; ?>

    and in the instructions, the first step should go like this:

    replace 
    
     <?php $my_query = new WP_Query('category_name=featured&amp;showposts=1');
      while ($my_query->have_posts()) : $my_query->the_post();
      $do_not_duplicate = $post->ID;?>
    
    with
    
    <?php $my_query = new WP_Query('category_name=featured&amp;showposts=2');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate[] = $post->ID ?>

    doodlebee if you used that exact code several times, you better go check your blogs again, as that code is busted.

    Forum: Plugins
    In reply to: Mistake in Codex page?
    Thread Starter bonusball

    (@bonusball)

    It’s totally possible that I’m not understanding it. But the Codex says you need to turn the var $do_not_duplicate into an array. But I don’t think it’s doing that.

    The instructions also tell you to change this line twice:

    <?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

    That can’t be right. Why would I change it twice? Once should be enough.

    So when I’m finished, the original code snippet looks like this, if I follow the instructions in the Codex:

    <?php $my_query = new WP_Query('category_name=featured&amp;showposts=2');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID;?>
    <!-- Do stuff... -->
    <?php endwhile; ?>
    <!-- Do other stuff... -->
    <?php if (have_posts()) : while (have_posts()) : the_post(); if($post->ID == $do_not_duplicate[0] || $post->ID == $do_not_duplicate[1] || $post->ID == $do_not_duplicate[2]) continue; update_post_caches($posts); ?>
    <!-- Do stuff... -->
    <?php endwhile; endif; ?>

    That looks wrong, and in fact doesn’t work.

    Am I missing something? I’m a little shaky on arrays.

    That registered only plugin doesn’t work with wp 2.7.

    Thread Starter bonusball

    (@bonusball)

    Just an update:

    The problem was wp-supercache. It doesn’t work well on Dreamhost PS. It was cacheing an older version of the site. I uninstalled it, and am now using Hypercache.

    However, after some investigation, if I had it to do all over again, Media Temple would be a much better choice.

    Forum: Fixing WordPress
    In reply to: Endless redirects
    Thread Starter bonusball

    (@bonusball)

    the site is at maangchi.com/about

    and the htaccess file doesn’t have much in it:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Forum: Fixing WordPress
    In reply to: Endless redirects
    Thread Starter bonusball

    (@bonusball)

    Yes, thanks. So what I made is a custom page called mysite.com/about-temp via the wp-admin panel. But when I try to use the panel to change the url to mysite.com/about the browser tells me that there are too many redirects going on and the url will never resolve.

Viewing 15 replies - 31 through 45 (of 51 total)