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

2 Comments »

  1. Thanks for this article… i encourage more posts on Zend framework..

    Comment by dskanth — March 25, 2012 @ 3:22 am

  2. Good post… i encourage more posts like this on Zend…

    Comment by dskanth — March 25, 2012 @ 3:23 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: