Версия ocStore 2.1.0.2.1
Сразу после установки системы, в админке такие ошибки
Warning: fopen(/usr/share/nginx/html/shop/system/storage/cache/cache.store.1463053340): failed to open stream: Permission denied in /usr/share/nginx/html/shop/system/library/cache/file.php on line 28Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 30Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 32Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 36Warning: fopen(/usr/share/nginx/html/shop/system/storage/cache/cache.order_status.1.1463053340): failed to open stream: Permission denied in /usr/share/nginx/html/shop/system/library/cache/file.php on line 28Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 30Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 32Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 36
Система->Журнал ошибок
2016-05-12 13:42:20 - PHP Warning: fopen(/usr/share/nginx/html/shop/system/storage/cache/cache.store.1463053191): failed to open stream: Permission denied in /usr/share/nginx/html/shop/system/library/cache/file.php on line 28
2016-05-12 13:42:20 - PHP Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 30
2016-05-12 13:42:20 - PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 32
2016-05-12 13:42:20 - PHP Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 34
2016-05-12 13:42:20 - PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 36
2016-05-12 13:42:20 - PHP Warning: fopen(/usr/share/nginx/html/shop/system/storage/cache/cache.order_status.1.1463053191): failed to open stream: Permission denied in /usr/share/nginx/html/shop/system/library/cache/file.php on line 28
2016-05-12 13:42:20 - PHP Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 30
2016-05-12 13:42:20 - PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 32
2016-05-12 13:42:20 - PHP Warning: flock() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 34
2016-05-12 13:42:20 - PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/share/nginx/html/shop/system/library/cache/file.php on line 36
Права на system/storage/cache/ 777
drwxrwxrwx+ 2 nginx nginx 4096 май 12 13:42 cache
drwxrwxrwx+ 2 nginx nginx 23 апр 2 00:41 download
drwxrwxrwx+ 2 nginx nginx 75 май 12 13:42 logs
drwxrwxrwx+ 2 nginx nginx 23 апр 2 00:41 modification
drwxrwxrwx+ 2 nginx nginx 23 апр 2 00:41 upload
Дело в том, что после того как я задаю права 755 или 777 на папку cahe, всё работает без ошибок буквально 1 секунду
новые кэш файлы там сохраняются с другими правами:
----rw----+ 1 nginx nginx 327 май 12 13:56 cache.language.1463054170
----rw----+ 1 nginx nginx 290 май 12 13:56 cache.length_class.1.1463054170
----rw----+ 1 nginx nginx 1177 май 12 13:59 cache.order_status.1.1463054343
----rw----+ 1 nginx nginx 379 май 12 13:56 cache.stock_status.1.1463054170
----rw----+ 1 nginx nginx 2 май 12 13:59 cache.store.1463054343
----rw----+ 1 nginx nginx 518 май 12 13:56 cache.tax_class.1463054170
----rw----+ 1 nginx nginx 274 май 12 13:56 cache.weight_class.1.1463054170
Подскажите в чём может быть проблема?