PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » Auth_HTTP » Bug #7536

Package PEAR never included

Details

Submitted2006-05-01 19:08 UTC
Frompatrick dot strasser at tugraz dot at
Assignedhirokawa
StatusClosed
PackageAuth_HTTP
PHP Version5.1.2
OSLinux
Roadmaps(Not assigned)

Comments

[2006-05-01 19:08 UTC] patrick dot strasser at tugraz dot at

Description:
------------
With my code (attached) I get an
Fatal error: Class 'PEAR' not found in /path/to/Auth/HTTP.php on line 324

Seems like Auth is not including PEAR and Auth_HTTP didn't care either. There are 2 references to PEAR, each with raiseError.

Test script:
---------------
require_once "Auth/HTTP.php";

/** File_Authbasic is my own adaptor for Auth */
$auth = new Auth_HTTP("File_Authbasic" ,$path_to. ".htgroup");
$auth->start();

Actual result:
--------------
Fatal error: Class 'PEAR' not found in /path/to/Auth/HTTP.php on line 324