Forum Replies Created

Viewing 15 replies - 31 through 45 (of 97 total)
  • what worked for me (I posted this on another thread) was to go into the database and just blow away the auto-generated rewrite rules. It fixed all the problems I was having, from the UI not picking up the right theme to the permalinks not working and pages not being modifiable.

    Thread Starter paul

    (@paul)

    No idea when you’re going on about.

    ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; MySQL defaults.
    mysql.default_socket =

    What does that have to do with locating a database host? And how big a deal would it be to make a comment that a capital L in localhost would be useful if uname -s returns Darwin?

    And I was only using OS X to try and isolate the permalinks issue. If someone, besides one helpful user, actually understood how to fix them, this issue would never have come up.

    It turns out — and not one of the moderators has mentioned this — that the rewrite_rules in the database were wrong but could be easily fixed, simply by removing them. So I removed them and they were regenerated properly and all seems to be well. Now what’s up with that? Did no one know that the rules can be easily regenerated? Did it not occur to anyone that they were perhaps not being updated and since regenerating them is a zero-cost exercise, it might be worth a try?

    I grow more convinced that very few people understand how WP works and I have do far failed to find any of them.

    Apologies if you find my message a little harsh, but I suspect you have no idea how frustrating it is to get the same smug and useless answers over and over again. This has been going on for months. Ponder that before you race to the keyboard to find a post to hit someone over the head with.

    I found that deleting the rewrite_rules from the database fixed my problem. They seem to get generated afresh when you work on your permalinks, so you could try that.

    Maybe this is a little drastic, but I just deleted the rewrite_rules from my database and now things work. I had nothing to lose, so YMMV.

    msi08, go to the head of the class. I have read a ton of posts here and gotten all kinds of snotty replies from mods and “experts” but you solved it. I figured I had nothing to lose, so I deleted the rewrite_rules from the database and it finally works.

    yeah, my permalinks aren’t working.

    As for my host, I just looked in the mirror and checked, and yes, I have mod_rewrite and AllowOverride FileInfo on:

    Loaded Modules:
     core_module (static)
     mpm_prefork_module (static)
     http_module (static)
     so_module (static)
     authz_host_module (shared)
     include_module (shared)
     deflate_module (shared)
     log_config_module (shared)
     env_module (shared)
     mime_magic_module (shared)
     expires_module (shared)
     headers_module (shared)
     unique_id_module (shared)
     setenvif_module (shared)
     mime_module (shared)
     status_module (shared)
     asis_module (shared)
     info_module (shared)
     cgi_module (shared)
     vhost_alias_module (shared)
     negotiation_module (shared)
     dir_module (shared)
     actions_module (shared)
     speling_module (shared)
     userdir_module (shared)
     alias_module (shared)
     rewrite_module (shared)
     php5_module (shared)
    <Directory /usr/local/www/data-dist/wordpress>
        Options FollowSymLinks
        AllowOverride FileInfo

    If the codex was actually authoritative (read: edited for correctness), it would be more useful. As I learned in another thread, it recommends tools that are not 2.7 compatible, so who knows?

    check your permissions in the plugins directory (indeed, throughout your WP install). That was what hosed mine up at first.

    what was the problem? that might be a useful tidbot to leave in a comment.

    Interesting. I wish it worked for me ??

    I have those settings off in my db and I went in and diddled the rewrite_rules as suggested (they were consistent with what people have found to work properly).

    Might be a good thing to add to the comments in wp-config-sample.php, no? Not sure if it’s a bug or a feature but it would save people some time if they knew how to avoid getting stuck in it.

    Thread Starter paul

    (@paul)

    yeah, I found some of those answers myself. I didn’t see a solution forthcoming in the latest.zip file (maybe a comment, if that doesn’t ruffle anyone’s feathers too much?).

    You think /etc/hosts is going to reveal some dark hairy truth?

    ##
    # Host Database
    #
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    ##
    127.0.0.1	localhost
    255.255.255.255	broadcasthost
    ::1             localhost
    fe80::1%lo0	localhost

    Enjoy.

    Thread Starter paul

    (@paul)

    And just to verify, once more, I created a new installation with a fresh install of 2.7, a clean database (thereby finding another issue that needs to be addressed), and while little things like theme selection now work properly, permalinks are still busted.

    As a man once said, it’s not what we know that gets us in trouble, it’s what we know that ain’t so.

    And the other issue? In OS X 10.5/Leopard, you must use Localhost with a capital L, not localhost, in wp-config.php. I assume it’s a Leopard issue, not in WP, but it needs fixing/addressing all the same.

    Thread Starter paul

    (@paul)

    So why is it a recommended debugging tool in the Codex?

    deactivated (like I never tried deactivating all plugins at some point in this ordeal?!)

    Thread Starter paul

    (@paul)

    wordpress/wp-admin/templates.php?file=.htaccess

    This file does exist and is called by the Apache Rewrite rules plugin.

    I assume .htaccess is correct, since WP is writing it. I am using Apache 2.2: is anyone else? I’d love to investigate the problem a bit deeper but as with the other people who are seeing this problem, I don’t know what needs to be looked at.

    Help yourself . . .

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    robots\.txt$ == index.php?robots=1
    .*wp-atom.php$ == index.php?feed=atom
    .*wp-rdf.php$ == index.php?feed=rdf
    .*wp-rss.php$ == index.php?feed=rss
    .*wp-rss2.php$ == index.php?feed=rss2
    .*wp-feed.php$ == index.php?feed=feed
    .*wp-commentsrss2.php$ == index.php?feed=rss2&withcomments=1
    feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1
    (feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1
    page/?([0-9]{1,})/?$ == index.php?&paged=$1
    comments/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1&withcomments=1
    comments/(feed|rdf|rss|rss2|atom)/?$ == index.php?&feed=$1&withcomments=1
    comments/page/?([0-9]{1,})/?$ == index.php?&paged=$1
    search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?s=$1&feed=$2
    search/(.+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?s=$1&feed=$2
    search/(.+)/page/?([0-9]{1,})/?$ == index.php?s=$1&paged=$2
    search/(.+)/?$ == index.php?s=$1
    categories/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
    categories/(.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
    categories/(.+?)/page/?([0-9]{1,})/?$ == index.php?category_name=$1&paged=$2
    categories/(.+?)/?$ == index.php?category_name=$1
    tags/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?tag=$1&feed=$2
    tags/(.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?tag=$1&feed=$2
    tags/(.+?)/page/?([0-9]{1,})/?$ == index.php?tag=$1&paged=$2
    tags/(.+?)/?$ == index.php?tag=$1
    author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?author_name=$1&feed=$2
    author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?author_name=$1&feed=$2
    author/([^/]+)/page/?([0-9]{1,})/?$ == index.php?author_name=$1&paged=$2
    author/([^/]+)/?$ == index.php?author_name=$1
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&day=$3&feed=$4
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&day=$3&feed=$4
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&day=$3&paged=$4
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ == index.php?year=$1&monthnum=$2&day=$3
    ([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&feed=$3
    ([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&feed=$3
    ([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&paged=$3
    ([0-9]{4})/([0-9]{1,2})/?$ == index.php?year=$1&monthnum=$2
    ([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&feed=$2
    ([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&feed=$2
    ([0-9]{4})/page/?([0-9]{1,})/?$ == index.php?year=$1&paged=$2
    ([0-9]{4})/?$ == index.php?year=$1
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/?$ == index.php?attachment=$1
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ == index.php?attachment=$1&cpage=$2
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/trackback/?$ == index.php?year=$1&monthnum=$2&day=$3&name=$4&tb=1
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/page/?([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&day=$3&name=$4&paged=$5
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/comment-page-([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&day=$3&name=$4&cpage=$5
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)(/[0-9]+)?/?$ == index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/?$ == index.php?attachment=$1
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$ == index.php?attachment=$1&cpage=$2
    ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&day=$3&cpage=$4
    ([0-9]{4})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$ == index.php?year=$1&monthnum=$2&cpage=$3
    ([0-9]{4})/comment-page-([0-9]{1,})/?$ == index.php?year=$1&cpage=$2
    .+?/attachment/([^/]+)/?$ == index.php?attachment=$1
    .+?/attachment/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1
    .+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    .+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ == index.php?attachment=$1&feed=$2
    .+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ == index.php?attachment=$1&cpage=$2
    (.+?)/trackback/?$ == index.php?pagename=$1&tb=1
    (.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?pagename=$1&feed=$2
    (.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?pagename=$1&feed=$2
    (.+?)/page/?([0-9]{1,})/?$ == index.php?pagename=$1&paged=$2
    (.+?)/comment-page-([0-9]{1,})/?$ == index.php?pagename=$1&cpage=$2
    (.+?)(/[0-9]+)?/?$ == index.php?pagename=$1&page=$2

    Maybe a similar issue, but WP 2.7 (and some prior versions) never see the active theme as active, and the directory containing the files is displayed as an empty reference.

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