• I’m hoping someone can help me out here. I’d be VERY grateful! I’m rather new to php and am not sure where the problem is.

    I recently upgraded to WP 2.0.4 (from 1.5). The upgrade went smoothly. The only thing that seems to be problematic is my archives.

    I’m using narchives.php in my wp directory (a separate page in my main WP directory, for archives). It’s located here:
    http://www.bookyeti.com/wp/narchives.php
    The page is fully functional, however near the top of the archive page, is an error line:

    WordPress database error: [Unknown column 'user_level' in 'where clause']
    SELECT * FROM wp_users WHERE user_level > 0

    I tried turning off all plug-ins to see one of them may be the culprit, but that didn’t seem to help.

    Does anyone have an idea what I can do to fix this?

    Also, how do I customize this page to look like I want it to? (Colors, backgrounds, etc.)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hiya – how have you been?

    Any plugin which uses the now-deprecated “user-level” call is going to throw that and other errors. First thing to do: check with the plugin author to see if there’s an update for it.

    Once you get that ironed out, then we can look at how to style the whole thing.

    Thread Starter bookyeti

    (@bookyeti)

    Hi vkaryl. 🙂 Nice to see you again!
    I’ve been okay, despite some hard times lately.

    I wasn’t aware that narchives.php was a plugin. 🙁

    Isn’t this the “nicer archives” plugin? narchives.php in your plugins folder? I don’t think this is a wp comes-with….

    Thread Starter bookyeti

    (@bookyeti)

    Hmm…I don’t see it in my plug-ins folder. I remember using it with my version 1.5 (I can’t remember where I downloaded it but it wasn’t a plugin, I don’t think) and it worked great. Didn’t come with WP, you’re right. But for some reason it’s not compatible with 2.0.4

    While we’re on plugins, I’ve heard lots of good things about srg_clean_archives plug-in. So I thought I’d try it instead of narchives.php.

    So I’ve downloaded it, but can’t seem to get it to work either. I’m so confused when it comes to this archiving business. Gak!

    I’m just looking for a nice archive setup that’s easy to work with and somewhat easy to customize.

    Can you help me with this?

    Sure. Want to send me a login etc. and I’ll look at it off-board?

    vkaryl *at * bytehaven * dot * com

    Thread Starter bookyeti

    (@bookyeti)

    Sure… 🙂

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

The topic ‘narchives.php – WP database error’ is closed to new replies.