[eluser]midknight[/eluser]
Hey Guys!
Been flipping through my files like crazy trying to find out why I am getting errors revolving around sessions and cookies. Been trying to search the forum for similar problems/solutions but I haven't seen anything yet (or it is there just didn't jump out). If someone could help me out that would be awesome!.
Thanks!
Code:
class dhr extends Controller
{
/**
* Constructor
*/
public function __construct()
{
parent::Controller();
session_start(); ----> Causing the issue or so I think it is.
}
PHP 5.2.2/MySQL 5.0.45/Linux - Server
Checked all of my files for whitespace
Cookie domain is set to the domain name .domainname.com
Log Dump:
DEBUG - 2009-09-12 18:45:42 --> Config Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Hooks Class Initialized
DEBUG - 2009-09-12 18:45:42 --> URI Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Router Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Output Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Input Class Initialized
DEBUG - 2009-09-12 18:45:42 --> XSS Filtering completed
DEBUG - 2009-09-12 18:45:42 --> Global POST and COOKIE data sanitized
DEBUG - 2009-09-12 18:45:42 --> Language Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Loader Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: form_helper
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: url_helper
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: text_helper
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: date_helper
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: display_helper
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: flash_helper
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: security_helper
DEBUG - 2009-09-12 18:45:42 --> Database Driver Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Session Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Helper loaded: string_helper
DEBUG - 2009-09-12 18:45:42 --> Encrypt Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Session routines successfully run
DEBUG - 2009-09-12 18:45:42 --> Email Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Validation Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Model Class Initialized
DEBUG - 2009-09-12 18:45:42 --> Controller Class Initialized
ERROR - 2009-09-12 18:45:42 --> Severity: Warning --> session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_fd6d789fa5ca8cac4ed8d234c2b0b9df, O_RDWR) failed: No such file or directory (2) [EDITED]/application/controllers/dhr.php 35
ERROR - 2009-09-12 18:45:42 --> Severity: Warning --> session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at [EDITED]/system/libraries/Exceptions.php:164) [EDITED]/application/controllers/dhr.php 35
ERROR - 2009-09-12 18:45:42 --> Severity: Warning --> session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at [EDITED]/system/libraries/Exceptions.php:164) [EDITED]/application/controllers/dhr.php 35
DEBUG - 2009-09-12 18:45:42 --> File loaded: [EDITED]/system/../application/views/header.php
DEBUG - 2009-09-12 18:45:42 --> File loaded: [EDITED]/system/../application/views/login.php
DEBUG - 2009-09-12 18:45:42 --> File loaded: [EDITED]/system/../application/views/sidebar.php
DEBUG - 2009-09-12 18:45:42 --> File loaded: [EDITED]/system/../application/views/footer.php
DEBUG - 2009-09-12 18:45:42 --> File loaded: [EDITED]/system/../application/views/template.php
DEBUG - 2009-09-12 18:45:42 --> Final output sent to browser
DEBUG - 2009-09-12 18:45:42 --> Total execution time: 0.3755
ERROR - 2009-09-12 18:45:42 --> Severity: Warning --> Unknown: open(/var/php_sessions/sess_fd6d789fa5ca8cac4ed8d234c2b0b9df, O_RDWR) failed: No such file or directory (2) Unknown 0
ERROR - 2009-09-12 18:45:42 --> Severity: Warning --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) Unknown 0