Skip to content

Instantly share code, notes, and snippets.

@tmsnvd
Created August 6, 2014 09:39
Show Gist options
  • Save tmsnvd/4fa949451c81a38af0f6 to your computer and use it in GitHub Desktop.
Save tmsnvd/4fa949451c81a38af0f6 to your computer and use it in GitHub Desktop.
Error
PHP Fatal Error – yii\base\ErrorException
Maximum function nesting level of '100' reached, aborting!
1. in /var/www/vendor/composer/ClassLoader.php at line 310
301302303304305306307308309310311312313314315316317318319
if ($file === null) {
// Remember that this class does not exist.
return $this->classMap[$class] = false;
}
return $file;
}
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
if (0 === strpos($class, $prefix)) {
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
2. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::findFileWithExtension() at line 295
289290291292293294295296297298299300301
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if ($file === null && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
3. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::findFile() at line 269
263264265266267268269270271272273274275
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
4. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::findFile() at line 269
263264265266267268269270271272273274275
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
5. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::loadClass()
6. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::loadClass()
7. in /var/www/vendor/composer/ClassLoader.php – spl_autoload_call() at line 4
12345678910
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
8. in /var/www/vendor/composer/ClassLoader.php – unknown() at line 378
372373374375376377378379
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
9. in /var/www/vendor/composer/ClassLoader.php – unknown() at line 378
372373374375376377378379
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
10. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\includeFile() at line 270
264265266267268269270271272273274275276
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
11. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\includeFile() at line 270
264265266267268269270271272273274275276
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
12. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::loadClass()
13. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\ClassLoader::loadClass()
14. in /var/www/vendor/composer/ClassLoader.php – spl_autoload_call() at line 8
234567891011121314
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
15. in /var/www/vendor/composer/ClassLoader.php – unknown() at line 378
372373374375376377378379
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
16. in /var/www/vendor/composer/ClassLoader.php – unknown() at line 378
372373374375376377378379
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
17. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\includeFile() at line 270
264265266267268269270271272273274275276
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
18. in /var/www/vendor/composer/ClassLoader.php – Composer\Autoload\includeFile() at line 270
264265266267268269270271272273274275276
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
19. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – Composer\Autoload\ClassLoader::loadClass()
20. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – Composer\Autoload\ClassLoader::loadClass()
21. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – spl_autoload_call() at line 100
949596979899100101102103104105106
* @param HTMLPurifier_DefinitionCache_Decorator|string $decorator An instance or the name of a decorator
*/
public function addDecorator($decorator)
{
if (is_string($decorator)) {
$class = "HTMLPurifier_DefinitionCache_Decorator_$decorator";
$decorator = new $class;
}
$this->decorators[$decorator->name] = $decorator;
}
}
// vim: et sw=4 sts=4
22. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – HTMLPurifier_DefinitionCacheFactory::addDecorator() at line 28
22232425262728293031323334
/**
* Initialize default decorators
*/
public function setup()
{
$this->addDecorator('Cleanup');
}
/**
* Retrieves an instance of global definition cache factory.
* @param HTMLPurifier_DefinitionCacheFactory $prototype
* @return HTMLPurifier_DefinitionCacheFactory
23. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – HTMLPurifier_DefinitionCacheFactory::addDecorator() at line 28
22232425262728293031323334
/**
* Initialize default decorators
*/
public function setup()
{
$this->addDecorator('Cleanup');
}
/**
* Retrieves an instance of global definition cache factory.
* @param HTMLPurifier_DefinitionCacheFactory $prototype
* @return HTMLPurifier_DefinitionCacheFactory
24. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – HTMLPurifier_DefinitionCacheFactory::setup() at line 43
37383940414243444546474849
{
static $instance;
if ($prototype !== null) {
$instance = $prototype;
} elseif ($instance === null || $prototype === true) {
$instance = new HTMLPurifier_DefinitionCacheFactory();
$instance->setup();
}
return $instance;
}
/**
* Registers a new definition cache object
25. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php – HTMLPurifier_DefinitionCacheFactory::setup() at line 43
37383940414243444546474849
{
static $instance;
if ($prototype !== null) {
$instance = $prototype;
} elseif ($instance === null || $prototype === true) {
$instance = new HTMLPurifier_DefinitionCacheFactory();
$instance->setup();
}
return $instance;
}
/**
* Registers a new definition cache object
26. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php – HTMLPurifier_DefinitionCacheFactory::instance() at line 484
478479480481482483484485486487488489490
if (!$this->finalized) {
$this->autoFinalize();
}
// temporarily suspend locks, so we can handle recursive definition calls
$lock = $this->lock;
$this->lock = null;
$factory = HTMLPurifier_DefinitionCacheFactory::instance();
$cache = $factory->create($type, $this);
$this->lock = $lock;
if (!$raw) {
// full definition
// ---------------
// check if definition is in memory
27. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php – HTMLPurifier_DefinitionCacheFactory::instance() at line 484
478479480481482483484485486487488489490
if (!$this->finalized) {
$this->autoFinalize();
}
// temporarily suspend locks, so we can handle recursive definition calls
$lock = $this->lock;
$this->lock = null;
$factory = HTMLPurifier_DefinitionCacheFactory::instance();
$cache = $factory->create($type, $this);
$this->lock = $lock;
if (!$raw) {
// full definition
// ---------------
// check if definition is in memory
28. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php – HTMLPurifier_Config::getDefinition() at line 415
409410411412413414415416417418419420421
* named, instead.
*
* @return HTMLPurifier_HTMLDefinition
*/
public function getHTMLDefinition($raw = false, $optimized = false)
{
return $this->getDefinition('HTML', $raw, $optimized);
}
/**
* Retrieves object reference to the CSS definition
*
* @param bool $raw Return a copy that has not been setup yet. Must be
29. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php – HTMLPurifier_Config::getDefinition() at line 415
409410411412413414415416417418419420421
* named, instead.
*
* @return HTMLPurifier_HTMLDefinition
*/
public function getHTMLDefinition($raw = false, $optimized = false)
{
return $this->getDefinition('HTML', $raw, $optimized);
}
/**
* Retrieves object reference to the CSS definition
*
* @param bool $raw Return a copy that has not been setup yet. Must be
30. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php – HTMLPurifier_Config::getHTMLDefinition() at line 74
68697071727374757677787980
{
$this->config = $config;
$this->_scriptFix = $config->get('Output.CommentScriptContents');
$this->_innerHTMLFix = $config->get('Output.FixInnerHTML');
$this->_sortAttr = $config->get('Output.SortAttr');
$this->_flashCompat = $config->get('Output.FlashCompat');
$this->_def = $config->getHTMLDefinition();
$this->_xhtml = $this->_def->doctype->xml;
}
/**
* Generates HTML from an array of tokens.
* @param HTMLPurifier_Token[] $tokens Array of HTMLPurifier_Token
31. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php – HTMLPurifier_Config::getHTMLDefinition() at line 74
68697071727374757677787980
{
$this->config = $config;
$this->_scriptFix = $config->get('Output.CommentScriptContents');
$this->_innerHTMLFix = $config->get('Output.FixInnerHTML');
$this->_sortAttr = $config->get('Output.SortAttr');
$this->_flashCompat = $config->get('Output.FlashCompat');
$this->_def = $config->getHTMLDefinition();
$this->_xhtml = $this->_def->doctype->xml;
}
/**
* Generates HTML from an array of tokens.
* @param HTMLPurifier_Token[] $tokens Array of HTMLPurifier_Token
32. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier.php – HTMLPurifier_Generator::__construct() at line 158
152153154155156157158159160161162163164
// configuration dependant
$lexer = HTMLPurifier_Lexer::create($config);
$context = new HTMLPurifier_Context();
// setup HTML generator
$this->generator = new HTMLPurifier_Generator($config, $context);
$context->register('Generator', $this->generator);
// set up global context variables
if ($config->get('Core.CollectErrors')) {
// may get moved out if other facilities use it
$language_factory = HTMLPurifier_LanguageFactory::instance();
33. in /var/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier.php – HTMLPurifier_Generator::__construct() at line 158
152153154155156157158159160161162163164
// configuration dependant
$lexer = HTMLPurifier_Lexer::create($config);
$context = new HTMLPurifier_Context();
// setup HTML generator
$this->generator = new HTMLPurifier_Generator($config, $context);
$context->register('Generator', $this->generator);
// set up global context variables
if ($config->get('Core.CollectErrors')) {
// may get moved out if other facilities use it
$language_factory = HTMLPurifier_LanguageFactory::instance();
34. in /var/www/vendor/yiisoft/yii2/helpers/BaseHtmlPurifier.php – HTMLPurifier::purify() at line 34
35. in /var/www/vendor/yiisoft/yii2/helpers/BaseHtmlPurifier.php – HTMLPurifier::purify() at line 34
36. in /var/www/vendor/yiisoft/yii2/base/Formatter.php – yii\helpers\BaseHtmlPurifier::process() at line 205
37. in /var/www/vendor/yiisoft/yii2/base/Formatter.php – yii\helpers\BaseHtmlPurifier::process() at line 205
38. in /var/www/vendor/yiisoft/yii2/base/Formatter.php – yii\base\Formatter::asHtml() at line 126
39. in /var/www/vendor/yiisoft/yii2/base/Formatter.php – yii\base\Formatter::asHtml() at line 126
40. in /var/www/vendor/yiisoft/yii2/base/Formatter.php – call_user_func_array() at line 126
41. in /var/www/vendor/yiisoft/yii2/grid/DataColumn.php – yii\base\Formatter::format() at line 193
42. in /var/www/vendor/yiisoft/yii2/grid/DataColumn.php – yii\base\Formatter::format() at line 193
43. in /var/www/vendor/yiisoft/yii2/grid/Column.php – yii\grid\DataColumn::renderDataCellContent() at line 104
44. in /var/www/vendor/yiisoft/yii2/grid/Column.php – yii\grid\DataColumn::renderDataCellContent() at line 104
45. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\grid\Column::renderDataCell() at line 455
46. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\grid\Column::renderDataCell() at line 455
47. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\grid\GridView::renderTableRow() at line 424
48. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\grid\GridView::renderTableRow() at line 424
49. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\grid\GridView::renderTableBody() at line 295
50. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\grid\GridView::renderTableBody() at line 295
51. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – yii\grid\GridView::renderItems() at line 140
52. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – yii\grid\GridView::renderItems() at line 140
53. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\widgets\BaseListView::renderSection() at line 264
54. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\widgets\BaseListView::renderSection() at line 264
55. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – yii\grid\GridView::renderSection() at line 117
56. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – yii\grid\GridView::renderSection() at line 117
57. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – yii\widgets\BaseListView::yii\widgets\{closure}() at line 120
58. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – yii\widgets\BaseListView::yii\widgets\{closure}() at line 120
59. in /var/www/vendor/yiisoft/yii2/widgets/BaseListView.php – preg_replace_callback() at line 120
60. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\widgets\BaseListView::run() at line 239
61. in /var/www/vendor/yiisoft/yii2/grid/GridView.php – yii\widgets\BaseListView::run() at line 239
62. in /var/www/vendor/yiisoft/yii2/base/Widget.php – yii\grid\GridView::run() at line 96
63. in /var/www/vendor/yiisoft/yii2/base/Widget.php – yii\grid\GridView::run() at line 96
64. in /var/www/vendor/yiisoft/yii2-debug/views/default/panels/db/detail.php – yii\base\Widget::widget() at line 75
69707172737475
'format' => 'html',
'options' => [
'width' => '60%',
],
]
],
]);
65. in /var/www/vendor/yiisoft/yii2-debug/views/default/panels/db/detail.php – yii\base\Widget::widget() at line 75
69707172737475
'format' => 'html',
'options' => [
'width' => '60%',
],
]
],
]);
66. in /var/www/vendor/yiisoft/yii2/base/View.php – unknown() at line 315
67. in /var/www/vendor/yiisoft/yii2/base/View.php – unknown() at line 315
68. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderPhpFile() at line 247
69. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderPhpFile() at line 247
70. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderFile() at line 149
71. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderFile() at line 149
72. in /var/www/vendor/yiisoft/yii2-debug/panels/DbPanel.php – yii\base\View::render() at line 79
73747576777879808182838485
$dataProvider = $searchModel->search(Yii::$app->request->getQueryParams(), $this->getModels());
return Yii::$app->view->render('panels/db/detail', [
'panel' => $this,
'dataProvider' => $dataProvider,
'searchModel' => $searchModel,
]);
}
/**
* Calculates given request profile timings.
*
* @return array timings [token, category, timestamp, traces, nesting level, elapsed time]
73. in /var/www/vendor/yiisoft/yii2-debug/panels/DbPanel.php – yii\base\View::render() at line 79
73747576777879808182838485
$dataProvider = $searchModel->search(Yii::$app->request->getQueryParams(), $this->getModels());
return Yii::$app->view->render('panels/db/detail', [
'panel' => $this,
'dataProvider' => $dataProvider,
'searchModel' => $searchModel,
]);
}
/**
* Calculates given request profile timings.
*
* @return array timings [token, category, timestamp, traces, nesting level, elapsed time]
74. in /var/www/vendor/yiisoft/yii2-debug/views/default/view.php – yii\debug\panels\DbPanel::getDetail() at line 78
7273747576777879808182
],
]);
echo "\n" . $summary['tag'] . ': ' . $summary['method'] . ' ' . Html::a(Html::encode($summary['url']), $summary['url']);
echo ' at ' . date('Y-m-d h:i:s a', $summary['time']) . ' by ' . $summary['ip'];
?>
</div>
<?= $activePanel->getDetail() ?>
</div>
</div>
</div>
</div>
75. in /var/www/vendor/yiisoft/yii2-debug/views/default/view.php – yii\debug\panels\DbPanel::getDetail() at line 78
7273747576777879808182
],
]);
echo "\n" . $summary['tag'] . ': ' . $summary['method'] . ' ' . Html::a(Html::encode($summary['url']), $summary['url']);
echo ' at ' . date('Y-m-d h:i:s a', $summary['time']) . ' by ' . $summary['ip'];
?>
</div>
<?= $activePanel->getDetail() ?>
</div>
</div>
</div>
</div>
76. in /var/www/vendor/yiisoft/yii2/base/View.php – unknown() at line 315
77. in /var/www/vendor/yiisoft/yii2/base/View.php – unknown() at line 315
78. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderPhpFile() at line 247
79. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderPhpFile() at line 247
80. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderFile() at line 149
81. in /var/www/vendor/yiisoft/yii2/base/View.php – yii\base\View::renderFile() at line 149
82. in /var/www/vendor/yiisoft/yii2/base/Controller.php – yii\base\View::render() at line 365
83. in /var/www/vendor/yiisoft/yii2/base/Controller.php – yii\base\View::render() at line 365
84. in /var/www/vendor/yiisoft/yii2-debug/controllers/DefaultController.php – yii\base\Controller::render() at line 87
81828384858687888990919293
return $this->render('view', [
'tag' => $tag,
'summary' => $this->summary,
'manifest' => $this->getManifest(),
'panels' => $this->module->panels,
'activePanel' => $activePanel,
]);
}
public function actionToolbar($tag)
{
$this->loadData($tag, 5);
85. in /var/www/vendor/yiisoft/yii2-debug/controllers/DefaultController.php – yii\base\Controller::render() at line 87
81828384858687888990919293
return $this->render('view', [
'tag' => $tag,
'summary' => $this->summary,
'manifest' => $this->getManifest(),
'panels' => $this->module->panels,
'activePanel' => $activePanel,
]);
}
public function actionToolbar($tag)
{
$this->loadData($tag, 5);
86. in /var/www/vendor/yiisoft/yii2/base/InlineAction.php – yii\debug\controllers\DefaultController::actionView() at line 55
87. in /var/www/vendor/yiisoft/yii2/base/InlineAction.php – yii\debug\controllers\DefaultController::actionView() at line 55
88. in /var/www/vendor/yiisoft/yii2/base/InlineAction.php – call_user_func_array() at line 55
89. in /var/www/vendor/yiisoft/yii2/base/Controller.php – yii\base\InlineAction::runWithParams() at line 150
90. in /var/www/vendor/yiisoft/yii2/base/Controller.php – yii\base\InlineAction::runWithParams() at line 150
91. in /var/www/vendor/yiisoft/yii2/base/Module.php – yii\base\Controller::runAction() at line 462
92. in /var/www/vendor/yiisoft/yii2/base/Module.php – yii\base\Controller::runAction() at line 462
93. in /var/www/vendor/yiisoft/yii2/web/Application.php – yii\base\Module::runAction() at line 83
94. in /var/www/vendor/yiisoft/yii2/web/Application.php – yii\base\Module::runAction() at line 83
95. in /var/www/vendor/yiisoft/yii2/base/Application.php – yii\web\Application::handleRequest() at line 371
96. in /var/www/vendor/yiisoft/yii2/base/Application.php – yii\web\Application::handleRequest() at line 371
97. in /var/www/web/index.php – yii\base\Application::run() at line 27
21222324252627
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
//require(__DIR__ . '/../extension/contract.php');
$config = require(__DIR__ . '/../config/web.php');
(new yii\web\Application($config))->run();
98. in /var/www/web/index.php – yii\base\Application::run() at line 27
21222324252627
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
//require(__DIR__ . '/../extension/contract.php');
$config = require(__DIR__ . '/../config/web.php');
(new yii\web\Application($config))->run();
99. in /var/www/web/index.php – {main}()
$_GET = [
'panel' => 'db',
'tag' => '53e1f61943425',
];
$_SERVER = [
'USER' => 'www-data',
'HOME' => '/var/www',
'FCGI_ROLE' => 'RESPONDER',
'QUERY_STRING' => 'panel=db&tag=53e1f61943425',
'REQUEST_METHOD' => 'GET',
'CONTENT_TYPE' => '',
'CONTENT_LENGTH' => '',
'SCRIPT_FILENAME' => '/var/www/web/index.php',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/debug/default/view?panel=db&tag=53e1f61943425',
'DOCUMENT_URI' => '/index.php',
'DOCUMENT_ROOT' => '/var/www/web',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_SOFTWARE' => 'nginx/1.4.6',
'REMOTE_ADDR' => '10.0.2.2',
'REMOTE_PORT' => '49687',
'SERVER_ADDR' => '10.0.2.15',
'SERVER_PORT' => '80',
'SERVER_NAME' => '_',
'REDIRECT_STATUS' => '200',
'HTTP_HOST' => 'localhost:8888',
'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'lt,en-us;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
'HTTP_REFERER' => 'http://localhost:8888/loan/register_step1',
'HTTP_COOKIE' => '_csrf=399f26d95a2433879f01c84d159b65e66ef016397e23a0760f905566965ae898s%3A32%3A%22ut_8pKHgVbkWnXcGRSBpmkFlQo9UloMA%22%3B; PHPSESSID=v323fjl502do7lohuf7jmils30; adminer_version=4.1.0',
'HTTP_CONNECTION' => 'keep-alive',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => 1407317822.917206,
'REQUEST_TIME' => 1407317822,
];
$_COOKIE = [
'_csrf' => '399f26d95a2433879f01c84d159b65e66ef016397e23a0760f905566965ae898s:32:"ut_8pKHgVbkWnXcGRSBpmkFlQo9UloMA";',
'PHPSESSID' => 'v323fjl502do7lohuf7jmils30',
'adminer_version' => '4.1.0',
];
Yii Framework
2014-08-06, 09:37:04
nginx/1.4.6
Yii Framework/2.0.0-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment