42. ErrorException
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Connections/­AbstractConnection.php308
41. Illuminate\View\Engines\CompilerEngine handleViewException
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Engines/­PhpEngine.php41
40. Elasticsearch\Common\Exceptions\Curl\CouldNotConnectToHost
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Connections/­AbstractConnection.php308
39. Elasticsearch\Connections\AbstractConnection throwCurlException
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Connections/­GuzzleConnection.php308
38. Elasticsearch\Connections\GuzzleConnection processCurlError
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Connections/­GuzzleConnection.php197
37. Elasticsearch\Connections\GuzzleConnection sendRequest
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Connections/­GuzzleConnection.php104
36. Elasticsearch\Connections\GuzzleConnection performRequest
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Transport.php166
35. Elasticsearch\Transport performRequest
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Endpoints/­AbstractEndpoint.php86
34. Elasticsearch\Endpoints\AbstractEndpoint performRequest
…/­vendor/­elasticsearch/­elasticsearch/­src/­Elasticsearch/­Client.php177
33. Elasticsearch\Client get
…/­vendor/­mmanos/­laravel-search/­src/­Mmanos/­Search/­Index/­Elasticsearch.php225
32. Mmanos\Search\Index\Elasticsearch delete
…/­vendor/­mmanos/­laravel-search/­src/­Mmanos/­Search/­Index/­Elasticsearch.php197
31. Mmanos\Search\Index\Elasticsearch insert
<#unknown>0
30. call_user_func_array
…/­vendor/­mmanos/­laravel-search/­src/­Mmanos/­Search/­Search.php68
29. Mmanos\Search\Search __call
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php211
28. Mmanos\Search\Search insert
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php211
27. Illuminate\Support\Facades\Facade __callStatic
……/­models/­Post.php122
26. Mmanos\Search\Facade insert
……/­models/­Post.php122
25. Post addIndex
……/­models/­Post.php84
24. Post {closure}
<#unknown>0
23. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Events/­Dispatcher.php199
22. Illuminate\Events\Dispatcher fire
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php1632
21. Illuminate\Database\Eloquent\Model fireModelEvent
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php1472
20. Illuminate\Database\Eloquent\Model finishSave
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php1459
19. Illuminate\Database\Eloquent\Model save
……/­models/­Post.php616
18. Post getMetaDescription
……/­storage/­views/­87d7c287d0bb9aea21ea2735ca39dca82
17. include
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Engines/­PhpEngine.php37
16. Illuminate\View\Engines\PhpEngine evaluatePath
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Engines/­CompilerEngine.php56
15. Illuminate\View\Engines\CompilerEngine get
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­View.php134
14. Illuminate\View\View getContents
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­View.php102
13. Illuminate\View\View renderContents
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­View.php76
12. Illuminate\View\View render
…/­vendor/­laravel/­framework/­src/­Illuminate/­Http/­Response.php43
11. Illuminate\Http\Response setContent
…/­vendor/­symfony/­http-foundation/­Symfony/­Component/­HttpFoundation/­Response.php202
10. Symfony\Component\HttpFoundation\Response __construct
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1501
9. Illuminate\Routing\Router prepareResponse
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1036
8. Illuminate\Routing\Router dispatchToRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1001
7. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php775
6. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php745
5. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
0. Illuminate\Foundation\Application run
…/­public/­index.php50

ErrorException (E_UNKNOWN) ErrorException thrown with message "Failed to connect to greenx-home.duckdns.org port 40130: Host is unreachable (View: /app/public/themes/appdigg/views/posts/view.blade.php)" Stacktrace: #42 ErrorException in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/AbstractConnection.php:308 #41 Illuminate\View\Engines\CompilerEngine:handleViewException in /app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:41 #40 Elasticsearch\Common\Exceptions\Curl\CouldNotConnectToHost in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/AbstractConnection.php:308 #39 Elasticsearch\Connections\AbstractConnection:throwCurlException in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php:308 #38 Elasticsearch\Connections\GuzzleConnection:processCurlError in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php:197 #37 Elasticsearch\Connections\GuzzleConnection:sendRequest in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php:104 #36 Elasticsearch\Connections\GuzzleConnection:performRequest in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php:166 #35 Elasticsearch\Transport:performRequest in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/AbstractEndpoint.php:86 #34 Elasticsearch\Endpoints\AbstractEndpoint:performRequest in /app/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:177 #33 Elasticsearch\Client:get in /app/vendor/mmanos/laravel-search/src/Mmanos/Search/Index/Elasticsearch.php:225 #32 Mmanos\Search\Index\Elasticsearch:delete in /app/vendor/mmanos/laravel-search/src/Mmanos/Search/Index/Elasticsearch.php:197 #31 Mmanos\Search\Index\Elasticsearch:insert in <#unknown>:0 #30 call_user_func_array in /app/vendor/mmanos/laravel-search/src/Mmanos/Search/Search.php:68 #29 Mmanos\Search\Search:__call in /app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:211 #28 Mmanos\Search\Search:insert in /app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:211 #27 Illuminate\Support\Facades\Facade:__callStatic in /app/app/models/Post.php:122 #26 Mmanos\Search\Facade:insert in /app/app/models/Post.php:122 #25 Post:addIndex in /app/app/models/Post.php:84 #24 Post:{closure} in <#unknown>:0 #23 call_user_func_array in /app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:199 #22 Illuminate\Events\Dispatcher:fire in /app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1632 #21 Illuminate\Database\Eloquent\Model:fireModelEvent in /app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1472 #20 Illuminate\Database\Eloquent\Model:finishSave in /app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1459 #19 Illuminate\Database\Eloquent\Model:save in /app/app/models/Post.php:616 #18 Post:getMetaDescription in /app/app/storage/views/87d7c287d0bb9aea21ea2735ca39dca8:2 #17 include in /app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:37 #16 Illuminate\View\Engines\PhpEngine:evaluatePath in /app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:56 #15 Illuminate\View\Engines\CompilerEngine:get in /app/vendor/laravel/framework/src/Illuminate/View/View.php:134 #14 Illuminate\View\View:getContents in /app/vendor/laravel/framework/src/Illuminate/View/View.php:102 #13 Illuminate\View\View:renderContents in /app/vendor/laravel/framework/src/Illuminate/View/View.php:76 #12 Illuminate\View\View:render in /app/vendor/laravel/framework/src/Illuminate/Http/Response.php:43 #11 Illuminate\Http\Response:setContent in /app/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php:202 #10 Symfony\Component\HttpFoundation\Response:__construct in /app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1501 #9 Illuminate\Routing\Router:prepareResponse in /app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1036 #8 Illuminate\Routing\Router:dispatchToRoute in /app/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001 #7 Illuminate\Routing\Router:dispatch in /app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775 #6 Illuminate\Foundation\Application:dispatch in /app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745 #5 Illuminate\Foundation\Application:handle in /app/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #4 Illuminate\Session\Middleware:handle in /app/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #3 Illuminate\Cookie\Queue:handle in /app/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #2 Illuminate\Cookie\Guard:handle in /app/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #1 Stack\StackedHttpKernel:handle in /app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #0 Illuminate\Foundation\Application:run in /app/public/index.php:50

