Forum Replies Created

Viewing 15 replies - 31 through 45 (of 47 total)
  • Worked nicely for me as well, to force a newly-updated Yahoo blog to use Permalinks.

    This appears to be primarily due to incompatible plugins. In my case, renaming the plugins/ directory to plugins-backup/ and creating a new, empty plugins/ directory fixed the problem. However, when I resumed using the blog after restoring the original plugins/ directory, WTAU wouldn’t let me activate new plugins. I had to go visit the Manage/Automatic upgrade page to clean up the upgrade files, and then had to re-activate plugins manually.

    Hope this helps.

    Mmmh, turns out it was Firefox’s browser cache. Everything seems to be fixed by clearing the cache in Tools -> Options -> Privacy -> Private Data -> Clear now…

    Wham. Top banner image gone again, even with the changed name. And the CSS file for the admin section gives me a 404 even without the ?version=2.5 now. Something’s going on on my server.

    All right, so the culprit is wp-includes/general-template.php (line 1113):

    function wp_admin_css_uri( $file = 'wp-admin' ) {
    	if ( defined('WP_INSTALLING') ) {
    		$_file = "./$file.css";
    	} else {
    		if ( 'css/colors' == $file || 'css/colors-rtl' == $file ) {
    			global $_wp_admin_css_colors;
    			$color = get_user_option('admin_color');
    			if ( empty($color) || !isset($_wp_admin_css_colors[$color]) )
    				$color = 'fresh';
    			$color = $_wp_admin_css_colors[$color];
    			$_file = $color->url;
    			$_file = ('css/colors-rtl' == $file) ? str_replace('.css','-rtl.css',$_file) : $_file;
    		} else {
    			$_file = get_option( 'siteurl' ) . "/wp-admin/$file.css";
    		}
    	}
    	$_file = add_query_arg( 'version', get_bloginfo( 'version' ),  $_file );
    
    	return apply_filters( 'wp_admin_css_uri', $_file, $file );
    }

    I fail to see how adding ?version=2.5 (which is what the line before last does) helps in this instance. Looks like it conflicts with the .htaccess mod_rewrite options. I commented out the line, now I have a clean administration area.

    I renamed my header image and updated the css accordingly, now everything is (mostly) fine.

    Only glitch left, the dashboard doesn’t update the incoming links, plugins, or development blog boxes. I also have three JavaScript JQuery errors, which are probably related. Sounds like something went wrong, and that I need to reinstall my blog from scratch… EDIT: The errors disappeared on browser restart. Might have been some cached files.

    Well, isn’t that a pain…

    I’ve upgraded WordPress many times, don’t think I did anything differently this time. Yet I have the same issue, first really big issue ever with WordPress.

    My header image is gone off the blog (yet it points to the proper file location, and the file is there, plain to see, in FileZilla and shell). Moreover, the page and footer background, found in the exact same location, with exactly the same permissions, do show up…

    The admin section doesn’t find the CSS file at all, nothing at all shows up in Firefox’s WebDeveloper plugin as far as linked CSS content, which might be normal because it’s (now?) a php file reference (angle brackets changed):

    [link rel='stylesheet' href='http://blog.site.com/wp-admin/css/global.css?version=2.5' type='text/css' /]
    [link rel='stylesheet' href='http://blog.site.com/wp-admin/wp-admin.css?version=2.5' type='text/css' /]
    [link rel='stylesheet' href='http://blog.site.com/wp-admin/css/colors-fresh.css?version=2.5' type='text/css' /]

    The top and bottom links show CSS data, but the second link gives me a File not found warning message. If I type in …/wp-admin/wp-admin.css (instead of …/wp-admin/wp-admin.css?version=2.5), I get proper CSS…

    The last thing I remember doing is browsing around in the admin section and noticing that there was an option to revert to the legacy colors, tried it, didn’t like it, then reverted.

    Does anyone know what’s been causing this? I’ve been very trusty of WordPress upgrades, never had any glitch.

    Forum: Fixing WordPress
    In reply to: High CPU Usage
    spiff06

    (@spiff06)

    I’ve just been bitten by the same issue. My host shut off a wordpress folder because the CPU usage was hogging up the server. I had 16 active PHP processes, all apparently busy with index.php.

    Some threads point to shutting out the spawn_cron() call and replacing it with a regular system cron job (see here).

    Does anyone know for sure what is causing the CPU load (loop, timeout, resource access, crons spawning on top of one another)?

    Thread Starter spiff06

    (@spiff06)

    Well, what makes little sense is that, when I show the number of “posts” made by a particular author on the sidebar with wp_list_authors(), the number corresponds to the sum total of both number of posts and number of pages.

    When I click on the author to view his/her profile page, only the posts are listed, so it looks as though there’s information missing.

    And I really don’t see why pages shouldn’t be listed. It would be appropriate to see that information as well when viewing an author profile.

    I’ll try and find a workaround.

    Thread Starter spiff06

    (@spiff06)

    Done.

    Mmh. This is a problem with characters not being properly unescaped. I faced it recently while setting up OSCommerce with TinyMCE, but never with WordPress. What WP version are you using?

    Typically, you’d look at a missing stripslashes() call in the script method building up the faulty textarea data.

    Saberkitty: Knock on wood. I was blissfully thinking the same just three days ago.

    Spaminator seems to work quite well, but I’m thinking to complement it with the blacklist plugin & a cron job to update it once a day.

    podz: I didn’t mean to say WP bloggers have any more issues with this than others. All I’m wondering about is whether time wasted on the flooding attack that appeared in the past few hours can be at all quantified.

    (edited for clarity)

    dss: It looks as though Spaminator already does have an option similar to what you wish for:

    “Update 1/11/2004: I’ve cleaned up the code, and added a “whitelistingâ€? check. If an email address is found to have previously approved comment, they get 5 “bonusâ€? points to offset things like being from the same IP subnet as a spammer.”

    Improvement: I’ve just lowered the crapflooding setting to 10 seconds; now my moderation queue stays empty. Then turned the comments back on, *looks* like it stays clean. Now all I need to do is warn posters that comments are moderated.

    I’m wondering how many hours WP users alone are wasting on this worldwide…

    It may just be that I need to make Spaminator less lenient, but that’s a nice, brute force method to deny any post. Thanks for sharing that. — Eric

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