27 changed files with 470 additions and 143 deletions
			
			
		| @ -0,0 +1,15 @@ | ||||
| namespace: api\tests | ||||
| actor: Tester | ||||
| paths: | ||||
|     tests: tests | ||||
|     log: tests/_output | ||||
|     data: tests/_data | ||||
|     helpers: tests/_support | ||||
| settings: | ||||
|     bootstrap: _bootstrap.php | ||||
|     colors: true | ||||
|     memory_limit: 1024M | ||||
| modules: | ||||
|     config: | ||||
|         Yii2: | ||||
|             configFile: 'config/test-local.php' | ||||
| @ -0,0 +1,3 @@ | ||||
| main-local.php | ||||
| params-local.php | ||||
| test-local.php | ||||
| @ -0,0 +1,301 @@ | ||||
| <?php | ||||
| 
 | ||||
| use common\auth\Identity; | ||||
| use filsh\yii2\oauth2server\filters\auth\CompositeAuth; | ||||
| use filsh\yii2\oauth2server\filters\ErrorToExceptionFilter; | ||||
| use filsh\yii2\oauth2server\Module; | ||||
| use filsh\yii2\oauth2server\Request; | ||||
| use filsh\yii2\oauth2server\Response; | ||||
| use OAuth2\GrantType\RefreshToken; | ||||
| use OAuth2\GrantType\UserCredentials; | ||||
| use yii\filters\AccessControl; | ||||
| use yii\filters\auth\HttpBearerAuth; | ||||
| use yii\filters\auth\QueryParamAuth; | ||||
| use yii\filters\ContentNegotiator; | ||||
| use yii\log\FileTarget; | ||||
| use yii\web\JsonParser; | ||||
| use yii\web\JsonResponseFormatter; | ||||
| 
 | ||||
| $params = array_merge( | ||||
|     require __DIR__ . '/../../common/config/params.php', | ||||
|     require __DIR__ . '/../../common/config/params-local.php', | ||||
|     require __DIR__ . '/params.php', | ||||
|     require __DIR__ . '/params-local.php' | ||||
| ); | ||||
| 
 | ||||
