help me to get start zend

0 views
Skip to first unread message

Ravinder Pal

unread,
Dec 29, 2012, 10:07:10 AM12/29/12
to weeke...@googlegroups.com
hi all,

plz help me to get start zend-framework-tutorial.
I have attached the browser page showing error.....


regards
Ravinder pal

untitled.jpg

PRASANT KUMAR SUMAN

unread,
Dec 29, 2012, 10:53:37 AM12/29/12
to weeke...@googlegroups.com
Can you please paste code of indexController.php

especially line no 8


Ravinder pal

--
Manage your settings from http://groups.google.com/groups/mysubs?pli=1
---
You received this message because you are subscribed to the Google Groups "Weekend php classes" group.
To post to this group, send email to weeke...@googlegroups.com.
To unsubscribe from this group, send email to weekendphp+...@googlegroups.com.
Visit this group at http://groups.google.com/group/weekendphp?hl=en.
 
 



--

ℙґα﹩@η☂ Ḳüღαґ $üмαη
www.facebook.com/PKSUMAN
Mob:- 08010173356


Ravinder pal

unread,
Dec 29, 2012, 11:32:53 AM12/29/12
to weeke...@googlegroups.com
hello prashant i have attach indexcontroller.php..
IndexController.php

vikas dwivedi

unread,
Dec 29, 2012, 11:48:13 AM12/29/12
to WEEKEND
Hello Ravinder,

comment line 8 of init() , init() is not exactly constructor zend treat it as constructor.

try it !!

regards !
vikas dwivedi 


On Sat, Dec 29, 2012 at 10:02 PM, Ravinder pal <ravind...@gmail.com> wrote:
hello prashant i have attach indexcontroller.php..

Ravinder pal

unread,
Dec 29, 2012, 12:08:31 PM12/29/12
to weeke...@googlegroups.com
sir i have commented that line no-8 and i created db in mysql.
and now this error is occur.

Exception information:
Message: SQLSTATE[42000] [1049] Unknown database 'zf_tutorial'

vikas dwivedi

unread,
Dec 29, 2012, 12:29:46 PM12/29/12
to WEEKEND
no, there must be 'zf_tutorial' Db  missing in db .please check again !!

regards !
vikas dwivedi 


Ravinder pal

unread,
Dec 29, 2012, 1:16:44 PM12/29/12
to weeke...@googlegroups.com
I drop old one and create new db, it works...

thanks sir..

On 12/29/12, vikas dwivedi <vikas...@gmail.com> wrote:
> no, there must be 'zf_tutorial' Db missing in db .please check again !!
>
> *regards !*
>
> *vikas dwivedi *
Reply all
Reply to author
Forward
0 new messages