WordPress.org

Ready to get started?Download WordPress

Forums

WP-Medic, a Troubleshooting Tool (17 posts)

  1. Firas
    Member
    Posted 8 years ago #

    Calling testers, coders and all ye who live on the edge. WP-Medic is a tool for diagnosing and troubleshooting WordPress systems. Think of it as a way to do things that are too obscure for wp-admin to help with, or to turn to when you can't log into wp-admin at all because a plugin has gone amok. Current features are:

    • Mass plugin management
    • Squishing the sent headers error
    • Categorize posts that don't have categories
    • Update path options
    • Check core file integrity
    • Options table editor
    • SQL query runner

    WP-Medic Release Candidate 1:

    Zip: http://somethingunpredictable.com/?dl=wp-medic.zip
    Gzip: http://somethingunpredictable.com/?dl=wp-medic.tar.gz

    Upload it to a wp-medic folder in your WP root (ie, where wp-config.php resides.) Then load its location in your brower. It does require that a few of your wp files work fine, especially wp-config.php and wp-includes/wp-db.php. Bang on it incessantly and post here with any comments. We're especially looking for bugs (as usual), feature requests, and thoughts on usability/pleasantness.

    Thanks!

  2. Joni
    Member
    Posted 8 years ago #

    Yes me!! It must be all that right living I'm doing. There's been a lot of great plugins released lately and this is another one. I'm off to play....

  3. Joni
    Member
    Posted 8 years ago #

    Since this is not your garden variety plugin to be plopped into the plugins folder, the above information should be in a readme.txt file that ships with the plugin. In fact this should be the de facto standard for ANY plugin. A readme.txt file that states what to the plugin's author may be the obvious, but to the rest of us morons out here ... well, you know what I mean. Just a suggestion.

  4. Firas
    Member
    Posted 8 years ago #

    Oops, that's something to keep in mind. Also, it can basically be run from anywhere, so if people think it'd be better we can just arrange for it to assume that it's in the wp-content/plugins folder instead.

  5. masquerade
    Member
    Posted 8 years ago #

    We'll have it try to detect its location automatically and adjust accordingly in the next version, so it can go in the main directory or the plugins directory no hitch.

  6. billsaysthis
    Member
    Posted 8 years ago #

    Check core file integrity is comparing with v1.5.1.3, not 1.5.2. Plugin Management screen should have a check/uncheck all button. Wording on Sent Headers Squisher page could probably be a bit more clear that unless your seeing an error this shouldn't be used; if possible do some test and disallow access if no error is present.

    Feature request: Check for new versions of installed plugins.

    Very cool overall.

  7. Joni
    Member
    Posted 8 years ago #

    [Edited for clarity; it's late and I'm tired!]

    I agree. What I like is it checks to be sure that there are no orphan posts, that all have categories. Very cool for someone who's just migrated a blog.

    Also, every WP newbie on the planet should install this plugin to troubleshoot the "headers already sent" issue!

    Great job!

  8. piginzen
    Member
    Posted 8 years ago #

    Confused here... What's the password?

    I dont have a username called "admin"

    thanks

  9. piginzen
    Member
    Posted 8 years ago #

    nevermind... i just changed all the calls to 'admin' to a username that exists

    thanks

  10. Firas
    Member
    Posted 8 years ago #

    Yeah, better username management is definitely on our list. For now, try logging into WordPress first and then loading wp-medic? Keep in mind that www. in the url vs not having one makes a difference when you load wp-medic—use the way you logged into WordPress, with or without a www.

  11. piginzen
    Member
    Posted 8 years ago #

    Thanks...

    The SQL Query Interface is completely money!

  12. msabramo
    Member
    Posted 8 years ago #

    A few more ideas:

    * Check that you're running the latest WordPress version so you're not missing security and/or bug fixes.
    * Security checking - check file permissions, .htaccess, database password, etc. to make sure user is using secure settings. Recommend more secure passwords, enabling mod_security, etc...

  13. masquerade
    Member
    Posted 8 years ago #

    The plan for the final release is to have the latest checksums be fetched from my server so that its always up to date. mod_security is something we won't recommend (partly because it screws over WP-Medic to begin with). File permissions checking is planned, I don't know about setting database passwords though, that'd involve including a dictionary or something to check passwords against.

  14. icco
    Member
    Posted 8 years ago #

    Just a suggestion, it should grab from the wordpress site if possible, some people have issues with contacting others servers (who knows why in this case, but you'll get crap, no matter what you do :p) alsoit might be a bit of a load if you get alot of people using this plugin.

    but i cold also be crazy :p

  15. masquerade
    Member
    Posted 8 years ago #

    Matt has asked in the past that we not pull checkouts down directly on requests, so I'm going to keep a local cache of md5sums and of files for the diff. Server load and bandwidth are the least of my worries.

  16. Laughinglizard
    Member
    Posted 8 years ago #

    A very good idea for a set of tools, but I have a couple of suggestions.

    - The MySql query execution is probably too risky for too many reasons.
    - How integerating something like http://wordpress.org/support/topic/35279#post-199839 into one of the "rooms"?

  17. morlock
    Member
    Posted 8 years ago #

    Is there a compatible update for WP 2.0 in mind?

Topic Closed

This topic has been closed to new replies.

About this Topic