/var
/www
/e012
/src
/fueg
/Ordering.php
$MI = new MC_MoebelInitializer('from_nav', $_REQUEST, $MDU);
$MI->buildAktKonfig();
$MI->buildFromNav();
}
if (MC_SessionRegistry::getInstance()->aktMoebelUId) {
// $_REQUEST['moebel_uid'] = MC_SessionRegistry::getInstance()->aktMoebelUId;
}
ob_start();
include 'mc/html/konfigurator/moebel/step1.php';
MC_MasterCart::getInstance()->pushToSessionCart();
return $this->app['twig']->render('konfigurator/tisch.twig', [
'content' => ob_get_clean(),
]);
default:
$class = 'MTEngine_Configurator_' . $article;
$eng = new $class($this->app);
return $this->app['twig']->render('konfigurator/tisch.twig', [
'content' => $eng->__toString(),
]);
}
// } catch (RedirectException $ex) {
// $response = $this->app->redirect($ex->getMessage(), $ex->getCode());
// $this->app->terminate($request, $response);
// return $response;
// }
}
public function articleConverter($article)
{
switch ($article) {
case 'tv-board':
$article = TVBOARD;
break;
}
Arguments
"Class 'MTEngine_Configurator_Bettsystem' not found"
/var
/www
/e012
/vendor
/symfony
/http-kernel
/HttpKernel.php
// load controller
if (false === $controller = $this->resolver->getController($request)) {
throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo()));
}
$event = new FilterControllerEvent($this, $controller, $request, $type);
$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
// controller arguments
$arguments = $this->argumentResolver->getArguments($request, $controller);
$event = new FilterControllerArgumentsEvent($this, $controller, $arguments, $request, $type);
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = \call_user_func_array($controller, $arguments);
// view
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
if ($event->hasResponse()) {
$response = $event->getResponse();
}
if (!$response instanceof Response) {
$msg = sprintf('The controller must return a response (%s given).', $this->varToString($response));
// the user may have forgotten to return something
if (null === $response) {
$msg .= ' Did you forget to add a return statement somewhere in your controller?';
}
throw new \LogicException($msg);
}
}
Arguments
Request {#712
+attributes: ParameterBag {#715}
+request: ParameterBag {#713}
+query: ParameterBag {#714}
+server: ServerBag {#718}
+files: FileBag {#717}
+cookies: ParameterBag {#716}
+headers: HeaderBag {#719}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/konfigurator/bettsystem/"
#requestUri: "/konfigurator/bettsystem/?phpsess=kdb1ai31bdav30474enfhq3to5"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Session {#675}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
"Bettsystem"
/var
/www
/e012
/vendor
/symfony
/http-kernel
/HttpKernel.php
$this->resolver = $resolver;
$this->requestStack = $requestStack ?: new RequestStack();
$this->argumentResolver = $argumentResolver;
if (null === $this->argumentResolver) {
@trigger_error(sprintf('As of 3.1 an %s is used to resolve arguments. In 4.0 the $argumentResolver becomes the %s if no other is provided instead of using the $resolver argument.', ArgumentResolverInterface::class, ArgumentResolver::class), E_USER_DEPRECATED);
// fallback in case of deprecations
$this->argumentResolver = $resolver;
}
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->finishRequest($request, $type);
throw $e;
}
return $this->handleException($e, $request, $type);
}
}
/**
* {@inheritdoc}
*/
public function terminate(Request $request, Response $response)
{
$this->dispatcher->dispatch(KernelEvents::TERMINATE, new PostResponseEvent($this, $request, $response));
Arguments
Request {#712
+attributes: ParameterBag {#715}
+request: ParameterBag {#713}
+query: ParameterBag {#714}
+server: ServerBag {#718}
+files: FileBag {#717}
+cookies: ParameterBag {#716}
+headers: HeaderBag {#719}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/konfigurator/bettsystem/"
#requestUri: "/konfigurator/bettsystem/?phpsess=kdb1ai31bdav30474enfhq3to5"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Session {#675}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
1
/var
/www
/e012
/vendor
/silex
/silex
/src
/Silex
/Application.php
$response = $this->handle($request);
$response->send();
$this->terminate($request, $response);
}
/**
* {@inheritdoc}
*
* If you call this method directly instead of run(), you must call the
* terminate() method yourself if you want the finish filters to be run.
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
if (!$this->booted) {
$this->boot();
}
$this->flush();
return $this['kernel']->handle($request, $type, $catch);
}
/**
* {@inheritdoc}
*/
public function terminate(Request $request, Response $response)
{
$this['kernel']->terminate($request, $response);
}
}
Arguments
Request {#712
+attributes: ParameterBag {#715}
+request: ParameterBag {#713}
+query: ParameterBag {#714}
+server: ServerBag {#718}
+files: FileBag {#717}
+cookies: ParameterBag {#716}
+headers: HeaderBag {#719}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/konfigurator/bettsystem/"
#requestUri: "/konfigurator/bettsystem/?phpsess=kdb1ai31bdav30474enfhq3to5"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Session {#675}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
1
true
/var
/www
/e012
/vendor
/silex
/silex
/src
/Silex
/Application.php
throw new \LogicException('The "mount" method takes either a "ControllerCollection" instance, "ControllerProviderInterface" instance, or a callable.');
}
$this['controllers']->mount($prefix, $controllers);
return $this;
}
/**
* Handles the request and delivers the response.
*
* @param Request|null $request Request to process
*/
public function run(Request $request = null)
{
if (null === $request) {
$request = Request::createFromGlobals();
}
$response = $this->handle($request);
$response->send();
$this->terminate($request, $response);
}
/**
* {@inheritdoc}
*
* If you call this method directly instead of run(), you must call the
* terminate() method yourself if you want the finish filters to be run.
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
if (!$this->booted) {
$this->boot();
}
$this->flush();
return $this['kernel']->handle($request, $type, $catch);
}
Arguments
Request {#712
+attributes: ParameterBag {#715}
+request: ParameterBag {#713}
+query: ParameterBag {#714}
+server: ServerBag {#718}
+files: FileBag {#717}
+cookies: ParameterBag {#716}
+headers: HeaderBag {#719}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/konfigurator/bettsystem/"
#requestUri: "/konfigurator/bettsystem/?phpsess=kdb1ai31bdav30474enfhq3to5"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Session {#675}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/var
/www
/e012
/web
/index_dev.php
<?php
use Symfony\Component\Debug\Debug;
require_once __DIR__ . '/../vendor/autoload.php';
$app = require __DIR__ . '/../src/app.php';
require_once __DIR__ . '/../cfg.inc.php';
require_once __DIR__ . '/../src/cfg.ini.php';
Debug::enable(E_ALL, true);
require __DIR__ . '/../config/dev.php';
require __DIR__ . '/../src/controllers.php';
$app->run();
/var
/www
/e012
/web
/index.php
<?php
require_once __DIR__ . '/index_dev.php';
Arguments
"/var/www/e012/web/index_dev.php"