Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/awsurf/ on line 45

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /home/awsurf/ on line 92

Warning: session_cache_limiter(): Cannot change cache limiter when headers already sent in /home/awsurf/ on line 93

Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /home/awsurf/ on line 100
Slim Application Error

Slim Application Error

The application could not run because of the following error:


Type: ErrorException
Code: 2
Message: session_start(): Cannot start session when headers already sent
File: /home/awsurf/
Line: 120


#0 [internal function]: Slim\Slim::handleErrors(2, 'session_start()...', '/home/awsurf/di...', 120, Array)
#1 /home/awsurf/ session_start()
#2 /home/awsurf/ Slim\Middleware\SessionCookie->loadSession()
#3 /home/awsurf/ Slim\Middleware\SessionCookie->call()
#4 /home/awsurf/ Slim\Middleware\PrettyExceptions->call()
#5 /home/awsurf/ Slim\Slim->run()
#6 {main}