« Return to Thread: ZF quickstart not working?

Re: ZF quickstart not working?

by Breen Liblong :: Rate this Message:

Reply to Author | View in Thread

I've managed to work through the problems with the latest quickstart tutorial to this point, but no matter how I set permissions for the files (and parent directories) I still get the "General error: 14 ..." message.

Any other ideas on how to get past here?

Thanks, Breen.

Matthew Weier O'Phinney-3 wrote:
-- Julian Davchev <jmut@drun.net> wrote
(on Friday, 07 November 2008, 06:04 PM +0200):
> Is it just me or quickstart is not working.
>
> I got      
> Message: SQLSTATE[HY000]: General error: 14 unable to open database file
>
> when I try to submit/add stuff in guestbook.
> I have  chmod 777   data/db/guestbook-dev.db

The directory in which the DB file exists also needs to have RW
permissions for the apache process. I usually do:

    chmod -R a+rwX data

which ensures that the entire data/ subdirectory has these permissions.

> All other success messages etc are working as expected.

--
Matthew Weier O'Phinney
Software Architect       | matthew@zend.com
Zend Framework           | http://framework.zend.com/

 « Return to Thread: ZF quickstart not working?