Bug 1304270

Summary: Wrong include path for phpseclib
Product: [Fedora] Fedora Reporter: John Damm Sørensen <john>
Component: phpMyAdminAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: mstevens, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
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 22:21:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Damm Sørensen 2016-02-03 08:46:34 UTC
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 13:41:32 UTC
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 22:21:17 UTC
Fixed with https://bodhi.fedoraproject.org/updates/FEDORA-2016-5beb618566
now, sorry for the trouble.