Hackademic/hackademic

Error after copying folder to html root

Opened this issue · 2 comments

Anyone familiar with the following error when copying the hackademic folder into html root:

Fatal error: Cannot unset $this in /var/www/html/installation/installer/Installer.php on line 457

Currently installed on Digital Ocean One-Click LAMP.

Having the same issue with a normal LAMP stack in a VM

One of the older issues is how to get hackademic working with php7, that has not been picked up yet. So it does not work with php7, you need to purge php and reinstall a lower version.

On Ubuntu it was easiest to do:
sudo apt-get purge 'php*'
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6 libapache2-mod-php5.6 php5.6-mysql php5.6-xml php5.6-mbstring