Ticket #3658 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

module_admin fails with PHP error when online repository not available

Reported by: p_lindheimer Assigned to:
Priority: minor Milestone: 2.6
Component: FreePBX Framework Version: 2.5-branch
Keywords: Cc:
Confirmation: Confirmed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

per some discussions in:

http://freepbx.org/forum/freepbx/installation/cannot-update-modules-the-saga-continues

the call to module_getonlinexml() can return null which results in:

$modules += $modules_online;

failing with a PHP error:

Fatal error: Unsupported operand types in /var/lib/asterisk/bin/module_admin on line 142

Change History

05/06/09 11:36:46 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [7645]) fixes #3658 module_admin PHP error when online repository not available

05/06/09 13:34:40 changed by p_lindheimer

(In [7646]) Merged revisions 7352-7407,7409-7460,7462-7481,7483-7519,7521,7524-7529,7531-7543,7545-7551,7553-7590,7596,7598-7637,7639,7641-7645 via svnmerge from http://svn.freepbx.org/freepbx/branches/2.5

........

r7410 | mickecarlsson | 2009-01-07 10:02:26 -0800 (Wed, 07 Jan 2009) | 1 line

re #3463, updated the amp.pot file and Swedish language

........

r7420 | mickecarlsson | 2009-01-27 10:01:03 -0800 (Tue, 27 Jan 2009) | 1 line

Closes #3484 updated spanish language for core (and modules)

........

r7423 | mickecarlsson | 2009-01-27 10:24:35 -0800 (Tue, 27 Jan 2009) | 1 line

Closes #3438 updated amp.po file for french language

........

r7441 | mickecarlsson | 2009-02-01 10:46:43 -0800 (Sun, 01 Feb 2009) | 1 line

Closes #3503 adds chinese language to core

........

r7460 | mickecarlsson | 2009-02-16 12:35:51 -0800 (Mon, 16 Feb 2009) | 1 line

Closes #3539 updates Bulgarian language to core and ari. Thank you chocho

........

r7551 | mickecarlsson | 2009-03-26 04:36:44 -0700 (Thu, 26 Mar 2009) | 1 line

Closes #3596, adds Danish language to Ari. Thank you danielz

........

r7572 | mickecarlsson | 2009-04-06 11:20:22 -0700 (Mon, 06 Apr 2009) | 1 line

Closes #3616 adds Portuguese (Brasil) language to amp. Thank you Flavio E. Goncalves. Please feel free to do the Brazilian translations fro FreePBX

........

r7614 | p_lindheimer | 2009-05-02 10:35:40 -0700 (Sat, 02 May 2009) | 1 line

fixes #3449 path is relative to admin and not admin/views directory

........

r7616 | p_lindheimer | 2009-05-02 10:44:53 -0700 (Sat, 02 May 2009) | 1 line

closes #3556

........

r7625 | p_lindheimer | 2009-05-02 11:58:49 -0700 (Sat, 02 May 2009) | 1 line

fixes 641 hardcoded path

........

r7628 | p_lindheimer | 2009-05-02 13:19:12 -0700 (Sat, 02 May 2009) | 1 line

fixes #3513 check/report db error

........

r7629 | p_lindheimer | 2009-05-02 13:29:44 -0700 (Sat, 02 May 2009) | 1 line

fixes #3525 HTML errors

........

r7645 | p_lindheimer | 2009-05-06 09:36:46 -0700 (Wed, 06 May 2009) | 1 line

fixes #3658 module_admin PHP error when online repository not available

........