| return [ | ||||
|     'id'                  => 'app-api', | ||||
|     'language'            => 'ru', | ||||
|     'basePath'            => dirname(__DIR__), | ||||
|     'bootstrap'           => [ | ||||
|         'log', | ||||
|         'common\bootstrap\SetUp', | ||||
|         'api\bootstrap\SetUp', | ||||
|         [ | ||||
|             'class' => ContentNegotiator::class, | ||||
|             'formats' => [ | ||||
|                 'application/json' => 'json', | ||||
|                 'application/xml' => 'xml', | ||||
|             ] | ||||
|         ] | ||||
|     ], | ||||
|     'aliases'             => [ | ||||
|         '@staticRoot' => $params['staticPath'], | ||||
|         '@static'     => $params['staticHostInfo'], | ||||
|     ], | ||||
|     'controllerNamespace' => 'api\controllers', | ||||
|     'modules' => [ | ||||
|         'oauth2' => [ | ||||
|             'class' => Module::class, | ||||
|             'tokenParamName' => 'accessToken', | ||||
|             'tokenAccessLifetime' => 3600 * 24, | ||||
|             'storageMap' => [ | ||||
|                 'user_credentials' => Identity::class, | ||||
|             ], | ||||
|             'components' => [ | ||||
|                 'request' => function () { | ||||
|                     return Request::createFromGlobals(); | ||||
|                 }, | ||||
|                 'response' => [ | ||||
|                     'class' => Response::class, | ||||
|                 ], | ||||
|             ], | ||||
|             'grantTypes' => [ | ||||
|                 'user_credentials' => [ | ||||
|                     'class' => UserCredentials::class, | ||||
|                 ], | ||||
|                 'refresh_token' => [ | ||||
|                     'class' => RefreshToken::class, | ||||
|                     'always_issue_new_refresh_token' => true | ||||
|                 ], | ||||
|             ], | ||||
|         ], | ||||
|     ], | ||||
|     'components'          => [ | ||||
|         'request'            => [ | ||||
|             'baseUrl' => '', | ||||
|             'cookieValidationKey' => $params['cookieValidationKey'], | ||||
|             'parsers' => [ | ||||
|                 'application/json' => JsonParser::class, | ||||
|             ], | ||||
|         ], | ||||
|         'response' => [ | ||||
|             'formatters' => [ | ||||
|                 'json' => [ | ||||
|                     'class' => JsonResponseFormatter::class, | ||||
|                     'prettyPrint' => YII_DEBUG, | ||||
|                     'encodeOptions' => JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE, | ||||
|                 ], | ||||
|             ], | ||||
|         ], | ||||
|         'user'               => [ | ||||
|             'identityClass' => Identity::class, | ||||
|             'enableAutoLogin' => false, | ||||
|             'enableSession' => false, | ||||
|             /*'identityClass'   => 'common\auth\Identity', | ||||
|             'enableAutoLogin' => true, | ||||
|             'identityCookie'  => ['name' => '_identity', 'httpOnly' => true, 'domain' => $params['cookieDomain']], | ||||
|             'loginUrl'        => ['auth/auth/login'],*/ | ||||
|         ], | ||||
|         /*'session'            => [ | ||||
|             'name'          => '_session', | ||||
|             'class'         => 'yii\web\DbSession', | ||||
|             'writeCallback' => function ($session) { | ||||
|                 return [ | ||||
|                     'user_id' => Yii::$app->user->id | ||||
|                 ]; | ||||
|             }, | ||||
|             'cookieParams'  => [ | ||||
|                 'domain'   => $params['cookieDomain'], | ||||
|                 'httpOnly' => true, | ||||
|             ], | ||||
|         ],*/ | ||||
|         'log'                => [ | ||||
|             'traceLevel' => YII_DEBUG ? 3 : 0, | ||||
|             'targets'    => [ | ||||
|                 [ | ||||
|                     'class'  => FileTarget::class, | ||||
|                     'levels' => ['error', 'warning'], | ||||
|                 ], | ||||
|             ], | ||||
|         ], | ||||
|         'backendUrlManager'  => require __DIR__ . '/../../backend/config/urlManager.php', | ||||
|         'frontendUrlManager' => require __DIR__ . '/../../frontend/config/urlManager.php', | ||||
|         'urlManager' => [ | ||||
|             'enablePrettyUrl' => true, | ||||
|             'enableStrictParsing' => true, | ||||
|             'showScriptName' => false, | ||||
|             'rules' => [ | ||||
|                 ''                              => 'site/index', | ||||
|                 'GET offer'                     => 'site/offer', | ||||
| 
 | ||||
|                 'GET profile'                   => 'user/profile/index', | ||||
|                 'PUT profile'                   => 'user/profile/update', | ||||
|                 'GET profile/avatar'            => 'user/profile/avatar-get', | ||||
|                 'POST profile/avatar'           => 'user/profile/avatar-set', | ||||
| 
 | ||||
|                 'POST oauth2/<action:\w+>'      => 'oauth2/rest/<action>', | ||||
| 
 | ||||
|                 'GET cards'                     => 'card/index', | ||||
|                 'GET card/main/<id:\d+>'        => 'card/main', | ||||
|                 'GET card/contacts/<id:\d+>'    => 'card/contacts', | ||||
|                 'GET card/education/<id:\d+>'   => 'card/education', | ||||
|                 'GET card/photos/<id:\d+>'      => 'card/photos', | ||||
|                 'GET card/biography/<id:\d+>'   => 'card/biography', | ||||
|                 'GET card/company/<id:\d+>'     => 'card/company', | ||||
| 
 | ||||
|                 'PUT card/main/<id:\d+>'        => 'card/main-update', | ||||
|                 'PUT card/contacts/<id:\d+>'    => 'card/contacts-update', | ||||
|                 'PUT card/education/<id:\d+>'   => 'card/education-update', | ||||
|                 'PUT card/photos/<id:\d+>'      => 'card/photos-update', | ||||
|                 'PUT card/biography/<id:\d+>'   => 'card/biography-update', | ||||
|                 'PUT card/company/<id:\d+>'     => 'card/company-update', | ||||
|                 'GET card/backgrounds'          => 'card/backgrounds', | ||||
| 
 | ||||
|                 'POST card'                     => 'card/create', | ||||
|                 'POST card/sort'                => 'card/sort', | ||||
|                 'DELETE card/<id:\d+>'          => 'card/delete', | ||||
|                 'PUT card/<id:\d+>'             => 'card/update', | ||||
| 
 | ||||
|                 'GET card/order/<card_id:\d+>'       => 'card/order', | ||||
| 
 | ||||
|                 'POST card/upload-file'         => 'card/upload-file', | ||||
|                 'POST card/delete-file'         => 'card/delete-file', | ||||
|                 'POST card/photo-process'       => 'card/photo-process', | ||||
| 
 | ||||
|                 'GET card/block-toggle/<card_id:\d+>/<block_id:\d+>'            => 'card/block-toggle', | ||||
| 
 | ||||
|                 'POST auth/signup'              => 'auth/signup/request', | ||||
|                 'POST auth/reset/request'       => 'auth/reset/request', | ||||
|                 'POST auth/reset/check'         => 'auth/reset/check', | ||||
|                 'POST auth/reset/confirm'       => 'auth/reset/confirm', | ||||
|             ], | ||||
|         ], | ||||
|         'i18n' => [ | ||||
|             'translations' => [ | ||||
|                 'modules/oauth2/*' => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@api/messages', | ||||
|                 ], | ||||
|                 'user'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|                 'auth'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|                 'main'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|             ], | ||||
|         ], | ||||
|         /*'errorHandler'       => [ | ||||
|             'errorAction' => 'site/error', | ||||
|         ], | ||||
|         'backendUrlManager'  => require __DIR__ . '/../../backend/config/urlManager.php', | ||||
|         'frontendUrlManager' => require __DIR__ . '/urlManager.php', | ||||
|         'urlManager'         => function () { | ||||
|             return Yii::$app->get('frontendUrlManager'); | ||||
|         },*/ | ||||
|         /*'i18n'               => [ | ||||
|             'translations' => [ | ||||
|                 'post'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|                 'slider' => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|                 'auth'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|                 'user'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|                 'main'   => [ | ||||
|                     'class'    => 'yii\i18n\PhpMessageSource', | ||||
|                     'basePath' => '@frontend/messages', | ||||
|                 ], | ||||
|             ], | ||||
|         ],* | ||||
|         'view'               => [ | ||||
|             'theme' => [ | ||||
|                 'basePath' => '@webroot/themes/sport', | ||||
|                 'baseUrl'  => '@web/themes/sport', | ||||
|                 'pathMap'  => [ | ||||
|                     '@frontend/views'   => '@webroot/themes/sport', | ||||
|                     '@frontend/widgets' => '@webroot/themes/sport/widgets', | ||||
|                 ], | ||||
|             ], | ||||
|         ], | ||||
|         'assetManager'       => [ | ||||
|             'bundles' => [ | ||||
|                 'yii\web\JqueryAsset'                => [ | ||||
|                     'sourcePath' => '@frontend/assets/libs/jquery321',   // do not publish the bundle | ||||
|                     'js'         => [ | ||||
|                         YII_ENV_DEV ? 'jquery-3.2.1.js' : 'jquery-3.2.1.min.js' | ||||
|                     ], | ||||
|                 ], | ||||
|                 'yii\bootstrap\BootstrapAsset'       => [ | ||||
|                     'sourcePath' => '@frontend/assets/libs/bootstrap4/css',   // do not publish the bundle | ||||
|                     'css'        => [ | ||||
|                         YII_ENV_DEV ? 'bootstrap.css' : 'bootstrap.min.css' | ||||
|                     ], | ||||
|                 ], | ||||
|                 'yii\bootstrap\BootstrapPluginAsset' => [ | ||||
|                     'sourcePath' => '@frontend/assets/libs/bootstrap4/js',   // do not publish the bundle | ||||
|                     'js'         => [ | ||||
|                         YII_ENV_DEV ? 'bootstrap.js' : 'bootstrap.min.js' | ||||
|                     ], | ||||
|                     'depends'    => [ | ||||
|                         'yii\web\JqueryAsset', | ||||
|                         'yii\bootstrap\BootstrapAsset', | ||||
|                     ], | ||||
|                 ], | ||||
|             ], | ||||
|         ],*/ | ||||
|     ], | ||||
|     'as authenticator' => [ | ||||
|         'class' => CompositeAuth::class, | ||||
|         'except' => [ | ||||
|             'site/index', | ||||
|             'site/offer', | ||||
|             'oauth2/rest/token', | ||||
|             'auth/reset/check', | ||||
|             'auth/reset/confirm', | ||||
|             'auth/reset/request', | ||||
|             'auth/signup/request' | ||||
|         ], | ||||
|         'authMethods' => [ | ||||
|             ['class' => 'yii\filters\auth\HttpBearerAuth'], | ||||
|             ['class' => 'yii\filters\auth\QueryParamAuth', 'tokenParam' => 'accessToken'], | ||||
|         ] | ||||
|     ], | ||||
|     'as access' => [ | ||||
|         'class' => AccessControl::class, | ||||
|         'except' => [ | ||||
|             'site/index', | ||||
|             'site/offer', | ||||
|             'oauth2/rest/token', | ||||
|             'auth/reset/check', | ||||
|             'auth/reset/confirm', | ||||
|             'auth/reset/request', | ||||
|             'auth/signup/request' | ||||
|         ], | ||||
|         'rules' => [ | ||||
|             [ | ||||
|                 'allow' => true, | ||||
|                 'roles' => ['@'], | ||||
|             ], | ||||
|         ], | ||||
|     ], | ||||
|     'as exceptionFilter' => [ | ||||
|         'class' => ErrorToExceptionFilter::class, | ||||
|     ], | ||||
|     'params'              => $params, | ||||
| ]; | ||||
| @ -0,0 +1,4 @@ | ||||
| <?php | ||||
| return [ | ||||
|     //'adminEmail' => 'admin@example.com', | ||||
| ]; | ||||
| After Width: | Height: | Size: 1.1 KiB | 
| @ -0,0 +1,18 @@ | ||||
| <?php | ||||
| 
 | ||||
