Nette issue after month of running
- steelbull
- Member | 241
Hi, I found a following problem.
I installed an Apache 2.4 and PHP 7.0.27 server with PDO MSSQL drivers. I developed a Nette intranet application, which is using in production 24/7 by operators. Application is running correctly.
But: after one month of running, I get the following error:
require(): file:// wrapper is disabled in the server configuration…
Warning: require(): file:// wrapper is disabled in the server configuration in D:\_SERVER_DATA\_web\rwa\vendor\composer\autoload_real.php on line 66
Warning: require(D:\_SERVER_DATA\_web\rwa\vendor\symfony\polyfill-mbstring\bootstrap.php): failed to open stream: no suitable wrapper could be found in D:\_SERVER_DATA\_web\rwa\vendor\composer\autoload_real.php on line 66
Fatal error: require(): Failed opening required ‘D:\_SERVER_DATA\_web\rwa\vendor\composer/../symfony/polyfill-mbstring/bootstrap.php’ (include_path=‘.;C:/_SERVER/php71/’) in D:\_SERVER_DATA\_web\rwa\vendor\composer\autoload_real.php on line 67
After restart Apache, problem will disappear.
It seems to be like there is a problem with PHP require file with full path. I checked PHP.ini configuration and allow_url_fopen is ON and also allow_url_include is ON
I tried to run composer self update, but it not helped.
Symptoms:
- nette application created in latest 2.4 version have failure.
But another application running on same server is running without problem:
Thanks for any help.