WordPress.org

Ready to get started?Download WordPress

Forums

After PDO (SQLite) For WordPress Installation only a blank page gets rendered (5 posts)

  1. abgeschweift
    Member
    Posted 4 years ago #

    Hi!

    First of all thank you for your work!

    I wanted to give PDO For WordPress a try. I installed Lighttpd with PHP5, FastCGI and SQLite3.

    I set everything up according to the readme.txt.

    phpinfo() says:

    additional .ini files parsed:
    /etc/php5/cgi/conf.d/pdo.ini,
    /etc/php5/cgi/conf.d/pdo_sqlite.ini,
    /etc/php5/cgi/conf.d/sqlite.ini

    www-data is able to write to the database-folder. So I guess everything is set up correctly.

    But when I try to access the website I just get a blank page. Do you have an idea where to look, or what to tweak?

    Cheers,

    Alexander

    Software used:
    - Debian Lenny
    - lighttpd 1.4.19-5
    - php5-common 5.2.6.dfsg.1-1+lenny3
    - php5-cgi 5.2.6.dfsg.1-1+lenny3
    - php5-sqlite 5.2.6.dfsg.1-1+lenny3
    - sqlite3 3.5.9-6
    - WordPress 2.8

  2. abgeschweift
    Member
    Posted 4 years ago #

    I just checked, PDO/SQLite is working!

    I wrote a little script to test it. Created a database and tables. Successfully inserted some values and read them.

    Still, blank page...

  3. jpadie
    Member
    Posted 4 years ago #

    hi
    i don't support pdo for sqlite from these pages. if you have an issue please post at rathercurious.net

    thanks
    justin
    (author of PDO For WordPress)

  4. thenorthface
    Member
    Posted 4 years ago #

    Hi
    Same problem here, wordpress version 2.8.2.

    I have found out that commenting line number 1111
    in wp-includes/wp-db.php
    //$wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
    solves the problem, but I have no idea why.

  5. abgeschweift
    Member
    Posted 4 years ago #

    In my case it was a corrupt sqlite library. So problem solved (for me).

Topic Closed

This topic has been closed to new replies.

About this Topic