in /html/software/typo3_src-9.5.26/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php line 71
set_error_handler(static function () {
});
try {
if (! $this->conn->real_connect($params['host'], $username, $password, $dbname, $port, $socket, $flags)) {
throw new MysqliException($this->conn->connect_error, $this->conn->sqlstate ?? 'HY000', $this->conn->connect_errno);
}
} finally {
restore_error_handler();
}
at Doctrine\DBAL\Driver\Mysqli\MysqliConnection->__construct(array('charset' => 'utf8mb4', 'dbname' => 'usr_p497909_1', 'driver' => 'mysqli', 'host' => 'db1260.mydbserver.com', 'password' => 'iIgHYTSXFwk7Ef!7KG14', 'port' => 3306, 'tableoptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'user' => 'p497909d1', 'wrapperClass' => 'TYPO3\\CMS\\Core\\Database\\Connection'), 'p497909d1', 'iIgHYTSXFwk7Ef!7KG14', array())
in /html/software/typo3_src-9.5.26/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php line 16
*/
public function connect(array $params, $username = null, $password = null, array $driverOptions = [])
{
try {
return new MysqliConnection($params, (string) $username, (string) $password, $driverOptions);
} catch (MysqliException $e) {
throw DBALException::driverException($this, $e);
}
}
at Doctrine\DBAL\Driver\Mysqli\Driver->connect(array('charset' => 'utf8mb4', 'dbname' => 'usr_p497909_1', 'driver' => 'mysqli', 'host' => 'db1260.mydbserver.com', 'password' => 'iIgHYTSXFwk7Ef!7KG14', 'port' => 3306, 'tableoptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'user' => 'p497909d1', 'wrapperClass' => 'TYPO3\\CMS\\Core\\Database\\Connection'), 'p497909d1', 'iIgHYTSXFwk7Ef!7KG14', array())
in /html/software/typo3_src-9.5.26/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 362
$driverOptions = $this->params['driverOptions'] ?? [];
$user = $this->params['user'] ?? null;
$password = $this->params['password'] ?? null;
$this->_conn = $this->_driver->connect($this->params, $user, $password, $driverOptions);
$this->isConnected = true;
$this->transactionNestingLevel = 0;
at Doctrine\DBAL\Connection->connect()
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Database/Connection.php line 93
*/
public function connect(): bool
{
// Early return if the connection is already open and custom setup has been done.
if (!parent::connect()) {
return false;
}
foreach ($this->prepareConnectionCommands as $command) {
at TYPO3\CMS\Core\Database\Connection->connect()
in /html/software/typo3_src-9.5.26/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 71
// Set up the database connection and see if the connection can be established
try {
$connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('pages');
$connection->connect();
} catch (ConnectionException | \RuntimeException $exception) {
$message = 'Cannot connect to the configured database';
$this->logger->emergency($message, ['exception' => $exception]);
try {
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 50
{
$eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
if ($eID === null) {
return $handler->handle($request);
}
// Remove any output produced until now
ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php line 57
$hookParameters = [];
GeneralUtility::callUserFunction($hookFunction, $hookParameters, $hookParameters);
}
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 58
// refactored to have ServerRequest object available where it is needed. This global will be
// deprecated then and removed.
$GLOBALS['TYPO3_REQUEST'] = $request;
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 49
);
$timeTracker->start();
$timeTracker->push('');
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0xf7f54056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 67
* @return ResponseInterface
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
return $this->tip->handle($request);
}
/**
* Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/AbstractApplication.php line 108
{
$requestHandler = GeneralUtility::makeInstance($this->requestHandler);
$dispatcher = $this->createMiddlewareDispatcher($requestHandler);
return $dispatcher->handle($request);
}
/**
* Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/frontend/Classes/Http/Application.php line 69
if (!$this->checkIfEssentialConfigurationExists()) {
return $this->installToolRedirect();
}
$this->initializeContext();
return parent::handle($request);
}
/**
* Check if LocalConfiguration.php and PackageStates.php exist
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/software/typo3_src-9.5.26/typo3/sysext/core/Classes/Http/AbstractApplication.php line 120
final public function run(callable $execute = null)
{
try {
$response = $this->handle(
\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals()
);
if ($execute !== null) {
call_user_func($execute);
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /html/software/typo3_src-9.5.26/index.php line 24
// Set up the application for the frontend
call_user_func(function () {
$classLoader = require __DIR__.'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /html/software/typo3_src-9.5.26/index.php line 25
call_user_func(function () {
$classLoader = require __DIR__.'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});