MISP / misp-book

User guide of MISP
https://www.circl.lu/doc/misp/
256 stars 103 forks source link

Error 500 after fresh Centos7 Install #54

Closed krypto29s closed 7 years ago

krypto29s commented 7 years ago

I followed the install guide according, and when I start the process everything appears to start but I am not able to access http://misp/user/login url. I am getting an error 500. sudo su -s /bin/bash apache -c 'scl enable rh-php56 /var/www/MISP/app/Console/worker/start.sh' [sudo] password for sjohn345: Stopping workers Stopping 12950 ... Done Stopping the Scheduler Worker ... Done Stopping 12968 ... Done Stopping 12986 ... Done Stopping 13004 ... Done

Creating workers Starting worker ... Done

Creating workers Starting worker ... Done

Creating workers Starting worker ... Done

Creating workers Starting worker ... Done

Creating the scheduler workers Starting scheduler worker ... Done ! more misp.local_error.log [Wed Jul 05 21:28:56.478562 2017] [:error] [pid 11684] [client ::1:51188] PHP Fatal error: Can't use function return value in write context in /var/www/MISP/app/Controller/UsersController.php on line 97 [Wed Jul 05 21:28:56.479803 2017] [:error] [pid 11684] [client ::1:51188] PHP Fatal error: Can't use function return value in write context in /var/www/MISP/app/Controller/AppController.php on line 305 [Wed Jul 05 21:29:02.058256 2017] [:error] [pid 2369] [client ::1:51190] PHP Fatal error: Can't use function return value in write context in /var/www/MISP/app/Controller/AppController.php on line 305

iglocska commented 7 years ago

Great! Sorry, had to take my train and get home so couldn't respond. It keeps reverting to PHP 5.4 since you need an scl rh56 enabled bash (scl enable rh-php56 bash), but your solution is perfectly fine!

krypto29s commented 7 years ago

No worries, and thanks for all your help.

I do have a new issue though. I am now trying to get working on https only. The web console says that miss is disabled for all users when I access it via https. Any recommendations?

Thanks,

On Jul 6, 2017, at 3:08 PM, Andras Iklody notifications@github.com wrote:

Great! Sorry, had to take my train and get home so couldn't respond. It keeps reverting to PHP 5.4 since you need an scl rh56 enabled bash (scl enable rh-php56 bash), but your solution is perfectly fine!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/MISP/misp-book/issues/54#issuecomment-313490678, or mute the thread https://github.com/notifications/unsubscribe-auth/AcjGTHNx-Kr-rbJICAGlsHHRtz8Q_VMqks5sLTCsgaJpZM4OPDzm.