dg9vh / MMDVMHost-Dashboard

Dashboard for MMDVMHost (by G4KLX)
Creative Commons Zero v1.0 Universal
60 stars 45 forks source link

Ubuntu 16.10 and PHP7.0 - no config.php generated #147

Closed lb5je closed 7 years ago

lb5je commented 7 years ago

On Ubuntu 16.10 PHP7.0 is used and no config.php is written after running setup.php. Any quick fix?

LB5JE

phl0 commented 7 years ago

Any error messages in the log of the web server?

lb5je commented 7 years ago

This seems to repeat in the lighttpd error.log.

LB5JE

2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Warning: include(config/config.php): failed to open stream: No such file or directory in /var/www/html/ajax.php on line 5 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Warning: include(): Failed opening 'config/config.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/ajax.php on line 5 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Notice: Use of undefined constant MMDVMINIPATH - assumed 'MMDVMINIPATH' in /var/www/html/include/functions.php on line 106 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Notice: Use of undefined constant MMDVMINIFILENAME - assumed 'MMDVMINIFILENAME' in /var/www/html/include/functions.php on line 106 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Warning: fopen(MMDVMINIPATH/MMDVMINIFILENAME): failed to open stream: No such file or directory in /var/www/html/include/functions.php on line 106 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Notice: Undefined offset: 1 in /var/www/html/include/functions.php on line 137 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Notice: Undefined offset: 1 in /var/www/html/include/functions.php on line 143 2017-04-14 14:26:51: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Notice: Use of undefined constant MMDVMLOGPATH - assumed 'MMDVMLOGPATH' in /var/www/html/include/functions.php on line 195

dg9vh commented 7 years ago

Check write permissions for webuser.Am 14.04.2017 14:25 schrieb lb5je notifications@github.com:On Ubuntu 16.10 PHP7.0 is used and no config.php is written after running setup.php. Any quick fix? LB5JE

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

phl0 commented 7 years ago

That seems not to be related to the PHP 7 upgrade as these are all warnings....

lb5je commented 7 years ago

Write permissions it was. A new "sudo chown -R www-data:www-data /var/www/html" did fix it.

LB5JE