cdgco / HestiaWebInterface

[Beta] PHP interface for HesitaCP, providing a beautiful UI, UX, features & integrations.
https://hwi.cdgtech.one
GNU General Public License v3.0
26 stars 9 forks source link

Internal Server Error #3

Closed DanialNikbin closed 4 years ago

DanialNikbin commented 4 years ago

Hi, I'm unable to install HWI for HestiaCP. When I navigate to the installation url it says Internal Server Error. I've tried many times. HestiaCP itself is working well and it's the latest version. I also tested VWI for Vestacp and it was working well.

cdgco commented 4 years ago

Could you try changing the line php_flag display_errors Off to php_flag display_errors On in .htaccess and sending the error code that is displayed?

I've noticed on some newer PHP versions that removing that line altogether sometimes fixes problems, so try that too and let me know.

DanialNikbin commented 4 years ago

I changed it but no error info showed up.

cdgco commented 4 years ago

What version of PHP are you using and have you tried removing / commenting out the line php_flag display_errors Off and seeing if that changes anything?

It appears that php-fpm and some other versions of php may not support that value and will throw an error if it is in .htaccess.

You can check in your domain's error logs (under /home/USER/web/DOMAIN/logs/DOMAIN.error.log if using Vesta / Hestia) for the actual error and reply with that here, if the .htaccess edit doesn't work.

DanialNikbin commented 4 years ago

Oh it worked by removing php_flag display_errors from .htaccess file. Thanks

cdgco commented 4 years ago

No problem! I'll make a note to update the error handling system so that this doesn't happen to anyone in the future.