Support » Plugin: PDO (SQLite) For WordPress » [Plugin: PDO (SQLite) For WordPress] One or more database tables are unavailable. The database may n

  • Resolved Kojichan

    (@kojichan)


    I’m getting this error when trying to run the install for WordPress.

    One or more database tables are unavailable. The database may need to be repaired.

    I’ve edited the ‘wp_config.php’ to include: define(‘DB_TYPE’, ‘sqlite’);, setup the API codes.

    Put the PDO files in the /wp-content/ folder, not a plugin folder, created a /database/ directory in the /wp-content/ folder and set it to 777 CHMOD.

    EVen set /wp-admin/include/schema.php and upgrade.php to 666 CHMOD as another website suggested.

    Then when I run the install, I am presented with this error.

    The Database is created fine /database/MyBlog.sqlite, as well as debug.txt, and a .htaccess file.

    But the Database is empty. Blank. It’s like WP couldn’t create the Tables, so it’s blank.

    I’ve tried this on two different servers, both with PHP 5.0 and PDO SQLite installed on both.

    Do you know what could be wrong?

    Edit:

    Line 431, Function: prepareQuery, Message: Problem preparing the PDO SQL Statement.  Error was no such table: modTimes
    Line 431, Function: prepareQuery, Message: Problem preparing the PDO SQL Statement.  Error was no such table: modTimes
    Line 431, Function: prepareQuery, Message: Problem preparing the PDO SQL Statement.  Error was no such table: modTimes
    Line 431, Function: prepareQuery, Message: Problem preparing the PDO SQL Statement.  Error was no such table: modTimes
    Line 431, Function: prepareQuery, Message: Problem preparing the PDO SQL Statement.  Error was no such table: wp_options

    These are the errors from the debug.txt file. Further proving the Database is empty. No tables were created by whatever created the DB.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: PDO (SQLite) For WordPress] One or more database tables are unavailable. The database may n’ is closed to new replies.