-- ZegeeDotCom <[EMAIL PROTECTED]> wrote
(on Monday, 19 March 2007, 08:38 AM -0700):
>
> Still nothing...here is the revised bootstrap file:
>
> Zend_Loader::loadClass('Zend_Controller_Front');
> $front = Zend_Controller_Front::getInstance();
> $front->throwExceptions(true);
> $front =
> Zend_Controller_Front::run('../application/controllers');
>
>
> Zend_Loader::loadClass('Zend_View');
> $view = new Zend_View();
> $view->setScriptPath('../application/views');
> $front->setParam('view', $view )
>
> still, my views are not generated....
You need to provide the following, then:
* what URL are you trying to invoke? (i.e.,
http://example.com/user/login -- does not have to be a real host)
* provide the contents of the class and/or action method that you
expect to have called
* provide a listing of your application directories -- something like:
application/
controllers/
IndexController.php
UserController.php
views/
index/index.phtml
user/login.phtml
index.php
* Exact text of any error messages you receive
I can't get a clear enough picture at this point to diagnose your
issues without the above information.
> ZegeeDotCom wrote:
> >
> > I am not seeing anything. No errors, no html and I thought that maybe I am
> > setting up the controller incorrectly:
> >
> > include "Zend/Loader.php";
> > Zend_Loader::loadClass('Zend_Controller_Front');
> > $front =
> > Zend_Controller_Front::run('../application/controllers');
> > $front->throwExceptions(true);
> >
> > does this look good enough?
> >
> > in my previous 0.8 framework, things worked really well...
> >
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/bootstrap-controller-setup...-tf3427552s16154.html#a9554529
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/