Closed theodotos closed 6 years ago
Hi! did you install the Intl extension? http://php.net/manual/en/intl.installation.php
This problem usually happens when it is not installed
let me know
Hi I have intl and mbstring installed. Also these:
# dpkg-query -f '${binary:Package}\n' -W | grep php
libapache2-mod-php
libapache2-mod-php7.2
php-common
php-intl
php-mbstring
php-mysql
php7.2-cli
php7.2-common
php7.2-intl
php7.2-json
php7.2-mbstring
php7.2-mysql
php7.2-opcache
php7.2-readline
I am getting these errors in the logs and in the website content:
[Fri May 18 04:37:17.659967 2018] [php7:warn] [pid 18104] [client 10.8.64.120:57144] PHP Warning: ini_set() [<a href='http://php.net/function.ini-set'>function.ini-set</a>]: Headers already sent. You cannot change the session module's ini setting
s at this time in /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Network/Session.php on line 291
[Fri May 18 04:37:17.660120 2018] [php7:error] [pid 18104] [client 10.8.64.120:57144] PHP Fatal error: [RuntimeException] Unable to configure the session, setting session.use_trans_sid failed.\n#0 /var/www/html/humanecosystems.example.com/vendor/ca
kephp/cakephp/src/Network/Session.php(212): Cake\\Network\\Session->options(Array)\n#1 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Network/Session.php(119): Cake\\Network\\Session->__construct(Array)\n#2 /var/www/html/humane
cosystems.example.com/vendor/cakephp/cakephp/src/Network/Request.php(184): Cake\\Network\\Session::create(Array)\n#3 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(118): Cake\\Network\\Request::createF
romGlobals()\n#4 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(91): Cake\\Error\\ExceptionRenderer->_getController()\n#5 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/Erro
rHandler.php(143): Cake\\Error\\ExceptionRenderer->__construct(Object(Cake\\Error\\FatalErrorException))\n#6 /var/www/html/humanecosystems.example.com/vendor/cakep in /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/ErrorHand
ler.php on line 156
[Fri May 18 04:37:17.660263 2018] [php7:warn] [pid 18104] [client 10.8.64.120:57144] PHP Warning: ini_set() [<a href='http://php.net/function.ini-set'>function.ini-set</a>]: Headers already sent. You cannot change the session module's ini setting
s at this time in /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Network/Session.php on line 291
[Fri May 18 04:37:17.660302 2018] [php7:error] [pid 18104] [client 10.8.64.120:57144] PHP Fatal error: [RuntimeException] Unable to configure the session, setting session.use_trans_sid failed.\n#0 /var/www/html/humanecosystems.example.com/vendor/ca
kephp/cakephp/src/Network/Session.php(212): Cake\\Network\\Session->options(Array)\n#1 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Network/Session.php(119): Cake\\Network\\Session->__construct(Array)\n#2 /var/www/html/humane
cosystems.example.com/vendor/cakephp/cakephp/src/Network/Request.php(184): Cake\\Network\\Session::create(Array)\n#3 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(118): Cake\\Network\\Request::createF
romGlobals()\n#4 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(91): Cake\\Error\\ExceptionRenderer->_getController()\n#5 /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/Erro
rHandler.php(143): Cake\\Error\\ExceptionRenderer->__construct(Object(Cake\\Error\\FatalErrorException))\n#6 /var/www/html/humanecosystems.example.com/vendor/cakep in /var/www/html/humanecosystems.example.com/vendor/cakephp/cakephp/src/Error/ErrorHand
ler.php on line 156
Are there any missing dependencies?
It seems to be a compatibility issue with php7.2. I installed php7.0 and it worked!
Here are the instructions if you want to set this up on Ubuntu 18.04:
# apt -y install software-properties-common
# add-apt-repository ppa:ondrej/php
# apt-get update
# apt-get -y install php7.0 php7.0-intl php7.0-mbstring
# a2dismod php7.2
# a2enmod php7.0
# systemctl restart apache2
Thanks @xdxdVSxdxd !
I am getting these errors when I try to run Human Ecosystemv3:
My system setup:
This is the Playbook I used to set it up:
Any idea?