Bug 1304270 - Wrong include path for phpseclib
Summary: Wrong include path for phpseclib
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: phpMyAdmin
Version: 22
Hardware: i586
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-03 08:46 UTC by John Damm Sørensen
Modified: 2016-02-03 22:21 UTC (History)
2 users (show)

Fixed In Version: phpMyAdmin-4.5.4.1-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-03 22:21:17 UTC
Type: Bug


Attachments (Terms of Use)

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.


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