Thread "Ilias 5.2.2 and php7.1.13 -- cookies disabled."

Tabs

  • Deleted
    Deleted | 29. Mar 2017, 18:19
    Edited on: 29. Mar 2017, 18:51 - by Deleted
    Ilias 5.2.2 and php7.1.13 -- cookies disabled.

    but standalone phpinfo() say otherwise. I also change session.sid_length = 32 and clear all cookies on browser.

    system is Windows server 2012 R2.

    Capture.PNG

  • Deleted
    Deleted | 31. Mar 2017, 15:00
    Re: Ilias 5.2.2 and php7.1.13 -- cookies disabled.

    here you can find answer

    http://www.ilias.de/docu/ilias.php?ref_id=1875&cmdClass=ilobjforumgui&thr_pk=4220&cmd=viewThread&cmdNode=av:t6&baseClass=ilRepositoryGUI

  • Deleted
    Deleted | 31. Mar 2017, 18:01
    Re(2): Ilias 5.2.2 and php7.1.13 -- cookies disabled.
    Thank you for your input. I tried all the remedies but nothing works. I think is the way that 5.2.2 checking for cookies.
  • Deleted
    Deleted | 3. Apr 2017, 08:29
    Re(3): Ilias 5.2.2 and php7.1.13 -- cookies disabled.

     I think you are trying  from localhost.

    Can you try from other PC to conent on your server/ilias to install ilias?

    I am using windows Server 2012 too.

  • Deleted
    Deleted | 11. Apr 2017, 09:53
    Re(3): Ilias 5.2.2 and php7.1.13 -- cookies disabled.

    http://www.ilias.de/docu/ilias.php?ref_id=367&from_page=6488&obj_id=6531&cmd=layout&cmdClass=illmpresentationgui&cmdNode=fr&baseClass=ilLMPresentationGUI

    Downgrade to PHP Version 7.0.x and it should work. I had the same problem on Windows Server 2016 with ILIAS 5.2.2. After downgrading the php, it work :)

  • Deleted
    Deleted | 12. Apr 2017, 15:32
    Re(4): Ilias 5.2.2 and php7.1.13 -- cookies disabled.

    Thank you. You're right, cookies are enabled now. But I've problem in creating the db section. The db was created but failed to continue the process. Ilias's logfile shown:

    [4f27c] [2017-04-12 07:06:11.447929] CLIENT_ID_setup.WARNING: ilErrorHandling::{closure}:50 ERROR (2) PDOStatement::execute(): MySQL server has gone away
    [4f27c] [2017-04-12 07:06:11.448653] CLIENT_ID_setup.INFO: ilSetupErrorHandling::getHandler:48 err
    [4f27c] [2017-04-12 07:06:11.448773] CLIENT_ID_setup.INFO: ilErrorHandling::devmodeHandler:15 Unknown or undefined error handler 'ERROR_HANDLER'. Falling back to PrettyPageHandler.

    I'm using Mysql 5.7

    Thanks you.

  • Deleted
    Deleted | 17. Aug 2017, 23:33
    Edited on: 17. Aug 2017, 23:35 - by Deleted
    Re(4): Ilias 5.2.2 and php7.1.13 -- cookies disabled.

    I have the same problem  on Debian Testing with PHP 7.0.22-2 with ILIAS 5.2.6 2017-07-13:

    Deleted all cookies, modified changed php.ini but still no cookies detected.

  • Deleted
    Deleted | 18. Aug 2017, 22:24
    Re(5): Ilias 5.2.2 and php7.1.13 -- cookies disabled.
    Sorry, I've no experience with Debian. Can't help you :o(
  • Deleted
    Deleted | 23. Aug 2017, 21:32
    Re(6): Ilias 5.2.2 and php7.1.13 -- cookies disabled.
    That problem has nothing to do with the distribution used.
  • Deleted
    Deleted | 23. Aug 2017, 21:36
    SOLVED - Re(7): Ilias 5.2.2 and php7.1.13 -- cookies disabled.
    I think I found the problem. That cookie test will fail if session.use_only_cookies in php.ini is set to true. After setting this value to false the check finishes without problems. Once this test was called, resetting the value to true will not break the test (and one should set this value to true!)
  • Deleted
    Deleted | 25. Aug 2017, 18:16
    Re: SOLVED - Re(7): Ilias 5.2.2 and php7.1.13 -- cookies disabled.
    Thank you. You're the man :o)