Answer the question
In order to leave comments, you need to log in
I turned on memcached pecl, the site works, but the admin panel does not. What to do?
I enabled caching via memcached pecl, the site works fine, but when I try to enter the site's admin panel, I get a 500 error. If the problem is admin caching, how can I disable it? Preferably with sample code.
---------------
nginx logs:
2020/04/02 12:40:00 [error] 17323#17323: *205 FastCGI sent in stderr: "
PHP message: PHP Warning: require (/home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/getAnnotations_CacheService.php): failed to open stream: No such file or directory in /home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu /appProdProjectContainer.php on line 1152
PHP message: PHP Fatal error: require(): Failed opening required '/home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/getAnnotations_CacheService.php' (include_path='/home/mysite/mysite.ru/vendor /pear/pear_exception:/home/mysite/mysite.ru/vendor/pear/console_getopt:/home/mysite/mysite.ru/vendor/pear/pear-core-minimal/src:/home/mysite/mysite.ru/ vendor/pear/archive_tar:.:/usr/share/php') in /home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/appProdProjectContainer.php on line 1152
PHP message: PHP Warning: require(/home /mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/getAnnotations_CacheService.php): failed to open stream: No such file or directory in /home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/appProdProjectContainer. php on line 1152
PHP message: PHP Fatal error: require(): Failed opening required '/home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/getAnnotations_CacheService.php' (include_path='/home/mysite/mysite.ru/vendor /pear/pear_exception:/home/mysite/mysite.ru/vendor/pear/console_getopt:/home/mysite/mysite.ru/vendor/pear/pear-core-minimal/src:/home/mysite/mysite.ru/ vendor/pear/archive_tar:.:/usr/share/php') in /home/mysite/mysite.ru/var/cache/prod/ContainerP0zuqhu/appProdProjectContainer.php on line 1152" while reading response header from upstream, client: 188.126.52.8, server: mysite.ru, request: "POST /backoffice/index.php?controller=AdminAjaxFaviconBO&token=73d5294050c6113de9462ec804ce082e HTTP/2.0", upstream: "fastcgi://unix:/run/php/mysite.sock:" , host: "mysite.ru", referrer: "https://mysite.ru/backoffice/index.php?controller=..."
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question