2011年3月7日星期一

Re: [fw-server] Re: How to move app fron Zend Server CE to another LAMP?

If you see default apache 404 page, then most likely mod_rewrite is not
configured properly.

regards
Petar

On 03/07/2011 03:48 PM, Mr.Kilmister wrote:
> Yes, it is,
> And even the website is launched, but only partly :(
> I have 4 elements:
> - paginator, to find data, it works fine
> - accordion, to find details, works good
>
> but I also have a view helper:
>
> layout.phtml
> <?php echo $this->login(); ?>
>
> Login.php
> <?php
> class Application_View_Helper_Login extends Zend_View_Helper_Abstract
> {
> public function login()
> {
> $output = null;
> if (Zend_Auth::getInstance()->hasIdentity()) {
> $output = '
>
>
> "' . $this- view->url(
> array(
> 'controller' => 'auth',
> 'action' => 'logout'
> ),
> 'default',
> true) . '">logout
>
> ';
> } else {
> $output = '
>
>
> "' . $this- view->url(
> array(
> 'controller' => 'auth',
> 'action' => 'login'
> ),
> 'default',
> true) . '">login
>
> ';
> }
> return $output;
> }
> }
>
> It prints out an error:
>
> Not Found
> The requested URL /auth/login was not found on this server.
> Apache/2.2.16 (Ubuntu) Server at 127.0.0.1 Port 80
>
> (After login it will be the last part wiht ajax...)
>
> What's wrong?
> Could you help me, please?
>
> --
> View this message in context: http://zend-framework-community.634137.n4.nabble.com/How-to-move-app-from-Zend-Server-CE-to-another-LAMP-tp3337679p3338993.html
> Sent from the Zend Server mailing list archive at Nabble.com.
>
>

没有评论: