Error 500 on Host Configuration after Upgrade
I recently upgraded FOG from 1.2 to the Git Version (7100). the Database upgrade worked fine.
Now, when I click a Host in the Hosts-List, I’m getting an HTTP 500 Error, even on newly registered Hosts.
It’s running on Ubuntu Server Xenial Xerus.
EDIT: Apache2 Error.log
[Thu Apr 07 10:37:56.758840 2016] [:error] [pid 1720] [client XX.XX.XX.XX:xxxx] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/html/fog/lib/fog/fogbase.class.php on line 406, referer: http://fogserver/fog/management/index.php?node=host&sub=list
@Sebastian-Roth the package ist called
but the problem still exists after installing.
I’m working on a fresh install in parallel, so I think I won’t touch this one anymore. Thanks so far!
@30000MONKEYS Does this work for you?
apt-get install php7-mcrypt
Edit: a2enmod still sais that Module mcrypt wouldn’t exist
dpkg-query -l mcrypt
dpkg-query -l php5-mcrypt
said it wan’t installed. i used
apt-get install mcrypt
, but the problem still exists. I also tried
apt-get install php5-mcrypt
, but it doesn’t find the package…
@30000MONKEYS It should already be installed. You can verify if it is or not though.
root@FOGSERVER:~# a2enmod php5-mcrypt ERROR: Module php5-mcrypt does not exist! root@FOGSERVER:~# a2enmod mcrypt ERROR: Module mcrypt does not exist!
Do I have to install php5-mcrypt?
What happens if you run the command: