Wruczek / ts-website

A website for your TeamSpeak 3 server
https://ts.wruczek.tech
GNU General Public License v3.0
333 stars 80 forks source link

Unreadable "dbconfig" file #197

Closed byKeksYT closed 2 years ago

byKeksYT commented 2 years ago

As I tried to install ts-website on my server, at Step 2 I got an error that says: Cannot read the db config file! (/var/www/html/ts-website/private/php/../../private/dbconfig.php) I set the ownership of the root directory of ts-website to www-data and restarted apache2 after the installation. Can anyone tell me why I'm getting this error?

Wruczek commented 2 years ago

Does the file already exists? Try deleting it.

byKeksYT commented 2 years ago

Yes, the file exists, but as I looked info it, it is empty. Is there expected to be any code in there?

Wruczek commented 2 years ago

No, it will be auto-filled with data at the end of the installation process. In step 2, it should be created by TS-website (with proper permissions), and the check should pass.

byKeksYT commented 2 years ago

At Step 2 I always get this "error": 85246c145733acb85bba00dae0342416

toster234 commented 2 years ago

Try using PHP 7.4. PHP 8 is not supported yet.

byKeksYT commented 2 years ago

Okay, thank you for the advice! It works now with PHP 7.4 installed.