2013-08-06 5 views
0

서버에서 로컬 호스트로 PHP zend 파일을 실행하려고합니다 (마이그레이션). 내가 아는 구성을 변경했지만 실행하려고하면 아래 오류가 브라우저에 표시됩니다.zend 파일을 로컬 호스트로 마이그레이션 할 때 예외가 발생했습니다.

Array ([0] => Zend_Controller_Dispatcher_Exception Object 
    ( 
    [message:protected] => Invalid controller specified (www) 
    [string:Exception:private] => [code:protected] => 0 
    [file:protected] => C:\xampp\htdocs\www\html\library\Zend\Controller\Dispatcher\Standard.php 
    [line:protected] => 241 
    [trace:Exception:private] => Array ( 
     [0] => Array ( 
      [file] => C:\xampp\htdocs\www\html\library\Zend\Controller\Front.php 
      [line] => 936 
      [function] => dispatch 
      [class] => Zend_Controller_Dispatcher_Standard 
      [type] => -> [args] => Array ( 
       [0] => Zend_Controller_Request_Http Object ( 
        [_paramSources:protected] => Array ( 
         [0] => _GET [1] => _POST) 
         [_requestUri:protected] => /www/html/web/ 
         [_baseUrl:protected] => 
         [_basePath:protected] => 
         [_pathInfo:protected] => /www/html/web/ 
         [_params:protected] => Array ( 
          [controller] => www 
          [action] => html 
          [module] => default 
          ) 
         [_aliases:protected] => Array () 
         [_dispatched:protected] => 1 
         [_module:protected] => default 
         [_moduleKey:protected] => module 
         [_controller:protected] => www 
         [_controllerKey:protected] => controller 
         [_action:protected] => html 
         [_actionKey:protected] => action 
        ) 
       [1] => Zend_Controller_Response_Http Object ( 
        [_body:protected] => Array () 
        [_exceptions:protected] => Array RECURSION 
        [_headers:protected] => Array () 
        [_headersRaw:protected] => Array () 
        [_httpResponseCode:protected] => 200 
        [_isRedirect:protected] => 
        [_renderExceptions:protected] => 
        [headersSentThrowsException] => 1 
       ) 
      ) 
     ) 
     [1] => Array ( 
      [file] => C:\xampp\htdocs\www\html\index.php 
      [line] => 5 
      [function] => dispatch 
      [class] => Zend_Controller_Front 
      [type] => -> 
      [args] => Array () 
     ) 
    ) 
    [previous:Exception:private] => 
) 
) 

사람들이 나를 도와 줄 수 있습니까? 사전

+0

Windows에서 Linux 시스템으로 마이그레이션하는 경우 단어의 문제가 될 수 있습니다. 정의 된 동일한 대/소문자를 사용하여 컨트롤러를 호출해야합니다. – DevZer0

+0

PHP 오류 로그를 확인 했습니까? 그게 더 유용 할거야. – RiggsFolly

+0

@RiggsFolly 오류 로그가이 경우에 말하려는 예외가 꽤 많이 있습니다. – DevZer0

답변

0

에 감사

127.192.220.12zend.local

내가 그것을 최종 있는지 몰라 예를 들어 해당 파일

Host iplocalsite url

의 끝에 다음 줄을 추가 solution.But을 당신을 도울 수 있습니다!

+0

아니요, 작동하지 않습니다 : ( – StrikeNeo

+0

기다리십시오. @StrikeNeo – DRAJI

+0

여러분의 도움에 감사드립니다. – StrikeNeo

관련 문제