WordPress.org

Ready to get started?Download WordPress

Forums

SQLite Integration
WebMatrix 3 - db.php in Content Show White Page (4 posts)

  1. ronycandeli
    Member
    Posted 6 months ago #

    Hello,
    When I copy db.php to wp-content folder and reload the page in localhost, I just see a white page, if I actived the plugin before the copy db.php i see equal a white page.

    I also do not see the file .ht.sqlite ...

    *..WebMatrix alredy have a Wizard to config the connection and others stuff for basic install WordPress 3.8.1 with MySQL.

    -> I need wordpress just with sqlite.
    (CanĀ“t Access the Control Panel to config database).

    https://wordpress.org/plugins/sqlite-integration/

  2. xx
    Member
    Posted 6 months ago #

    Hi.
    Did you edit wp-config.php?

    I'm using InstantWp to develop locally and it works fine.

    http://www.instantwp.com/

  3. kjmtsh
    Member
    Plugin Author

    Posted 6 months ago #

    Hello, ronycandeli and xx.

    Thank you for you reporting, ronycandeli.

    I haven't tested this plugin on WebMatrix environment. But let's try trouble shooting. Will you give me more information about your environment?

    1. Check if sqlite-integration folder is placed under the plugins folder.
    2. When you put db.php file under the wp-content folder and accessed WordPress site with your browser, were there any error mesages? Or only white page?
    3. Check if your PHP has loaded the required extensions.

    You wrote about the activation, so #1 is OK, I guess. In fact, activate or not won't affect the database management process of the plugin. As for #2, WordPress loaded db.php file, but didn't execute something.

    Do you know how to check #3? Does WebMatrix have some utility for checking PHP infos? If not, please create a file like below in the server root and access it with your browser.

    <?php
    phpinfo();
    ?>

    Check if there are PDO section and PDO sqlite driver. If you don't see that section, you can't use SQLite database and SQLite Integration won't work at all.

    Thank you and good luck.

  4. kjmtsh
    Member
    Plugin Author

    Posted 6 months ago #

    I forgot to add one thing.

    Before checking WordPress error messages, open wp-config.php with the editor and find the section below. And rewrite false to true.

    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', true);

    If there's none, please add those two lines.

    Thank you.

Reply

You must log in to post.

About this Plugin

About this Topic