Fullscreen
Loading...
 
Skip to main content

tikiwiki calls non-existent pear library without checking that library is installed

Status
Closed
Subject
tikiwiki calls non-existent pear library without checking that library is installed
Version
2.x
Category
  • Error
Feature
Administration
Database MySQL (MyISAM)
External Authentication (LDAP, AD, PAM, CAS, etc)
Installer (profiles, upgrades and server-related issues)
User Administration (Registration, Login & Banning)
Resolution status
Out of Date
Submitted by
Jean-Marc Libs
Lastmod by
Philippe Cloutier
Rating
(0)
Description

I have configured "tiki and pear::auth" in the login section of tikiwiki on a server which did not have the pear php libraries installed.
Next time I try to login with a user (not admin), I see a blank page.

This happens because on line 756 of file lib/userslib.php
$a = new Auth("LDAP", $options, "", false, $user, $pass);
just dies without any error message.

Solution

There could be some manner of testing the presence of the required pear package before using it.
I suppose this might be done by testing the presence of a function provided in the package ? I'm not sure.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
932
Created
Thursday 16 November, 2006 13:41:24 UTC
by Unknown
LastModif
Wednesday 13 October, 2021 13:27:38 UTC


Show PHP error messages