codeguy/Slim — Issue #194: Class Slim_Http_Cookie – Fatal error
Author: maxmert
Created: 2011-12-20 21:46:14+00:00
State: open

Hello!

I'm trying to run this code (url is http://site.com/0.1/blog.php/)

ini_set('display_errors', '1');

require '../Slim/Slim.php';

$slim_settings = array(
'mode' => 'development',
'debug' => true,
'log.enable' => false,
'cookies.encrypt' => false,
'session.handler' => null
);
$app = new Slim();

$app->get('/', function () {
echo 1;
});

$app->run();

After that I get a browser error Erorr 330 (net::ERR_CONTENT_DECODING_FAILED): unknown error

If i comment $app->run(); then I get Slim error Fatal error: spl_autoload(): Class Slim_Http_Cookie could not be loaded in /home/sites/maxmert.com/subdomains/api/httpdocs/Slim/Http/CookieJar.php on line 285.

Please, help me to get through it! Thank you!