• Hi.

    i had previously installed 2.5, but since i never actually got any content there i deleted the folder where it was and installed again with wordpress 2.6

    now i get this error: Fatal error: “Call to a member function set_prefix() on a non-object in /…/…/public_html/blog/wp-settings.php on line 212”

    i cant even finish installation. i tried downloading again and uploading evrything again, i even tried uploading to deferent folders (the root and a “blog” folder i created) and i allways get this error. dont know why.

    on line 212 of that file is the code:
    $prefix = $wpdb->set_prefix($table_prefix);

    the table prefix on the wp-config file is simply “wp_”

    can anyone help?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to change the table prefix in wp-config.php to something else innovative – like “wp1_”

    Or create a new database and enter those values in wp-config.php

    Or delete all tables in your current database.

    Thread Starter pelintra

    (@pelintra)

    hi. sambol thanks for your help.

    unfortunately it didn’t work. i forgot to mention that i had deleted my old database and created a new one when i installed the new version. I deleted it again and also changed the table prefix to “wp1_” and uploaded that file, but i still get the same error…

    i really don’t know what can be causing this.
    i just deleted my old public_html/blog folder, and created a new folder with the same name, and copied the 2.6 files there after inserting the database info in the config.php file…

    you can see the error here http://www.rui-m.com/blog

    can you think of anything else that might be causing this?

    thanks

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

The topic ‘“Fatal Error” in wp-setting.php after installing 2,6’ is closed to new replies.