• Resolved simplygrey

    (@simplygrey)


    I’m fairly new to www.remarpro.com blogging, so bear with me.

    I’ve been more or less successfully running a single WP blog for a couple of months now, but wanted to install a second blog using the same database. I first tried in a sub-folder which had a subdomain associated with it, but kept getting a “site_url” error.

    After doing a bit of research, I gathered that redirects are a problem, so I moved everything over into just a plan ol’ sub-directory. Now I’m not getting the site_url error anymore, but I’m getting this error:

    Fatal error: Call to undefined function setup_userdata() in /sf/wp-includes/pluggable.php on line 53

    I can’t find any info in the codex on this, so I’m stumped.

    I should note that, at first, I had forgotten to change $table_prefix and left it the standard “wp_”, which is used by my current (main) blog. I corrected this when researching my site_url problem and changed it again when trying in the normal sub-directory, but I still only have “wp_” tables in my database, not any tables with the new prefixes. So I’m assuming the installation is crashing before it gets to the table-creation stage.

    Anyway, suggestions?

    Cheers,
    ~G

Viewing 7 replies - 1 through 7 (of 7 total)
  • $table_prefix should be changed in wp-config.php
    run install in your new blog again.

    Thread Starter simplygrey

    (@simplygrey)

    mercime wrote:

    $table_prefix should be changed in wp-config.php
    run install in your new blog again.

    Thanks, but I did that when I said above that I corrected it, so I’m thinking that’s not it.

    To run the install again, I just need to refresh or go to the install address again, right? I’ve tried clearing the browser cache a few times, too, but I keep getting the same error mentioned above.

    Other ideas?

    ~G

    1- what version did you upload for new blog?
    2- did you check files in wp-includes folder if file size of pluggable.php in upload equals file size in server? you should re-upload pluggable.php
    3- if that doesn’t work, download pristine copy of WordPress 2.6.3, unzip and reupload – make visual check if all files and folders have been uploaded.

    Thread Starter simplygrey

    (@simplygrey)

    2- did you check files in wp-includes folder if file size of pluggable.php in upload equals file size in server? you should re-upload pluggable.php

    Thanks. Yeah, I’m thinking this is the problem now, too. I think pluggable.php is OK, but one of the included files is probably zero bytes.

    I just finished installing a WP blog for a different domain and found that I had several files that didn’t upload properly (all zero bytes). ?? Now I’m off to run a few errands, and I’ll check my other blog(s) when I get back.

    BTW, I’m using ver. 2.6.3. I meant to mention that when I first posted. Oops!

    Cheers,
    ~G

    Thread Starter simplygrey

    (@simplygrey)

    Yeah, that was it: .php files with zero bytes.

    It seems to happen a lot. Is it my FTP software (Forklift) or what?

    Cheers,
    ~G

    Try FileZilla. Even so, to avoid headaches, I make a visual check comparing files and folders on computer to server – takes only 5 minutes ??

    Thread Starter simplygrey

    (@simplygrey)

    Will do. Thanks for the help!

    ~G

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t install second blog with single database’ is closed to new replies.