| // NOTE: Make sure this file is not accessible when deployed to production | ||||
| if (!in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', '::1'])) { | ||||
|     die('You are not allowed to access this file.'); | ||||
| } | ||||
| 
 | ||||
| defined('YII_DEBUG') or define('YII_DEBUG', true); | ||||
| defined('YII_ENV') or define('YII_ENV', 'test'); | ||||
| 
 | ||||
| require __DIR__ . '/../../vendor/autoload.php'; | ||||
| require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'; | ||||
| require __DIR__ . '/../../common/config/bootstrap.php'; | ||||
| require __DIR__ . '/../config/bootstrap.php'; | ||||
| 
 | ||||
| $config = require __DIR__ . '/../config/test-local.php'; | ||||
| 
 | ||||
| (new yii\web\Application($config))->run(); | ||||
| @ -0,0 +1,25 @@ | ||||
| <?php | ||||
| defined('YII_DEBUG') or define('YII_DEBUG', true); | ||||
| defined('YII_ENV') or define('YII_ENV', 'dev'); | ||||
| 
 | ||||
| /*if (isset($_SERVER['HTTP_ORIGIN'])) { | ||||
|     // Decide if the origin in $_SERVER['HTTP_ORIGIN'] is one | ||||
|     // you want to allow, and if so: | ||||
|     header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); | ||||
|     header('Access-Control-Allow-Credentials: true'); | ||||
|     header('Access-Control-Max-Age: 86400');    // cache for 1 day | ||||
| }*/ | ||||
| 
 | ||||
