Note that there are some explanatory texts on larger screens.

plurals
  1. POlaravel-3 core exception on new installation
    text
    copied!<p>I have a new installation of Laravel on a machine running ubuntu 12.04 LTS, Nginx, php-cgi, and Laravel v3.2.14</p> <p>I am getting the following error.</p> <p><strong>Unhandled Exception</strong></p> <p><strong>Message:</strong> Undefined index: argv</p> <p><strong>Location:</strong> DOCUMNET ROOT/laravel/core.php on line 218</p> <p>EDIT:</p> <p>I have managed to get a slightly more descriptive error by commenting out the error handling function in laravel //Error::shutdown(); on line 50 of DOCUMENT ROOT/laravel/laravel.php</p> <p>Note that this line does not cause the error, it only seems to register a handler for the code that does.</p> <p>Here is the error:</p> <p><strong>Unhandled Exception</strong></p> <p><strong>Message:</strong> A driver must be set before using the session.</p> <p><strong>Location:</strong> DOCUMENT ROOT/laravel/session.php on line 109</p> <p><strong>Stack Trace:</strong></p> <ol> <li>DOCUMENT ROOT/laravel/session.php(150): Laravel\Session::instance()</li> <li>DOCUMENT ROOT/laravel/laravel.php(195): Laravel\Session::__callStatic('save', Array)</li> <li>DOCUMENT ROOT/laravel/laravel.php(195): Laravel\Session::save()</li> <li>DOCUMENT ROOT/public/index.php(34): require('/mona/developme...')</li> <li>{main}</li> </ol> <p>These are the code blocks causing the error:</p> <pre><code>if (Config::get('session.driver') !== '') { Session::save(); } </code></pre> <p>Which calls this function in DOCUMENT ROOT/laravel/session.php</p> <pre><code>public static function __callStatic($method, $parameters) { return call_user_func_array(array(static::instance(), $method), $parameters); } </code></pre> <p>$method contains the string 'save', and $parameters is an empty array.</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