Forums

"Fatal Error" in wp-setting.php after installing 2,6 (3 posts)

  1. pelintra
    Member
    Posted 3 years ago #

    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

  2. Samuel B
    moderator
    Posted 3 years ago #

    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.

  3. pelintra
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic