Priti's Technical Corner

March 21, 2012

Quickstart Zf tutorial exprience


This post is helpful who are trying to learn Zf with quick start tutorial on Zf documentation section

Error 1:

C:\www\quickstart>php scripts\load.sqlite.php
Writing Database Guestbook in (control-c to cancel):
bool(true)
AN ERROR HAS OCCURED:
SQLSTATE[HY000] [14] unable to open database file

Resolution:

Move your “data” directory to the parallel to “/application” folder.

Output:

C:\www\quickstart>php scripts\load.sqlite.php –withdata
Writing Database Guestbook in (control-c to cancel):1
Database Created
Data Loaded.

Question: Where to place “scripts” directory in quickstart dir?

Answer: quickstart/scripts/*.sql

Advertisements

Blog at WordPress.com.

%d bloggers like this: