Błąd PHP

file_get_contents(/home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/media/files/volunteersimg8974.JPG): failed to open stream: No such file or directory
Błąd w pliku /home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/Application/Front/Components/Publications/Controller/DefaultController.php, w linii 162. Error Level 2.

Wystąpienie błędu

            return $this->render('::E404', array('success' => $this->language('publications_iCantFindFile')));
        }
        else
        {
            $this->get('response.header')
                ->header('Content-Type', 'application/octet-stream')
                ->header('Content-Disposition', 'attachment; filename="'.$file[0]['real_name'].'"');
            return $this->response(file_get_contents(BASEPATH.BASEPATH.$this->cConfig('volunteers.files').$file[0]['file']));
        }
    }
}

Backtrace

# Method File Line
7 System\Handler\PHPError\PHPErrorHandler->showError()
6 file_get_contents() /home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/Application/Front/Components/Publications/Controller/DefaultController.php 162
5 Application\Front\Components\Publications\Controller\DefaultController->downloadFileAction()
4 call_user_func_array() /home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/System/Framework/Application.php 216
3 System\Framework\Application->runApplication() /home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/System/HTTP/Response/ResponseManager.php 102
2 System\HTTP\Response\ResponseManager->validResponseClass() /home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/System/Framework/Kernel.php 177
1 System\Framework\Kernel->run() /home/fundacja/domains/fundacjaport.fundacjaport.kylos.pl/public_html/index.php 93

trigoCMS! v.1.4.0 | Media Essence | Copyright © 2012 - 2024
28.03.2024 14:26:04