• Hello,

    I’m afraid this may be another Windoze cry for help …

    Problem: When using the default theme, clicking on a monthly archive in the sidebar causes my Apache server to crash. The type of crash indicates a stack overflow, meaning it’s likely to have been put into a loop and maxed out resources. If I switch to the classic theme I have no problem. Everything else on the site works great.

    I run my own server:
    – Win2k Pro+SP4, Apache 2.0.54, PHP 4.3.11, MySQL 4.1.11, Zend Optimizer 2.5.7, mod_rewrite enabled
    Running WP 1.5.1.2:
    – Permalinks on, “true” style, not with /index.php/
    – Using Ryan Boren’s Theme Switcher
    – And a few other unrelated plugins (I think)

    I *have* modified my sidebar code for all themes, but have never touched code relating to archives.

    Any suggestions most gratefully received,
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Both the classic and default themes use <?php wp_get_archives('type=monthly'); ?> to provide the monthly archive link, so I find it highly unlikely the Default theme is crashing your server. It is more than likely due to an edit that you made to the sidebar. To test this, please upload a fresh (unedited) copy of the default theme’s sidebar.php (you may have to download WordPress again to get a clean copy), and click the monthly archive link in the sidebar.

    Thread Starter kaat

    (@kaat)

    Thanks macmanx for a good idea … just tried it, and still getting the same.

    Just wondering … for Permalinks structure I use the standard:
    /%year%/%monthnum%/%day%/%postname%/
    And for the Category base:
    /cat

    Now, is there a particular reason people seem to use /archives/ as a prefix to these?

    Moderator James Huff

    (@macmanx)

    A static fake prefix such as /archives/ was required in the v1.2.x day, but is no longer required. Just for fun, try removing the category base.

    Thread Starter kaat

    (@kaat)

    Oh, I wish it were just fun ??

    Removing the cat base has it using the default /categories/ but with the same problem, and again all is fine with the classic theme.

    I’m going to use my meagre skills to trace what’s different between default & classic themes.

    Thread Starter kaat

    (@kaat)

    Yippee! I found the problem:

    The sem-fancy-excerpt plugin.

    It won’t mean much for me to try and debug it, but I will try to let the author know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Apache crash using archive link with default theme’ is closed to new replies.