• Resolved inesod

    (@inesod)


    I’m going to a conference in a few days where I’ve ‘advertised’ my blog but after old installation failed when updating Thesis theme I can’t get WordPress installed again. Help urgently needed!

    I’ve done all the usual: downloaded the latest version of WP (3.0.1), unpacked it, created domain and database on domain, edited wp-config.php, transferred all unpacked WordPress folders and files to httpdocs on my server. No additional plugins, themes or anything else yet. Just the pure WordPress installation.

    And then … I tried to run the WordPress installation by going to https://www.domain.com/wp-admin/install.php.

    First, blank screen. Also blank screen on https://www.domain.com.

    Then I created .htaccess (none there before) and included the line php_value display_errors “1”.

    Now I get on https://www.domain.com and on https://www.domain.com/wp-admin/install.php the following error:

    Fatal error: Call to undefined method stdClass::set_prefix() in /srv/www/vhosts/domain.com/httpdocs/wp-includes/load.php on line 337

    In line 337 of load.php I find

    $prefix=$wpdb->set_prefix($table_prefix);

    I’m not an expert at all, so don’t know what else I can try to get wordpress to install.

    What can I do? I need this fixed asap.

    Server installation: root server with openSuse 11.1, php 5, Plesk 9.5.2

Viewing 7 replies - 1 through 7 (of 7 total)
  • Delete your current WordPress 3.0.1 package and re-download it again from here: https://www.ads-software.com/latest.zip . Then upload that and make sure to have it overwrite all your current WordPress files.

    Thread Starter inesod

    (@inesod)

    Still not working. I’ve reset the whole domain, downloaded from the latest.zip and uploaded everything. The errors I get now are

    on https://www.domain.com/wp-admin/install.php I get:
    Fatal error: Call to undefined function wp_embed_register_handler() in /srv/www/vhosts/domain.com/httpdocs/wp-includes/default-embeds.php on line 33

    on https://www.domain.com and https://www.domain.com/wp-admin I get
    Fatal error: Call to undefined function wp_redirect() in /srv/www/vhosts/inesodonovansleadershipblog.com/httpdocs/wp-includes/load.php on line 408

    I’ve checked my PHP version (no idea if this is related but thought it can’t hurt). It’s version 5.2.9

    Any ideas?

    Moderator James Huff

    (@macmanx)

    Since you got a different set of errors the second time around, I’m going to guess that you’re encountering some file corruption. Unfortunately, it’s impossible to tell if this is happening during the download or the upload and during which point of the upload.

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download.

    If you get yet another different set of errors, then there’s definitely some corruption happening at some point, and I recommend upload everything yet again, but from a different computer and a different internet connection.

    Thread Starter inesod

    (@inesod)

    Strange. Okay, I’ll try to find another computer. Not sure I find another Internet connection. I’m extracting with WINRAR and uploading with FileZilla. Could any corruptions be related to those tools?

    Moderator James Huff

    (@macmanx)

    There are so many potential points of failure when it comes to file corruption that it’ll take quite a long time to troubleshoot. Here’s the basic list of potential failure points, just try alternatives where ever you can:

    1. The source file (I checked, it’s fine).

    2. The connection of the source file’s server.

    3. Your connection.

    4. Your browser.

    5. Your file extractor/unarchiver/unzipper.

    6. Your upload client.

    7. Your server’s connection.

    8. Your server’s file system.

    Thread Starter inesod

    (@inesod)

    Thank you very much, James. I’ve downloaded everything new, including FileZilla on a different computer and re-installed everything. It works without any problems now. Thank you so much! Somehow I would have never thought that files might get corrupted on the way.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    File corruption is a rare problem, but when it happens it’s a pain to troubleshoot. I’m glad you were able to sort it out.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP Installation failed. Fatal error: Call to undefined method’ is closed to new replies.