chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

troubles editing learning path in 1.11.16 with php8

Open Morepizza1 opened this issue 2 years ago • 1 comments

Editing the learning paths in version 1.11.16 with php8 doesn't work correct.

E.g. it is impossible to put a pdf document from the document folder in the learning path, because the document folder has no documents in the learning path. There are also other problems with the learning path.

  • OS: W7
  • Browser: Opera latest

**Server

  • OS: Linux ...
  • Version of Chamilo: 1.11.16
  • Version of PHP: 8.1

Morepizza1 avatar Sep 13 '22 14:09 Morepizza1

Chamilo 1.11.16 is not fully compatible with PHP 8, PHP 7.4 is recommended More info: https://forum.chamilo.org/viewtopic.php?f=52&t=11844

nosolored avatar Sep 13 '22 15:09 nosolored

I tried with the (1.11.16) tar.gz package in a docker container configured for PHP8 and the PDF files were uploaded correctly Then I tried with a container for PHP8.1 I can't use Chamilo due to dependency issues

AngelFQC avatar Sep 27 '22 16:09 AngelFQC

@ywarnier @AngelFQC Any final date for 1.11.18 release ?

xam1234 avatar Sep 29 '22 13:09 xam1234

Not yet :-)

ywarnier avatar Sep 29 '22 14:09 ywarnier

With chamilo 1.1.16 and php 8.0, there is also a problem with changing existing multiple choice questions. The possible answers are not more visible if you want to edit them.

Morepizza1 avatar Oct 23 '22 15:10 Morepizza1

Php 8 is not really recommended with 1.11 :) I installed 1.11.20 under php 7.4 and switched to php 8.1. I have to perform extra tests but it seems working fine. If needed, I revert to PHP 7.4, which fully works.

Coursenligne avatar Jun 28 '23 10:06 Coursenligne

Not sure what to expect from this issue. 1.11.x will not be officially compatible with PHP 8.* (we depend on many libraries which have changed considerably to support 8.* or do not support it at all). Chamilo 2.0 is on the way. Should be ready later this year (hopefully) and supports PHP 8.1 (not 8.2, but we'll probably fix that by then). It can be installed but it is not in alpha stage yet, so no installation in production (db and file structures still requires a few changes)

ywarnier avatar Aug 02 '23 13:08 ywarnier