Chamilo-lms: 1.11.8 Fresh Installation Error

Created on 13 Aug 2018  路  10Comments  路  Source: chamilo/chamilo-lms

Current behavior / Resultado actual / R茅sultat actuel

image

Expected behavior / Resultado esperado / R茅sultat attendu

image

Connection Result and Next Button

Steps to reproduce / Pasos para reproducir / 脡tapes pour reproduire

clone git version and install

Chamilo Version / Versi贸n de Chamilo / Version de Chamilo

1.11.8

Operating System

Ubuntu 16.04 Apache 2.4 php 7.0 mariadb 10

Bug

All 10 comments

Chamilo 1.11.8
https://github.com/chamilo/chamilo-lms/releases/download/v1.11.8/chamilo-1.11.8-php7.zip

@ywarnier Has Chamilo been generated in a PHP 7.1 or 7.2 environment?

Installation environment: PHP 7.0 - MySQL 5.6 - 5.7

Error:

Fatal error: Uncaught TypeError: Return value of DoctrineCommonAnnotationsAnnotationRegistry::registerFile() must be an instance of DoctrineCommonAnnotationsvoid, none returned in /.../vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php:67 Stack trace: #0 /.../vendor/doctrine/orm/lib/Doctrine/ORM/Configuration.php(152): DoctrineCommonAnnotationsAnnotationRegistry::registerFile('/......') #1 /.../vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php(71): DoctrineORMConfiguration->newDefaultAnnotationDriver(Array, false) #2 /.../main/inc/lib/database.lib.php(771): DoctrineORMToolsSetup::createAnnotationMetadataConfiguration(Array, true, '/......', NULL, false) #3 /.../main/inc/lib/database.lib.php(145): Database::getDoctrineConfig('/...') #4 /.../web in /.../vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php on line 67

It was generated in a PHP 7.2 environment but using composer's trick to fake the PHP version. Apparently that wasn't enough. I will be re-packaging in the next few hours.

In 7.1 and 7.2 it works fine, as far as the reports that have come to me until now. Will update this task as soon as it is re-packaged.

Okay. We will perform tests. Thank you very much.

With the github version https://github.com/chamilo/chamilo-lms/tree/1.11.x and PHP 7.0.31/MySQL 5.7 it works correctly.

The new package is ready for PHP7.0. Could you test it now? (I'm still uploading PHP 5.6 but 7.0 is OK)
https://github.com/chamilo/chamilo-lms/releases/download/v1.11.8/chamilo-1.11.8-php7.zip

Versions for PHP 5.6 have been uploaded again too.

OK, I have tested both those new .tar.gz versions in their respective expected version of PHP (5.6 and 7.0) and everything worked fine. I'm waiting for your review but I consider it enough to start announcing the release.

@mozesj please download again from the "releases" page (the file with the php version in its name) and let us know if that solved the issue. Sorry about the packaging error and I hoe you enjoy Chamilo from now on.

@ywarnier it works! the installation completed successfully

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vfremaux picture vfremaux  路  5Comments

ghost picture ghost  路  5Comments

480419140 picture 480419140  路  5Comments

linkmoises picture linkmoises  路  7Comments

jderriks picture jderriks  路  8Comments