openSIS-Classic icon indicating copy to clipboard operation
openSIS-Classic copied to clipboard

Install not working

Open pomborenato opened this issue 2 years ago • 6 comments

Install steep are stoping after connect to the database. After submit form when data of connection apear a blank screen

pomborenato avatar Oct 22 '21 22:10 pomborenato

I am also attempting to install today and seeing no significant error being reported in the logs

kenvisgumbs avatar Oct 24 '21 16:10 kenvisgumbs

Installing on Windows Server seems to work better. Turning on PHP Errors may help. chown the installed files.

klmartinson17 avatar Nov 25 '21 20:11 klmartinson17

You need to chown the main directory so it can write the file there. It would be nicer if you could just do a sub directory instead of the whole main directory. it will need to create a Data.php file which is created in the root directory.

Here is a sample of what get's written out. <?php $DatabaseType = 'mysqli'; $DatabaseServer = 'localhost'; $DatabaseUsername = 'opensis'; $DatabasePassword = 'ChangeThisPassword'; $DatabaseName = 'opensis'; $DatabasePort = '3306'; ?> You might run in to a Strict warning from the database. This means you will need to turn off STRICT_TRANS_TABLES in the sql_mode variable This worked for me to get it installed on the latest 9.x release

sher1 avatar Jan 18 '23 19:01 sher1

I chowned the installed files, turned off strict mode and I'm still getting the blank screen after the db connection step. I'm seeing a server error in the browser network calls where it fails to load Ins2.php.

weberswords avatar Feb 16 '23 01:02 weberswords

https://github.com/OS4ED/openSIS-Classic/discussions/264

klmartinson avatar Dec 18 '23 19:12 klmartinson

Install steep are stoping after connect to the database. After submit form when data of connection apear a blank screen

I think this might have something to do with the php version you might be using if you've taking care of chmod and chown for the opensis folder and have addressed selinux permissions, you might want to try out php 7.4, I tried with php8.3 on centos and it was giving me grieve... 5.4 and 7.4 seem to be playing nicer in my experience in my server env.

good luck

fcortesjp avatar Dec 30 '23 12:12 fcortesjp