#53 open
Matthew Turland


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

If the SQLite database specified in recess-conf.php does not exist, the error shown below occurs. No diagnostic page is generated. A more friendly error message would be preferable. An appropriate error message should also be shown if the directory containing the specified file is not writable.

Fatal error: Uncaught exception 'DataSourceCouldNotConnectException' with message 'SQLSTATE[HY000] [14] unable to open database file' 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

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.


People watching this ticket