Fatal error

Can't create session file

Throw in session.php on line 34

				    private function createSession()
    {
        
$data = array('IP' => $_SERVER['REMOTE_ADDR']);

        if(!
file_put_contents($this -> fileserialize($data)))
                throw new 
Error('Can\'t create session file');

        return 
$data;
    }


 

Trace:

Throw session::createSession() in session.php on line 15

    {
        
$this -> file CFG::get('tempDir') . '/session/' md5($_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT']);

        
$this -> data $this -> getSession();

        if(
$this -> data === false$this -> data $this -> createSession();
    }


    private function 
getSession()
    {
 

Throw session::__construct() in coreSingleton.php on line 57

    public function __get($name)
    {
        if(
$name[0] >= 'A' && $name[0] <= 'Z') return $this['orm'] -> $name;
        else if(
array_key_exists($nameself::$objects)) return self::$objects[$name];
        
/** @var {$name} $name */
        
else return (self::$objects[$name] = new $name());
    }



    
/**
 

Throw coreSingleton::__get() in translate.php on line 38

    
    
    
    
    
public function getTranslateContent($table$data) {
        if(!
$this->session->lang || $this->session->lang == $this->defaultLang)
            return 
$data;
        die(
'asd');
        
$trans $this->getTranslate($table$data);
        
        if(isset(
$data[0]) && is_array($data[0])) {
 

Throw translate::getTranslateContent() in baseController.php on line 58

    }


    public function 
init() {
        
$data $this->site->getTopMenuChild();
        
$data $this->translate->getTranslateContent('portal_sites'$data);
                
                
$lastnews $this->note->getLastNotesLimit();
                
$this->tpl->add('LastNews'$lastnews['list']);
                
$lastrealizations $this->realization->getLastRealizationsLimit();
                
$this->tpl->add('Realizations'$lastrealizations['list']);
 

Throw baseController::init() in baseController.php on line 27

        /*if(($this->mobile->isMobile() && !$this->mobile->isTablet()) && !$_COOKIE['mobile']) {
            $this->tpl->prefix = 'm.';
            $this->mobileInit();
        }*/
        
        
$this->init();
    
        
        
$css scandir('css/animation');
        unset(
$css[0], $css[1]);
        
 

Throw baseController::preloadAction() in coreController.php on line 219

        $ctrl = new $mod();
        
$cfg $ctrl['tpl'] -> buildMeta($ctrl);

        if(
method_exists($ctrl$pre))
        {
            if((
$resp $ctrl -> $pre()) != null)
            {
                if(
self::$useLayout === false || $this->layoutRender == false) return $resp;
                else
                {
                    
$layout = isset($cfg['layout']) ? $cfg['layout'] : $this -> module;
 

Throw coreController::execute() in coreController.php on line 313

            $this -> module $settings['module'];
            
$this -> action $settings['action'];
            
$_GET $settings['param'];
        }

        
$data $this -> execute();

        if(
$this -> cfg -> pageAutoCache$this['cache'] -> set($_SERVER['REQUEST_URI'], $data);

        
$this -> saveStage();

 

Throw coreController::run() in index.php on line 11

else $autoload = array('module' => 'front''action' => 'blocked');
$autoload false;
require_once 
'bootstrap.php';

$kernel = new bootstrap();
$source $kernel -> run($autoload);

http::sendHeader();
echo 
$source;


 
DEBUG
Query Time (sec)
SET lc_time_names = "pl_PL" 0.0001
UPDATE portal_sites SET visible = 1 WHERE timein > 0 AND timein < 1786640470 0.0003
UPDATE portal_sites SET visible = 0 WHERE timeout > 1786640470 0.0002
SELECT s.*, m.module FROM portal_sites s LEFT JOIN portal_sites_modules m ON m.site_id = s.id ORDER BY s.pos 0.0016
4 queries 0.0022
GET POST COOKIE
Array
(
)
Array
(
)
Array
(
)
Loaded Objects