Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251070

Summary: dev-db/phpmyadmin requires dev-lang/php[spl]
Product: Gentoo Linux Reporter: Alex <alreece45>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add check for spl use flag && added spl and ctype use flags to error message

Description Alex 2008-12-15 22:51:03 UTC
When built without the spl use flag, phpMyAdmin fails to run with the error:

Fatal error: Class 'ArrayObject' not found in /var/www/localhost/htdocs/phpmyadmin/libraries/List.class.php on line 14

because the Standard PHP Library isn't installed (and phpMyAdmin expects it to be installed)

Reproducible: Always

Steps to Reproduce:
1. install dev-lang/php without spl use flag
2. install dev-db/phpmyadmin-3.0.1.1
3. try running phpmyadmin

Actual Results:  
Fails with:

Fatal error: Class 'ArrayObject' not found in /var/www/localhost/htdocs/phpmyadmin/libraries/List.class.php on line 14

Expected Results:  
Runs without fatal error because of undefined classes defined in the SPL extension
Comment 1 Alex 2008-12-15 22:53:12 UTC
Created attachment 175378 [details, diff]
add check for spl use flag && added spl and ctype use flags to error message
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2008-12-28 20:52:35 UTC
thanks for the report and the fix! in cvs.