Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • For all those who are interested, the bug I was seeing above had *nothing* to do with WordPress. It was actually a PHP bug. Changing “display_startup_errors” to “On” in php.ini allowed me to see that require_once() was not working properly under PHP 4.4.1. I then found this bug:

    https://bugs.php.net/bug.php?id=35059

    I downgraded to PHP 4.3.10 and all is well.

    For all those with the same problem I’ve described above, the following is a workaround. It sucks, because it does an external redirect and I’m not sure how that affects search engines, etc. But for those of us who’ve moved to WordPress 2.0 only to find permalinks broken, here’s a temporary solution:

    Change your .htaccess file to look like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [R,L]
    </IfModule>
    # END WordPress

    moshu:

    I’m fairly certain most people are NOT having permission problems. I am suffering with the same problem. You can see the problem in action at https://jeff.binaryfeed.net/

    Permalinks of this form work:

    /index.php/%year%/%monthnum%/%day%/%postname%/

    Permalinks of this form DON’T work:

    /%year%/%monthnum%/%day%/%postname%/

    My .htaccess file looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>
    # END WordPress

    My mod_rewrite logs are as follows:

    <IP removed> – – [29/Dec/2005:21:13:26 –0600] [jeff.binaryfeed.net/sid#81a85f0][rid#82842d0/initial] (2) [per-dir /var/kunden/webs/jeff/jeff.binaryfeed.net/] rewrite 2005/12/29/irc-im-speak/ -> /index.php
    <IP removed> – – [29/Dec/2005:21:13:26 –0600] [jeff.binaryfeed.net/sid#81a85f0][rid#82842d0/initial] (2) [per-dir /var/kunden/webs/jeff/jeff.binaryfeed.net/] trying to replace prefix /var/kunden/webs/jeff/jeff.binaryfeed.net/ with /
    <IP removed> – – [29/Dec/2005:21:13:26 –0600] [jeff.binaryfeed.net/sid#81a85f0][rid#82842d0/initial] (1) [per-dir /var/kunden/webs/jeff/jeff.binaryfeed.net/] internal redirect with /index.php [INTERNAL REDIRECT]
    <IP removed> – – [29/Dec/2005:21:13:26 –0600] [jeff.binaryfeed.net/sid#81a85f0][rid#8283b60/initial/redir#1] (1) [per-dir /var/kunden/webs/jeff/jeff.binaryfeed.net/] pass through /var/kunden/webs/jeff/jeff.binaryfeed.net/index.php
    <IP removed> – – [29/Dec/2005:21:13:26 –0600] [jeff.binaryfeed.net/sid#81a85f0][rid#827c2b8/initial] (1) [per-dir /var/kunden/webs/jeff/jeff.binaryfeed.net/] pass through /var/kunden/webs/jeff/jeff.binaryfeed.net/favicon.ico

Viewing 3 replies - 1 through 3 (of 3 total)