TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
xdebug and kohana
  • Hello. I have a problem with xdebug. I user netbeans, and and i click debug file, then a window is opened in chrome: http://my-website/application/classes/Controller/Api.php?XDEBUG_SESSION_START=netbeans-xdebug

    and i get this error: Kohana_HTTP_Exception [ 404 ]: The requested URL / was not found on this server

    problem is that my url, that works is somethins like this: http://my-website/api

    can you help me please? 10x

  • you cannot debug files with front controllers. all you can do is, remove Index File from your Project Configurations and debug whole project,which means you have to navigate throught your application in debug mode until your breakpoint.

  • or you need to configure your project settings.

    right click on project in netbeans -> properties -> run configuration -> Run As:"Local Web Site" , -> klick on Advanced button , add your server paths and project path maps, for example Server Path /api/ Project Path /application/classes/Controller/Api.php

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion