Project

General

Profile

Bug #8388

icalcreator library is missing on fresh install

Added by Yannick Warnier almost 5 years ago. Updated almost 5 years ago.

Status:
Bug resolved
Priority:
Normal
Category:
Installation / Migration
Target version:
Start date:
08/08/2016
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

I tagged v1.11.0-beta.1 but there is an issue with icalcreator.

PHP Warning: require(/var/www/chamilo/www/vendor/kigkonsult/icalcreator/iCalcreator.php): failed to open stream: No such file or directory in /var/www/chamilo/www/vendor/composer/autoload_real.php on line 55
[Mon Aug 08 02:56:21.936680 2016] [:error] [pid 8588] [client 190.117.112.110:33288] PHP Fatal error: require(): Failed opening required '/var/www/chamilo/www/vendor/kigkonsult/icalcreator/iCalcreator.php' (include_path='.:/usr/share/php') in /var/www/chamilo/www/vendor/composer/autoload_real.php on line 55

At first glance, this seems to be related to this commit: https://github.com/chamilo/chamilo-lms/commit/f9886fbb8d9de0118c62a9750f6cae617d07ff0c

Associated revisions

Revision 5d577153 (diff)
Added by Angel Fernando Quiroz Campos almost 5 years ago

Fix installer when DB is in strict mode - refs #8388

Revision b122f061 (diff)
Added by Angel Fernando Quiroz Campos almost 5 years ago

Decrease field lenght on version table - refs #8388

History

#1

Updated by Yannick Warnier almost 5 years ago

  • Assignee changed from Yannick Warnier to Angel Quiroz
  • % Done changed from 0 to 20

This is also related to https://support.chamilo.org/issues/7889, but even using "git rm --cached", I cannot remove the .git from this folder and it is not taken into account when adding it to git.

I am temporarily removing the .git folder from vendor/kigkonsult/icalcreator manually in order to add it to git.

#2

Updated by Yannick Warnier almost 5 years ago

Same type of error (I think) with urlify:
Fatal error: Uncaught Error: Class 'URLify' not found in /var/www/chamilo/www/main/inc/lib/api.lib.php:5619 Stack trace: #0 /var/www/chamilo/www/main/inc/lib/course.lib.php(5493): api_replace_dangerous_char('BCD') #1 /var/www/chamilo/www/main/create_course/add_course.php(275): CourseManager::generate_course_code('BCD') #2 {main} thrown in /var/www/chamilo/www/main/inc/lib/api.lib.php on line 5619

#3

Updated by Angel Quiroz almost 5 years ago

  • Status changed from Assigned to Needs more info
  • Assignee changed from Angel Quiroz to Yannick Warnier

He borrado vendor y composer.lock y luego un composer install y el proceso de instalación, me ha funcionado bien con PHP 5.6.11

#4

Updated by Angel Quiroz almost 5 years ago

Hice unas correcciones en el instalador respecto a las tablas tickets.
Pero en digital ocean me aparece un error al crear la tabla version y creo es porque el campo version es varchar(255) y debería ser varchar(16) más o menos, por una limitación de los índices en mysql.

#5

Updated by Angel Quiroz almost 5 years ago

  • Assignee changed from Yannick Warnier to Angel Quiroz
  • % Done changed from 20 to 30

Acabo de corregir un problema con la tabla version que no dejaba instalar chamilo en php7 y mariadb.

#6

Updated by Angel Quiroz almost 5 years ago

  • Assignee changed from Angel Quiroz to Yannick Warnier
  • % Done changed from 30 to 50

No puedo reproducir el error mencionado en la tarea, Chamilo se instala bien. Pero encontré un warning con PHP7 al crear usuarios, registrado en la tarea #8399

#7

Updated by Yannick Warnier almost 5 years ago

  • Status changed from Needs more info to Bug resolved
  • % Done changed from 50 to 100

OK, considerando que ahora tienes el mismo ambiente de prueba que cuando yo lo probé, creo que podemos cerrar esta tarea (es seguro que ha sido un problema temporal, probablemente arreglado por uno de los últimos commits de Julio en composer.json). Gracias.

#8

Updated by Yannick Warnier almost 5 years ago

  • Status changed from Bug resolved to Assigned
  • Assignee changed from Yannick Warnier to Julio Montoya
  • % Done changed from 100 to 20

I had the same issue again. Reopening.
This comes with the beta package available here: https://github.com/chamilo/chamilo-lms/releases/

#9

Updated by Julio Montoya almost 5 years ago

  • Status changed from Assigned to Needs more info
  • Assignee changed from Julio Montoya to Yannick Warnier

Yannick Warnier wrote:

I had the same issue again. Reopening.
This comes with the beta package available here: https://github.com/chamilo/chamilo-lms/releases/

Well in the beta zip package the vendor/kigkonsult/icalcreator folder exists but is empty.

In the repo the folder exists also but is empty:

https://github.com/chamilo/chamilo-lms/tree/1.11.0-releases/vendor/kigkonsult

#10

Updated by Yannick Warnier almost 5 years ago

  • Status changed from Needs more info to Bug resolved
  • % Done changed from 20 to 100

I've fixed that by adding a fork and adding a version tag to avoid the .git. I also updated Release_procedure because that technique didn't work with Essence.

Also available in: Atom PDF