| require __DIR__ . '/../../vendor/autoload.php'; | ||||
| require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'; | ||||
| require __DIR__ . '/../../common/config/bootstrap.php'; | ||||
| require __DIR__ . '/../config/bootstrap.php'; | ||||
| 
 | ||||
| $config = yii\helpers\ArrayHelper::merge( | ||||
|     require __DIR__ . '/../../common/config/main.php', | ||||
|     require __DIR__ . '/../../common/config/main-local.php', | ||||
|     require __DIR__ . '/../config/main.php', | ||||
|     require __DIR__ . '/../config/main-local.php' | ||||
| ); | ||||
| 
 | ||||
| (new yii\web\Application($config))->run(); | ||||
| @ -1,10 +0,0 @@ | ||||
| Message-ID: <20189f40525bb5a2e980be9f0962783e@morework.local> | ||||
| Date: Sun, 11 Feb 2018 20:44:19 +0000 | ||||
| Subject: 234 | ||||
| From:  | ||||
| To: admin@example.com | ||||
| MIME-Version: 1.0 | ||||
| Content-Type: text/plain; charset=utf-8 | ||||
| Content-Transfer-Encoding: quoted-printable | ||||
| 
 | ||||
| 345 | ||||
| @ -1,10 +0,0 @@ | ||||
| Message-ID: <02451d183d7c136e702e1c2c5da2b33a@morework.local> | ||||
| Date: Sun, 11 Feb 2018 20:45:42 +0000 | ||||
| Subject: 234 | ||||
| From:  | ||||
| To: admin@example.com | ||||
| MIME-Version: 1.0 | ||||
| Content-Type: text/plain; charset=utf-8 | ||||
| Content-Transfer-Encoding: quoted-printable | ||||
| 
 | ||||
