Note that there are some explanatory texts on larger screens.

plurals
  1. PORunning into couple of issues kohana framework: routing and running on ubuntu 12.04
    text
    copied!<p>I've started to learn kohana fews days ago and with my Zend Framework my learning experience seems to be fast until i run into couple of issues. </p> <p>First of all i started the project in windows 7(dual booting with linux ubuntu 12.04). i know every link was fine before i started adding more pages to an admin app with kendo ui. i've added couple of routes to handle controllers in subfolders and to handle url with query string of the form <code>?bla=dkll&amp;second=lkdjf</code> (used by kendo grid to send unknown number of params based on users interaction with the grid).</p> <p><strong>First problem</strong> : under windows i would access any url except the root <code>/</code> eg <code>localhost/admin/</code> (admin being my folder in htdocs) it gives me </p> <p><code>ERROR: HTTP_Exception_404 [ 404 ]: The requested URL / was not found on this server</code> : </p> <blockquote> <p>83 <code>try</code><br> 84 <code>{</code><br> 85 &nbsp;&nbsp;&nbsp;&nbsp;<code>if ( ! class_exists($prefix.$controller))</code><br> 86 &nbsp;&nbsp;&nbsp;&nbsp;<code>{</code><br> 87 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>throw new HTTP_Exception_404('The requested URL :uri was not found on this server.',</code><br> 88 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>array(':uri' =&gt; $request-&gt;uri()));</code><br> 89 &nbsp;&nbsp;&nbsp;&nbsp;<code>}</code><br> 90 <br> 91 &nbsp;&nbsp;&nbsp;&nbsp;<code>// Load the controller using reflection</code><br> 92 &nbsp;&nbsp;&nbsp;&nbsp;<code>$class = new ReflectionClass($prefix.$controller);</code><br></p> </blockquote> <p><strong>Second problem</strong> : Under ubuntu not only i have the same first problem but then i can't even hit other <code>urls</code> like <code>localhost/admin/useraccess/login</code> </p> <p><strong>Questions:</strong> </p> <p>is the second problem related to the first one (obviously aside the '/' not found one) i have enabled on ubuntu mod_rewrite and the kohana install page is all green. </p> <p>is there any other settings i forgot to enable which was enabled in windows php (xampp) that's not on ubuntu?</p> <p>my .htaccess/logs/boostrap are found <a href="http://pastie.org/4278033" rel="nofollow">here</a> </p> <p>thanks for reading this and helping out</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload