#52 open
Matthew Turland

Check for database extensions

Reported by Matthew Turland | January 27th, 2009 @ 10:37 AM | in 0.30

If SQLite is chosen as the database in recess-conf.php, but the SQLite extension is not loaded, this exception is the result. This generates no diagnostic page.

Fatal error: Uncaught exception 'DataSourceCouldNotConnectException' with message 'could not find driver' in /var/www/recess/recess/lib/recess/database/pdo/PdoDataSource.class.php:51 Stack trace: #0 /var/www/recess/bootstrap.php(104): PdoDataSource::__construct(Array) #1 /var/www/recess/bootstrap.php(12): RecessConf::init() #2 /var/www/recess/index.php(22): require_once('/var/www/recess...') #3 {main} thrown in /var/www/recess/recess/lib/recess/database/pdo/PdoDataSource.class.php on line 51

Comments and changes to this ticket

  • Kris Jordan

    Kris Jordan February 4th, 2009 @ 05:21 PM

    • Tag changed from error handling, databases to error handling, setup experience, databases
    • State changed from “new” to “open”

    Marking ticket as open.

    To do: Additional checks in recess/lib/recess/database/pdo/PdoDataSource constructor's catch block to determine whether the desired PDO driver extension exists.

  • Kris Jordan

    Kris Jordan March 30th, 2009 @ 09:51 PM

    • Milestone changed from 0.11.1 to 0.30

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Recess PHP Framework is an open source, full stack, RESTful PHP framework.

http://www.recessframework.org/

People watching this ticket

Pages