Project

General

Profile

Bug #7813

You can not add new User.

Added by Tomas Rodrigues about 4 years ago. Updated about 4 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/09/2015
Due date:
% Done:

100%

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

Description

Hello.
You can not add new User.
Reports that when trying to add a new User.
He received a blank page.
Thank you.

Chamilo 1.10.0 downloaded here.
https://github.com/chamilo/chamilo-lms/releases/tag/v1.10.0-beta.1
Version Source code (tar.gz)

History

#1

Updated by Yannick Warnier about 4 years ago

  • File server-type.png added
  • Status changed from New to Needs more info
  • Assignee set to Tomas Rodrigues

This works perfectly here and on https://unstable.chamilo.org
Could you put your server in development mode and report on the error messages that appear?

There is definitely something wrong with your config and we're interested in knowing what it is to avoid other having the same issues. Could you describe your basic system (operating system, distribution, version, screenshot of the "System status" pages (https://unstable.chamilo.org/main/admin/system_status.php)?

Currently you are reporting several issues that should not be there on a normal installation, so it looks like something is wrong on your side but we don't understand what it is.

#2

Updated by Tomas Rodrigues about 4 years ago

Hello.
Yannick Warnier
I did the test:
https://unstable.chamilo.org/
And this funcinando.
Plus I downloaded and installed.
It was with these problems.
If you can take a test.
I believe it is easier to see the problem.
thank you

https://enempassei.com/puma/
user: admin
password: admin

#3

Updated by Tomas Rodrigues about 4 years ago

  • File deleted (user-1.jpg)
#4

Updated by Tomas Rodrigues about 4 years ago

  • File deleted (user-2.jpg)
#5

Updated by Tomas Rodrigues about 4 years ago

  • File deleted (server-type.png)
#6

Updated by David Guénard about 4 years ago

Bonjour,
J'ai le même problème à la création d'un utilisateur...

Fatal error: Can't use method return value in write context in /DATA/cham-web/www/main/inc/lib/formvalidator/Element/DateTimePicker.php on line 40

La source de l'erreur est la ligne 264 du fichier main/admin/user_add.php

264 $group[] = $form->createElement(
265     'DateTimePicker',
266     'expiration_date',
267     null,
268     array(
269         'onchange' => 'javascript: enable_expiration_date();'
270     )
271 );

PHP Version 5.4.44-0+deb7u1

#7

Updated by Yannick Warnier about 4 years ago

Cela devrait être corrigé dans la 1.10.x de git. Quelle version utilises-tu?

#8

Updated by David Guénard about 4 years ago

J'utilise la version de l'annonce :https://github.com/chamilo/chamilo-lms/releases/tag/v1.10.0-beta.1
Je ne suis pas sur le GIT en clone, car j'avais des soucis de "composer" pour l'installation

#9

Updated by Tomas Rodrigues about 4 years ago

Hi,
David Guénard.
I managed to solve this problem.
Changing the contents of this DateTimePicker.php file.
With it here:
https://github.com/chamilo/chamilo-lms/blob/1.10.x/main/inc/lib/formvalidator/Element/DateTimePicker.php
Regards.

#10

Updated by Yannick Warnier about 4 years ago

  • Tracker changed from Support to Bug
  • Status changed from Needs more info to Bug resolved
  • Assignee changed from Tomas Rodrigues to Julio Montoya
  • % Done changed from 0 to 100

Beta 2 should also solve this issue (beta 2 includes the patch mentioned above). Closing the task.

Also available in: Atom PDF