berwinter / uvr1611

UVR1611 Data Logger Pro
GNU General Public License v3.0
31 stars 22 forks source link

unsuccessful installation #42

Open aperiodicchain opened 5 years ago

aperiodicchain commented 5 years ago

Hello, I have followed the steps (sudo apt-get...) as detailed in section "Installation" and I have successfully installed all required packages. However when I try to run install.php to create the database I get an 500 error.

Can you please give me a hint what am I missing? Thanks!

This are the steps I did for troubleshooting:

# check lighttpd server is running:
/var/www/html/index.lighttpd.html opened is Chrome as:
http://192.168.168.19/index.lighttpd.html 
--> successfully displaying Welcome page | Placeholder page of lighttpd displayed
# check PHP is running:
echo "<?php phpinfo ();?>" > /var/www/html/index_testphp.php
opened is Chrome as:
http://192.168.168.19/index_testphp.php 
-->  successfully displaying PHP version info page...
# check mysql is running:
sudo /etc/init.d/mysql start
[ ok ] Starting mysql (via systemctl): mysql.service.
# run uvr1611 installation script:
/var/www/html/install.php opened is Chrome as:
http://192.168.168.19/install.php
(http://192.168.168.19/index.php)
-->  500 Error
emign commented 5 years ago

Your problems might be because of a misconfigured Webserver. I cloned and forked the project, because I think berwinter has abandoned it. I made id php7 compatible: https://github.com/emign/uvr1611