Bug 1304270 - Wrong include path for phpseclib
Wrong include path for phpseclib
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: phpMyAdmin (Show other bugs)
22
i586 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Robert Scheck
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-03 03:46 EST by John Damm Sørensen
Modified: 2016-02-03 17:21 EST (History)
2 users (show)

See Also:
Fixed In Version: phpMyAdmin-4.5.4.1-1.fc22
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-03 17:21:17 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Damm Sørensen 2016-02-03 03:46:34 EST
Description of problem:
After laatest update of phpMyAdmin the product fails

Version-Release number of selected component (if applicable):
4.5.4

How reproducible:


Steps to Reproduce:
1. Upgrade phpMyAdmin to 4.5.4-1.fc22
2.
3.

Actual results:
After the update users cannot access phpMyAdmin and the log contains this entry:
[Tue Feb 02 21:25:24.356067 2016] [:error] [pid 3675] [client IP-address:62375] PHP Fatal error:  require(): Failed opening required '/usr/share/pear/:/usr/share/php/phpseclib//Crypt/Random.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/libraries/session.inc.php on line 16


Expected results:
Login screen

Additional info:
Solution is to install phpseclib and change the definition of PHPSECLIB_INC_DIR in /usr/share/phpMyAdmin/libraries/vendor_config.php line 85 to
define('PHPSECLIB_INC_DIR', '/usr/share/php/phpseclib/');
Comment 1 Morten Stevens 2016-02-03 08:41:32 EST
Same error here.

PHP Fatal error:  require(): Failed opening required '/usr/share/pear//Crypt/Random.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/libraries/session.inc.php on line 16
Comment 2 Robert Scheck 2016-02-03 17:21:17 EST
Fixed with https://bodhi.fedoraproject.org/updates/FEDORA-2016-5beb618566
now, sorry for the trouble.

Note You need to log in before you can comment on or make changes to this bug.