opendb icon indicating copy to clipboard operation
opendb copied to clipboard

Can not install opendb, HTTP Error 500

Open tschinkes opened this issue 5 years ago • 3 comments

Hi, i get a HTTP 500 Error inside the installation. After enter the mysql data, an continue the install script, i see only Error HTTP 500. Nothing is written into the selected DB and any access after this i see only 500 Error. My system: lighttpd with mariadb and php 7.3.

tschinkes avatar Jun 16 '20 13:06 tschinkes

It's been ages since I have even looked at this code. I suggest you check the error log, not sure where it's located for lighttpd, as I've never tested on that http server

pellcorp avatar Jun 16 '20 22:06 pellcorp

The issue is with the ini_set() call in './include/begin.inc.php' -- setting the session handler is no longer allowed.

old code (line 111): if (strtolower(ini_get('session.save_handler')) == 'user' || ini_set('session.save_handler', 'user')) {

new code: if (strtolower(ini_get('session.save_handler')) == 'user') {

begin.inc.php.zip

See php bug report

NicFord1 avatar May 22 '21 00:05 NicFord1

Happy to take a merge request to fix this but I don't have time to work on it and test it myself

pellcorp avatar May 22 '21 02:05 pellcorp