Bug #5237


Unable to install additional applications after first installation

Added by Ludwig Theunis almost 11 years ago. Updated over 10 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Version: chamilo stable from bitbucket on 2012-07-23.

Opening the 'Package manager' in the admin shows an fatal error:
The platform tree is visible but the window next to it shows fatal error:
Fatal error: Call to a member function item() on a non-object in /home/thlu/workspace/chamilo_3/core/lynx/package/php/lib/data_class/package.class.php on line 563

When you select other items in the menu it shows content in the window.
Only the 'Application' selection in the three menu shows the fatal error, so it is not possible to install extra applications after the first install. Also not all installed applications are shown here?

Actions #1

Updated by Ludwig Theunis almost 11 years ago

Is it possible it depends on the version of PHP??
Apparently the apps installation-deïnstallation works on my newly installed server (Ubuntu 12.04) PHP 5.3.10-1ubuntu3.2, MySQL 5.5.24 abut not on my local machine (ubuntu 10.04) 5.3.2-1ubuntu4.17, MySQL 5.1.63.

Actions #2

Updated by Ludwig Theunis almost 11 years ago

So it is the version of PHP!

I've upgraded the PHP version of my local machine to 5.3.10, now it also works on the local machine.

This means that PHP 5.3.10 or higher is required.

Actions #3

Updated by Ludwig Theunis over 10 years ago

Some weeks ago I installed 3.1 lili on a hosted virtual machine (5.3.2-1ubuntu4.17); an 'older' php-version. I do not get the error
So I also installed the latest chamilo from the stable (16th October). This still gives the fatal error!!

Actions #4

Updated by Ludwig Theunis over 10 years ago

So, after some more investigation, i found the application 'Phrases' causes the fatal error when the application browser want to load.
Removing this application from the folder fixes the problem!

So there is something wrong in the phrases application.

Actions #5

Updated by Sven Vanpoucke over 10 years ago

Hi Ludwig

Sometimes old applications are not compatible anymore with the new structure and should therefore be removed before installation can continue.
The same applies to the content object forum_post and to the weblcms tool maintenance.

Best Regards


Also available in: Atom PDF