Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Http/Response.php , line 1875 ]Code Context }
$checks = compact ( 'etagMatches' , 'timeMatches' );
if (empty( $checks )) {
$request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [[maximum depth reached]],
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'files/PressReleases/file_eng/ELI_press_release_2015_01_27_fastlite.pdf'
base => ''
webroot => '/'
here => '/files/PressReleases/file_eng/ELI_press_release_2015_01_27_fastlite.pdf'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'eli.pro-developers.hu',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_IF_MODIFIED_SINCE' => 'Tue, 03 Oct 2023 17:42:17 GMT',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'eli.pro-developers.hu',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '173.249.11.247',
'REMOTE_PORT' => '44240',
'REMOTE_ADDR' => '34.239.150.167',
'SERVER_SOFTWARE' => 'nginx/1.14.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/var/www/eli.pro-developers.hu/html',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/files/PressReleases/file_eng/ELI_press_release_2015_01_27_fastlite.pdf',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/var/www/eli.pro-developers.hu/html/index.php',
'PATH_INFO' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1728166342.7077,
'REQUEST_TIME' => (int) 1728166342,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = 'Tue, 03 Oct 2023 17:42:17 GMT'
$responseTag = null
$timeMatches = false compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1875
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 333
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 416
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 393
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 110
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 610
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 325
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 200
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 113
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 97
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16 Warning (512) : Unable to emit headers. Headers sent in file=/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Error/Debugger.php line=850 [CORE/src/Http/ResponseEmitter.php , line 48 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$maxBufferLength = (int) 8192
$file = '/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 850
$message = 'Unable to emit headers. Headers sent in file=/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Error/Debugger.php line=850' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php , line 148 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'Internal Server Error' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php , line 177 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16
Error: SQLSTATE[HY000] [1045] Access denied for user 'eli'@'localhost' (using password: YES)
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Driver/PDODriverTrait.php
toggle arguments
$connection = new PDO (
$dsn ,
$config [ 'username' ],
$config [ 'password' ],
$config [ 'flags' ]
);
$this -> connection ( $connection );
return true ;
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Driver/Mysql.php
toggle arguments
} else {
$dsn = "mysql:unix_socket= { $config [ 'unix_socket' ]} ;dbname= { $config [ 'database' ]} " ;
}
$this -> _connect ( $dsn , $config );
if (!empty( $config [ 'init' ])) {
$connection = $this -> connection ();
foreach ((array) $config [ 'init' ] as $command ) {
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Schema/BaseSchema.php
toggle arguments
* @ param \ Cake \ Database \ Driver $driver The driver to use.
*/
public function __construct ( Driver $driver )
{
$driver -> connect ();
$this -> _driver = $driver ;
}
/**
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Dialect/MysqlDialectTrait.php
toggle arguments
*/
public function schemaDialect ()
{
if (! $this -> _schemaDialect ) {
$this -> _schemaDialect = new MysqlSchema ( $this );
}
return $this -> _schemaDialect ;
}
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Schema/Collection.php
toggle arguments
*/
public function __construct ( Connection $connection )
{
$this -> _connection = $connection ;
$this -> _dialect = $connection -> getDriver ()-> schemaDialect ();
}
/**
* Get the list of tables available in the current connection .
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php
toggle arguments
* @ param string | bool $cacheKey The cache key or boolean false to disable caching .
*/
public function __construct ( ConnectionInterface $connection , $cacheKey = true )
{
parent :: __construct ( $connection );
$this -> setCacheMetadata ( $cacheKey );
}
/**
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Database/Connection.php
toggle arguments
return $this -> _schemaCollection ;
}
if (!empty( $this -> _config [ 'cacheMetadata' ])) {
return $this -> _schemaCollection = new CachedCollection ( $this , $this -> _config [ 'cacheMetadata' ]);
}
return $this -> _schemaCollection = new SchemaCollection ( $this );
}
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
{
if ( $this -> _schema === null ) {
$this -> _schema = $this -> _initializeSchema (
$this -> getConnection ()
-> getSchemaCollection ()
-> describe ( $this -> getTable ())
);
}
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/ORM/Query.php
toggle arguments
*/
public function addDefaultTypes ( Table $table )
{
$alias = $table -> getAlias ();
$map = $table -> getSchema ()-> typeMap ();
$fields = [];
foreach ( $map as $f => $type ) {
$fields [ $f ] = $fields [ $alias . '.' . $f ] = $fields [ $alias . '__' . $f ] = $type ;
}
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/ORM/Query.php
toggle arguments
parent :: __construct ( $connection );
$this -> repository ( $table );
if ( $this -> _repository ) {
$this -> addDefaultTypes ( $this -> _repository );
}
}
/**
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
* {@ inheritDoc }
*/
public function query ()
{
return new Query ( $this -> getConnection (), $this );
}
/**
* {@ inheritDoc }
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
* @return \ Cake \ ORM \ Query The query builder
*/
public function find ( $type = 'all' , $options = [])
{
$query = $this -> query ();
$query -> select ();
return $this -> callFinder ( $type , $query , $options );
}
/var/www/eli.pro-developers.hu/html/config/routes.php
toggle arguments
);
$navigations = TableRegistry :: get ( 'Navigations' );
$navs = $navigations
-> find ( 'all' )
-> where ([
'editable' => false
]);
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Routing/RouteBuilder.php
toggle arguments
'extensions' => $this -> _extensions ,
'namePrefix' => $namePrefix ,
'middleware' => $this -> middleware ,
]);
$callback ( $builder );
}
/**
* Connect the ` /:controller ` and ` /:controller/:action/* ` fallback routes .
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Routing/Router.php
toggle arguments
$options = $params ;
unset( $params [ 'routeClass' ], $params [ 'extensions' ]);
}
$builder = static:: createRouteBuilder ( '/' , $options );
$builder -> scope ( $path , $params , $callback );
}
/**
* Create prefixed routes .
/var/www/eli.pro-developers.hu/html/config/routes.php
toggle arguments
* You can remove these routes once you 've connected the
* routes you want in your application .
*/
$routes -> fallbacks ( InflectedRoute ::class);
});
Router :: prefix ( 'admin' , function ( $routes ) {
// All routes here will be prefixed with `/admin`
// And have the prefix => admin route element added.
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Http/BaseApplication.php
toggle arguments
* @return void
*/
public function routes ( $routes )
{
require $this -> configDir . '/routes.php' ;
}
/**
* Define the console commands for an application .
'/var/www/eli.pro-developers.hu/html/config/routes.php'
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php
toggle arguments
protected function loadRoutes ()
{
if ( $this -> app && ! Router :: $initialized ) {
$builder = Router :: createRouteBuilder ( '/' );
$this -> app -> routes ( $builder );
// Prevent routes from being loaded again
Router :: $initialized = true ;
}
}
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php
toggle arguments
* @return \ Psr \ Http \ Message \ ResponseInterface A response .
*/
public function __invoke ( ServerRequestInterface $request , ResponseInterface $response , $next )
{
$this -> loadRoutes ();
try {
Router :: setRequestContext ( $request );
$params = (array) $request -> getAttribute ( 'params' , []);
$middleware = [];
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php
toggle arguments
}
$assetFile = $this -> _getAssetFile ( $url );
if ( $assetFile === null || ! file_exists ( $assetFile )) {
return $next ( $request , $response );
}
$file = new File ( $assetFile );
$modifiedTime = $file -> lastChange ();
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php
toggle arguments
*/
public function __invoke ( $request , $response , $next )
{
try {
return $next ( $request , $response );
} catch ( Exception $e ) {
return $this -> handleException ( $e , $request , $response );
}
}
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
{
$this -> middleware = $middleware ;
$this -> index = 0 ;
return $this -> __invoke ( $request , $response );
}
/**
* @ param \ Psr \ Http \ Message \ ServerRequestInterface $request The server request
/var/www/eli.pro-developers.hu/html/vendor/cakephp/cakephp/src/Http/Server.php
toggle arguments
throw new RuntimeException ( 'The application `middleware` method did not return a middleware queue.' );
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$middleware -> add ( $this -> app );
$response = $this -> runner -> run ( $middleware , $request , $response );
if (!( $response instanceof ResponseInterface )) {
throw new RuntimeException ( sprintf (
'Application did not create a response. Got "%s" instead.' ,
/var/www/eli.pro-developers.hu/html/webroot/index.php
toggle arguments
// Bind your application to the server.
$server = new Server (new Application ( dirname ( __DIR__ ) . '/config' ));
// Run the request/response through the application and emit the response.
$server -> emit ( $server -> run ());
/var/www/eli.pro-developers.hu/html/index.php
toggle arguments
* @ since 0.10.0
* @ license https : //opensource.org/licenses/mit-license.php MIT License
*/
require 'webroot' . DIRECTORY_SEPARATOR . 'index.php' ;
'/var/www/eli.pro-developers.hu/html/webroot/index.php'
If you want to customize this error message, create
src/Template/Error/error500.ctp
toggle vendor stack frames
〉 PDO->__construct
CORE/src/Database/Driver/PDODriverTrait.php, line 47
〉 Cake\Database\Driver\Mysql->_connect
CORE/src/Database/Driver/Mysql.php, line 104
〉 Cake\Database\Driver\Mysql->connect
CORE/src/Database/Schema/BaseSchema.php, line 45
〉 Cake\Database\Schema\BaseSchema->__construct
CORE/src/Database/Dialect/MysqlDialectTrait.php, line 63
〉 Cake\Database\Driver\Mysql->schemaDialect
CORE/src/Database/Schema/Collection.php, line 52
〉 Cake\Database\Schema\Collection->__construct
CORE/src/Database/Schema/CachedCollection.php, line 42
〉 Cake\Database\Schema\CachedCollection->__construct
CORE/src/Database/Connection.php, line 368
〉 Cake\Database\Connection->getSchemaCollection
CORE/src/ORM/Table.php, line 531
〉 Cake\ORM\Table->getSchema
CORE/src/ORM/Query.php, line 211
〉 Cake\ORM\Query->addDefaultTypes
CORE/src/ORM/Query.php, line 168
〉 Cake\ORM\Query->__construct
CORE/src/ORM/Table.php, line 1578
〉 Cake\ORM\Table->query
CORE/src/ORM/Table.php, line 1178
〉 Cake\ORM\Table->find
ROOT/config/routes.php, line 120
〉 Cake\Http\BaseApplication->{closure}
CORE/src/Routing/RouteBuilder.php, line 948
〉 Cake\Routing\RouteBuilder->scope
CORE/src/Routing/Router.php, line 984
〉 Cake\Routing\Router::scope
ROOT/config/routes.php, line 151
〉 require
CORE/src/Http/BaseApplication.php, line 72
〉 Cake\Http\BaseApplication->routes
CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62
〉 Cake\Routing\Middleware\RoutingMiddleware->loadRoutes
CORE/src/Routing/Middleware/RoutingMiddleware.php, line 81
〉 Cake\Routing\Middleware\RoutingMiddleware->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Routing/Middleware/AssetMiddleware.php, line 97
〉 Cake\Routing\Middleware\AssetMiddleware->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 95
〉 Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Http/Runner.php, line 51
〉 Cake\Http\Runner->run
CORE/src/Http/Server.php, line 81
〉 Cake\Http\Server->run
ROOT/webroot/index.php, line 40
〉 require
ROOT/index.php, line 16