Hi,
I suggest change code which generate action in application\controllers\GuestbookController.php on line 111 from $form->setAction($this->_helper->url('sign')); to $form->setAction($this->_helper->url->url()); because I have discovered this problem which I have posted to MVC maillist:
Hi all,
now I'm playing and testing example from
http://framework.zend.com/docs/quickstart/ (so official quickstart), bud
I have problem now.
When I try post form, so I get error message that
guestbook/sign(controller/action) isn't right.
The URI to the public direcoty of my example is
http://localhost/mvc-zend-test/public/index.phpOf course I have set up:
$frontController->setBaseUrl('/mvc-zend-test/public');
And I have tried:
$this->setMethod('post')
->setAction('different addresses');
And in my .htaccess, which is in directory /mvc-zend-test/public/ I have
set up this too:
RewriteBase /mvc-zend-test/public
How can I resolve this problem ?
Thank You for advises and suggestions.
If directory public isn't the document root then there is problem which I have described above.