Jump to content

abdurahman

New Members
  • Posts

    3
  • Joined

  • Last visited

abdurahman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, on other way as clearly, in the viedo KP5 dispatching views. in the IndexController when I want to call a welcome action in my uri local system (http://localhost/killerphp/public/index/welcome) echo "I'm dispatching $uri"; is OK and print I'm dispatching killerphp/public/index/welcome BUT! when I write (echo "I'm dispatching .$this->action"; only can print I'm dispatching public insteed of I'm dispatching welcome. that is the problem I would like to help me how can resolve. Aman
  2. Course Advanced PHP part 5 - Dispatching views, with prof: jon lebensold
  3. Hi, I tried to correct the errors writing the code with the dispatching views when I want to finish i get this error ( ! ) Fatal error: Uncaught exception 'Exception' with message 'Please implement a function called publicAction' in C:\wamp\www\killerphp\com\killerphp\controllers\ControllerAbstract.php on line 25 ( ! ) Exception: Please implement a function called publicAction in C:\wamp\www\killerphp\com\killerphp\controllers\ControllerAbstract.php on line 25 Call Stack # Time Memory Function Location 1 0.0013 255856 {main}( ) ..\index.php:0 2 0.0044 272520 com\killerphp\controllers\ControllerAbstract->dispatch( ) ..\index.php:35 and my uri is http://localhost/killerphp/public/index/welcome so the teachet jon use only http://killerphp/index/welcome as a localhost I think the èroblem I have is directory because for example : I'm dispatching /viwes/index or views/test so how I can fix this problem
×
×
  • Create New...