I just ran a new container and noticed two issues.
The first issue is the nginx service does not start up automatically in the container. I had to go into the container and run the command ngnix & in order to run it.
Once the ngnix server was running, I navigated to the fusiondirectory webapp and got a php error:
Fatal error: require(): Failed opening required '/usr/share/php/smarty3' (include_path='.:/www/fusiondirectory/include:/usr/share/php:/usr/share/php') in /www/fusiondirectory/include/php_setup.inc on line 339
I was able to fix this error by changing line 339 in the php_setup.inc file to read
require('/usr/share/php/smarty3/smarty.class.php'); instead of require('SMARTY');
Hi,
I just ran a new container and noticed two issues.
The first issue is the nginx service does not start up automatically in the container. I had to go into the container and run the command
ngnix &
in order to run it.Once the ngnix server was running, I navigated to the fusiondirectory webapp and got a php error:
Fatal error: require(): Failed opening required '/usr/share/php/smarty3' (include_path='.:/www/fusiondirectory/include:/usr/share/php:/usr/share/php') in /www/fusiondirectory/include/php_setup.inc on line 339
I was able to fix this error by changing line 339 in the php_setup.inc file to read
require('/usr/share/php/smarty3/smarty.class.php');
instead ofrequire('SMARTY');
docker-compose.yml file used: