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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 932
- Created
- Thursday 16 November, 2006 13:41:24 UTC
by Unknown - LastModif
- Wednesday 13 October, 2021 13:27:38 UTC