Failed to connect to greenx-home.duckdns.org port 40130: Host is unreachable (View: /app/public/themes/appdigg/views/posts/view.blade.php)

  1. */
  2. protected function throwCurlException($curlErrorNumber, $message)
  3. {
  4. switch ($curlErrorNumber) {
  5. case 6:
  6. throw new CouldNotResolveHostException($message);
  7. case 7:
  8. throw new CouldNotConnectToHost($message);
  9. case 28:
  10. throw new OperationTimeoutException($message);
  1. // an exception is thrown. This prevents any partial views from leaking.
  2. try
  3. {
  4. include $__path;
  5. }
  6. catch (\Exception $e)
  7. {
  8. $this->handleViewException($e, $obLevel);
  9. }
  1. */
  2. protected function throwCurlException($curlErrorNumber, $message)
  3. {
  4. switch ($curlErrorNumber) {
  5. case 6:
  6. throw new CouldNotResolveHostException($message);
  7. case 7:
  8. throw new CouldNotConnectToHost($message);
  9. case 28:
  10. throw new OperationTimeoutException($message);
Exception message: Failed to connect to greenx-home.duckdns.org port 40130: Host is unreachable
  1. /**
  2. * @param CurlException $exception\
  3. */
  4. private function processCurlError(CurlException $exception)
  5. {
  6. $error = 'Curl error: ' . $exception->getMessage();
  7. $this->log->error($error);
  8. $this->throwCurlException($exception->getErrorNo(), $exception->getError());
  9. }
  1. } catch (ServerErrorResponseException $exception) {
  2. $this->process5xxError($request, $exception, $body);
  3. } catch (ClientErrorResponseException $exception) {
  4. $this->process4xxError($request, $exception, $body);
  5. } catch (CurlException $exception) {
  6. $this->processCurlError($exception);
  7. } catch (\Exception $exception) {
  1. public function performRequest($method, $uri, $params = null, $body = null, $options = array())
  2. {
  3. $uri = $this->getURI($uri, $params);
  4. $options += $this->connectionOpts;
  5. $request = $this->buildGuzzleRequest($method, $uri, $body, $options);
  6. $response = $this->sendRequest($request, $body);
  7. return array(
  1. }
  2. $response = $connection->performRequest(
  3. $method,
  4. $uri,
  5. $params,
  6. $body
  7. );
  8. $connection->markAlive();
  1. try {
  2. $result = $this->transport->performRequest(
  3. $this->getMethod(),
  4. $this->getURI(),
  5. $this->params,
  6. $this->getBody()
  7. );
  8. } catch (\Exception $exception) {
  9. $code = $exception->getCode();
  1. /** @var \Elasticsearch\Endpoints\Get $endpoint */
  2. $endpoint = $endpointBuilder('Get');
  3. $endpoint->setID($id)
  4. ->setIndex($index)
  5. ->setType($type);
  6. $endpoint->setParams($params);
  7. $response = $endpoint->performRequest();
  8. return $response['data'];
  9. }
  1. public function delete($id)
  2. {
  3. try {
  4. $this->getClient()->get(array(
  5. 'index' => $this->name,
  6. 'type' => static::$default_type,
  7. 'id' => $id,
  8. ));
  9. } catch (\Elasticsearch\Common\Exceptions\Missing404Exception $e) {
  10. return false;
  1. * @param array $fields
  2. * @param array $parameters
  3. *
  4. * @return bool
  5. */
  6. public function insert($id, array $fields, array $parameters = array())
  7. {
  8. $this->delete($id);
  9. $fields['_parameters'] = base64_encode(json_encode($parameters));
<#unknown>
  1. * @param string $method
  2. * @param array $parameters
  3. *
  4. * @return mixed
  5. */
  6. public function __call($method, array $parameters)
  7. {
  8. return call_user_func_array(array($this->index(), $method), $parameters);
  9. }
  10. }
  1. case 0:
  2. return $instance->$method();
  3. case 1:
  4. return $instance->$method($args[0]);
  5. case 2:
  6. return $instance->$method($args[0], $args[1]);
  7. case 3:
  1. case 0:
  2. return $instance->$method();
  3. case 1:
  4. return $instance->$method($args[0]);
  5. case 2:
  6. return $instance->$method($args[0], $args[1]);
  7. case 3:
  1. 'source_url' => $this->source_url,
  2. 'source_date' => (string) $this->source_date ?: time(),
  3. 'status' => $this->status,
  4. 'hits' => $this->hits,
  5. 'comments_number' => $this->comments_number,
  6. 'similar' => $this->similar,
  7. 'created_at' => (string) $this->created_at,
  8. ));
  9. }
  1. 'source_url' => $this->source_url,
  2. 'source_date' => (string) $this->source_date ?: time(),
  3. 'status' => $this->status,
  4. 'hits' => $this->hits,
  5. 'comments_number' => $this->comments_number,
  6. 'similar' => $this->similar,
  7. 'created_at' => (string) $this->created_at,
  8. ));
  9. }
  1. static::creating(function ($post) {
  2. //@todo вынести в модель парсераи там проверять существования scrapy
  3. $user = Sentry::getUser() ?: \User::where('email', '=', 'greenx@mail.ru')->first()->id;
  4. $post->user_id = $user;
  5. });
  6. static::saved(function ($post) {
  7. $post->addIndex();
  8. \Cache::tags('post-list', 'sidebar')->flush();
  9. });
<#unknown>
  1. // payload to each of them so that they receive each of these arguments.
  2. if ( ! is_array($payload)) $payload = array($payload);
  3. $this->firing[] = $event;
  4. foreach ($this->getListeners($event) as $listener)
  5. {
  6. $response = call_user_func_array($listener, $payload);
  7. // If a response is returned from the listener and event halting is enabled
  1. // We will append the names of the class to the event to distinguish it from
  2. // other model events that are fired, allowing us to listen on each model
  3. // event set individually instead of catching event for all the models.
  4. $event = "eloquent.{$event}: ".get_class($this);
  5. $method = $halt ? 'until' : 'fire';
  6. return static::$dispatcher->$method($event, $this);
  7. }
  1. * Finish processing on a successful save operation.
  2. *
  3. * @param array $options
  4. * @return void
  5. */
  6. protected function finishSave(array $options)
  7. {
  8. $this->fireModelEvent('saved', false);
  9. $this->syncOriginal();
  1. // ID attribute on the model to the value of the newly inserted row's ID
  2. // which is typically an auto-increment value managed by the database.
  3. else
  4. {
  5. $saved = $this->performInsert($query, $options);
  6. }
  7. if ($saved) $this->finishSave($options);
  8. return $saved;
  1. * если пучтой то создает его
  2. * @return mixed
  3. * TODO сделать конфигурируемым по шаблону
  4. */
  5. public function getMetaDescription() {
  6. if (empty($this->meta_description)) {
  7. $this->meta_description = $this->summary;
  8. $this->save();
  9. }
  10. return $this->meta_description;
  1. <?php $__env->startSection('title'); ?><?php echo e($post->getMetaTitle()); ?><?php $__env->stopSection(); ?>
  2. <?php $__env->startSection('meta_description'); ?><?php echo e($post->getMetaDescription()); ?><?php $__env->stopSection(); ?>
  3. <?php $__env->startSection('meta_keywords'); ?><?php echo e($post->meta_keywords); ?><?php $__env->stopSection(); ?><?php $__env->startSection('sidebar'); ?><?php $viewArgs = get_defined_vars(); echo Flatten\Facades\FlattenExtend::section('sidebar', function() use ($viewArgs) { extract($viewArgs); ?>
  4. <?php echo $__env->make('pages/partials.sidebar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  5. <?php }); ?><?php $__env->stopSection(); ?><?php $__env->startSection('content'); ?>
  6. <?php echo $__env->make('posts/partials.details', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  7. <?php $__env->stopSection(); ?>
  8. <?php echo $__env->make('layouts.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  1. extract($__data);
  2. // We'll evaluate the contents of the view inside a try/catch block so we can
  3. // flush out any stray output that might get out before an error occurs or
  4. // an exception is thrown. This prevents any partial views from leaking.
  5. try
  6. {
  7. include $__path;
  8. }
  9. catch (\Exception $e)
  1. }
  2. $compiled = $this->compiler->getCompiledPath($path);
  3. // Once we have the path to the compiled file, we will evaluate the paths with
  4. // typical PHP just like any other templates. We also keep a stack of views
  5. // which have been rendered for right exception messages to be generated.
  6. $results = $this->evaluatePath($compiled, $data);
  7. array_pop($this->lastCompiled);
  1. /**
  2. * Get the evaluated contents of the view.
  3. *
  4. * @return string
  5. */
  6. protected function getContents()
  7. {
  8. return $this->engine->get($this->path, $this->gatherData());
  9. }
  1. // We will keep track of the amount of views being rendered so we can flush
  2. // the section after the complete rendering operation is done. This will
  3. // clear out the sections for any separate views that may be rendered.
  4. $this->factory->incrementRender();
  5. $this->factory->callComposer($this);
  6. $contents = $this->getContents();
  7. // Once we've finished rendering the view, we'll decrement the render count
  1. * Get the string contents of the view.
  2. *
  3. * @param \Closure $callback
  4. * @return string
  5. */
  6. public function render(Closure $callback = null)
  7. {
  8. $contents = $this->renderContents();
  9. $response = isset($callback) ? $callback($this, $contents) : null;
  1. }
  2. // If this content implements the "RenderableInterface", then we will call the
  3. // render method on the object so we will avoid any "__toString" exceptions
  4. // that might be thrown and have their errors obscured by PHP's handling.
  5. elseif ($content instanceof RenderableInterface)
  6. {
  7. $content = $content->render();
  8. }
  1. * @throws \InvalidArgumentException When the HTTP status code is not valid
  2. *
  3. * @api
  4. */
  5. public function __construct($content = '', $status = 200, $headers = array())
  6. {
  7. $this->headers = new ResponseHeaderBag($headers);
  8. $this->setContent($content);
  9. $this->setStatusCode($status);
  10. $this->setProtocolVersion('1.0');
  1. * @param mixed $response
  2. * @return \Illuminate\Http\Response
  3. */
  4. protected function prepareResponse($request, $response)
  5. {
  6. if ( ! $response instanceof SymfonyResponse)
  7. {
  8. $response = new Response($response);
  9. }
  1. $response = $this->callRouteBefore($route, $request);
  2. if (is_null($response))
  3. {
  4. $response = $route->run($request);
  5. }
  6. $response = $this->prepareResponse($request, $response);
  7. // After we have a prepared response from the route or filter we will call to
  1. // If no response was returned from the before filter, we will call the proper
  2. // route instance to get the response. If no route is found a response will
  3. // still get returned based on why no routes were found for this request.
  4. $response = $this->callFilter('before', $request);
  5. if (is_null($response))
  6. {
  7. $response = $this->dispatchToRoute($request);
  8. }
  1. }
  2. if ($this->runningUnitTests() && ! $this['session']->isStarted())
  3. {
  4. $this['session']->start();
  5. }
  6. return $this['router']->dispatch($this->prepareRequest($request));
  7. }
  1. {
  2. try
  3. {
  4. $this->refreshRequest($request = Request::createFromBase($request));
  5. $this->boot();
  6. return $this->dispatch($request);
  7. }
  8. catch (\Exception $e)
  1. if ($this->sessionConfigured())
  2. {
  3. $session = $this->startSession($request);
  4. $request->setSession($session);
  5. }
  6. $response = $this->app->handle($request, $type, $catch);
  7. // Again, if the session has been configured we will need to close out the session
  1. * @param \Symfony\Component\HttpFoundation\Request $request
  2. * @param int $type
  3. * @param bool $catch
  4. * @return \Symfony\Component\HttpFoundation\Response
  5. */
  6. public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
  7. {
  8. $response = $this->app->handle($request, $type, $catch);
  9. foreach ($this->cookies->getQueuedCookies() as $cookie)
  1. * @param \Symfony\Component\HttpFoundation\Request $request
  2. * @param int $type
  3. * @param bool $catch
  4. * @return \Symfony\Component\HttpFoundation\Response
  5. */
  6. public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
  7. {
  8. return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
  9. }
  1. {
  2. $this->app = $app;
  3. $this->middlewares = $middlewares;
  4. }
  5. public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
  6. {
  7. return $this->app->handle($request, $type, $catch);
  8. }
  1. * @param \Symfony\Component\HttpFoundation\Request $request
  2. * @return void
  3. */
  4. public function run(SymfonyRequest $request = null)
  5. {
  6. $request = $request ?: $this['request'];
  7. $response = with($stack = $this->getStackedClient())->handle($request);
  8. $response->send();
  1. | Once we have the application, we can simply call the run method,
  2. | which will execute the request and send the response back to
  3. | the client's browser allowing them to enjoy the creative
  4. | and wonderful application we have whipped up for them.
  5. |
  6. */
  7. $app->run();
Key Value
PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
HOSTNAME 8be057e0ceb2
PHP_INI_DIR /usr/local/etc/php
SHLVL 1
HOME /
PHP_LDFLAGS -Wl,-O1 -Wl,--hash-style=both -pie
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2
PHP_MD5
PHP_VERSION 5.6.40
GPG_KEYS 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2
PHP_ASC_URL https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror
PHP_URL https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPS autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PWD /app
PHP_SHA256 1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c
FCGI_ROLE RESPONDER
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /1426284-apple-sozdaet-ar-installyacii-i-uroki-dopolnennoi-realnosti.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /app/public
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.27.2
REMOTE_ADDR 216.73.216.189
REMOTE_PORT 50984
SERVER_ADDR 10.0.1.6
SERVER_PORT 80
SERVER_NAME
REDIRECT_STATUS 200
SCRIPT_FILENAME /app/public/index.php
PATH_INFO
HTTP_HOST appdigg.ru
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_ACCEPT_ENCODING gzip, deflate, br, zstd
HTTP_CACHE_CONTROL no-cache
HTTP_PRAGMA no-cache
HTTP_PRIORITY u=0, i
HTTP_SEC_CH_UA "Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"
HTTP_SEC_CH_UA_MOBILE ?0
HTTP_SEC_CH_UA_PLATFORM "Windows"
HTTP_SEC_FETCH_DEST document
HTTP_SEC_FETCH_MODE navigate
HTTP_SEC_FETCH_SITE none
HTTP_SEC_FETCH_USER ?1
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_X_FORWARDED_FOR 216.73.216.189
HTTP_X_FORWARDED_HOST appdigg.ru
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_SERVER 2b90dc4247b1
HTTP_X_REAL_IP 216.73.216.189
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1751890202.8315
REQUEST_TIME 1751890202
argv Array ( )
argc 0
empty
empty
empty
empty
empty
Key Value
PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
HOSTNAME 8be057e0ceb2
PHP_INI_DIR /usr/local/etc/php
SHLVL 1
HOME /
PHP_LDFLAGS -Wl,-O1 -Wl,--hash-style=both -pie
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2
PHP_MD5
PHP_VERSION 5.6.40
GPG_KEYS 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2
PHP_ASC_URL https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror
PHP_URL https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPS autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PWD /app
PHP_SHA256 1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c
FCGI_ROLE RESPONDER
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /1426284-apple-sozdaet-ar-installyacii-i-uroki-dopolnennoi-realnosti.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /app/public
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.27.2
REMOTE_ADDR 216.73.216.189
REMOTE_PORT 50984
SERVER_ADDR 10.0.1.6
SERVER_PORT 80
SERVER_NAME
REDIRECT_STATUS 200
SCRIPT_FILENAME /app/public/index.php
PATH_INFO
HTTP_HOST appdigg.ru
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_ACCEPT_ENCODING gzip, deflate, br, zstd
HTTP_CACHE_CONTROL no-cache
HTTP_PRAGMA no-cache
HTTP_PRIORITY u=0, i
HTTP_SEC_CH_UA "Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"
HTTP_SEC_CH_UA_MOBILE ?0
HTTP_SEC_CH_UA_PLATFORM "Windows"
HTTP_SEC_FETCH_DEST document
HTTP_SEC_FETCH_MODE navigate
HTTP_SEC_FETCH_SITE none
HTTP_SEC_FETCH_USER ?1
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_X_FORWARDED_FOR 216.73.216.189
HTTP_X_FORWARDED_HOST appdigg.ru
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_SERVER 2b90dc4247b1
HTTP_X_REAL_IP 216.73.216.189
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1751890202.8315
REQUEST_TIME 1751890202
argv Array ( )
argc 0
0. Whoops\Handler\PrettyPageHandler