| sdsfgsf | ||||
| @ -1,10 +0,0 @@ | ||||
| Message-ID: <87697b396f9ad35d8ff3bed0a033fd4e@morework.local> | ||||
| Date: Sun, 11 Feb 2018 20:48:30 +0000 | ||||
| Subject: 234 | ||||
| From:  | ||||
| To: admin@example.com | ||||
| MIME-Version: 1.0 | ||||
| Content-Type: text/plain; charset=utf-8 | ||||
| Content-Transfer-Encoding: quoted-printable | ||||
| 
 | ||||
| 555 | ||||
| @ -1,10 +0,0 @@ | ||||
| Message-ID: <b470d88ba02e3115c3ba2082b69315d8@morework.local> | ||||
| Date: Sun, 11 Feb 2018 20:49:03 +0000 | ||||
| Subject: Test Subj | ||||
| From:  | ||||
| To: admin@example.com | ||||
| MIME-Version: 1.0 | ||||
| Content-Type: text/plain; charset=utf-8 | ||||
| Content-Transfer-Encoding: quoted-printable | ||||
| 
 | ||||
| dscsdc | ||||
| @ -1,47 +0,0 @@ | ||||
| 2018/01/16 19:15:37 [error] 1912#1912: *160 open() "/app/static/favicon.ico" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.dev, request: "GET /favicon.ico HTTP/1.1", host: "static.morework.dev" | ||||
| 2018/01/16 19:15:37 [error] 1912#1912: *160 open() "/app/static/favicon.ico" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.dev, request: "GET /favicon.ico HTTP/1.1", host: "static.morework.dev" | ||||
| 2018/01/27 14:32:59 [error] 1935#1935: *199 open() "/app/static/photos/shutterstock_773261143_gb3tD.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /photos/shutterstock_773261143_gb3tD.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/slider/update?id=1" | ||||
| 2018/01/27 14:32:59 [error] 1935#1935: *199 open() "/app/static/photos/shutterstock_773261143_gb3tD.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /photos/shutterstock_773261143_gb3tD.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/slider/update?id=1" | ||||
| 2018/01/29 01:46:25 [error] 1838#1838: *1499 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/view?id=10" | ||||
| 2018/01/29 01:46:37 [error] 1838#1838: *1499 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 01:46:37 [error] 1838#1838: *1499 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 01:48:03 [error] 1838#1838: *1499 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/view?id=10" | ||||
| 2018/01/29 01:52:07 [error] 1838#1838: *1508 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 01:52:07 [error] 1838#1838: *1508 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 01:52:34 [error] 1838#1838: *1508 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/view?id=10" | ||||
| 2018/01/29 01:54:38 [error] 1838#1838: *1516 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 01:54:39 [error] 1838#1838: *1516 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 02:20:41 [error] 1838#1838: *1551 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/view?id=10" | ||||
| 2018/01/29 02:21:04 [error] 1838#1838: *1551 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/01/29 02:21:04 [error] 1838#1838: *1551 open() "/app/static/cache/posts/thumb_gallery_view_10.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_10.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/post/post/update?id=10" | ||||
| 2018/07/06 10:04:55 [error] 1920#1920: *1218 open() "/app/static/cache/posts/blog_post_-1.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_-1.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview" | ||||
| 2018/07/06 10:17:34 [error] 1920#1920: *1225 open() "/app/static/cache/posts/blog_post_-1.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_-1.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview" | ||||
| 2018/07/06 10:17:57 [error] 1920#1920: *1225 open() "/app/static/cache/posts/blog_post_-1.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_-1.jpg HTTP/1.1", host: "static.morework.local" | ||||
| 2018/07/06 10:18:44 [error] 1920#1920: *1228 open() "/app/static/cache/posts/blog_post_-1.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_-1.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview" | ||||
| 2018/07/06 10:20:25 [error] 1920#1920: *1232 open() "/app/static/cache/posts/blog_post_-1.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_-1.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview" | ||||
| 2018/07/25 14:48:26 [error] 1933#1933: *552 open() "/app/static/cache/posts/blog_post_13.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_13.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=22" | ||||
| 2018/07/25 14:49:11 [error] 1933#1933: *558 open() "/app/static/cache/posts/blog_post_23.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_23.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=23" | ||||
| 2018/07/25 14:49:57 [error] 1933#1933: *558 open() "/app/static/cache/posts/blog_post_24.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_24.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=24" | ||||
| 2018/07/25 14:50:22 [error] 1933#1933: *558 open() "/app/static/cache/posts/blog_post_25.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_25.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=25" | ||||
| 2018/07/25 14:55:07 [error] 1933#1933: *583 open() "/app/static/cache/posts/blog_post_26.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_26.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=26" | ||||
| 2018/07/25 14:55:25 [error] 1933#1933: *583 open() "/app/static/cache/posts/blog_post_26.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_26.png HTTP/1.1", host: "static.morework.local" | ||||
| 2018/07/25 14:55:32 [error] 1933#1933: *583 open() "/app/static/cache/posts/blog_post_26.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_26.png HTTP/1.1", host: "static.morework.local" | ||||
| 2018/07/25 15:14:57 [error] 1933#1933: *638 open() "/app/static/cache/posts/blog_post_28.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_28.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=28" | ||||
| 2018/07/25 15:19:30 [error] 1933#1933: *663 open() "/app/static/cache/posts/blog_post_30.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_30.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=30" | ||||
| 2018/07/25 15:33:18 [error] 1933#1933: *669 open() "/app/static/cache/posts/blog_post_31.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_31.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=31" | ||||
| 2018/07/25 15:35:13 [error] 1933#1933: *676 open() "/app/static/cache/posts/blog_post_32.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_32.png HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=32" | ||||
| 2018/07/25 20:06:07 [error] 1933#1933: *946 open() "/app/static/cache/posts/blog_post_53.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/blog_post_53.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://morework.local/blog/post/preview?id=53" | ||||
| 2018/07/25 23:05:07 [error] 1933#1933: *1256 open() "/app/static/cache/posts/thumb_gallery_view_68.jpg" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_68.jpg HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/view/68" | ||||
| 2018/07/25 23:36:51 [error] 1933#1933: *1389 open() "/app/static/cache/posts/thumb_gallery_view_27.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_27.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/view/27" | ||||
| 2018/07/25 23:47:55 [error] 1933#1933: *1465 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/view/83" | ||||
| 2018/07/25 23:48:13 [error] 1933#1933: *1465 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/update?id=83" | ||||
| 2018/07/25 23:48:13 [error] 1933#1933: *1465 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/update?id=83" | ||||
| 2018/07/25 23:50:33 [error] 1933#1933: *1497 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/view/83" | ||||
| 2018/07/25 23:50:39 [error] 1933#1933: *1497 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/update?id=83" | ||||
| 2018/07/25 23:50:39 [error] 1933#1933: *1497 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/update?id=83" | ||||
| 2018/07/25 23:51:08 [error] 1933#1933: *1497 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/view/83" | ||||
| 2018/07/25 23:51:14 [error] 1933#1933: *1497 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/update?id=83" | ||||
| 2018/07/25 23:51:14 [error] 1933#1933: *1497 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/update?id=83" | ||||
| 2018/07/26 15:10:09 [error] 1933#1933: *1523 open() "/app/static/cache/posts/thumb_gallery_view_83.png" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /cache/posts/thumb_gallery_view_83.png HTTP/1.1", host: "static.morework.local", referrer: "http://admin.morework.local/blog/manage/post/view/83" | ||||
| 2018/09/25 09:36:44 [error] 1951#1951: *1806 open() "/app/static/robots.txt" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /robots.txt HTTP/1.1", host: "static.morework.local" | ||||
| 2018/09/25 09:36:44 [error] 1951#1951: *1804 open() "/app/static/favicon.ico" failed (2: No such file or directory), client: 192.168.83.1, server: static.morework.local, request: "GET /favicon.ico HTTP/1.1", host: "static.morework.local", referrer: "http://static.morework.local/origin/products/1/1.jpg" | ||||
					Loading…
					
					
				
		Reference in new issue