[Bug 223725] New: phpMyAdmin YOU update breaks configuration
https://bugzilla.novell.com/show_bug.cgi?id=223725 Summary: phpMyAdmin YOU update breaks configuration Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Maintenance AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de I just installed the phpMyAdmin-2.9.1.1-2.1 which is available via YOU. (well, I use fou4s, but this shouldn't matter) The rpm postinstall script moves config.inc.php to /srv/www/htdocs/phpMyAdmin/libraries/, but it is still expected in /srv/www/htdocs/phpMyAdmin/. Moving it back to /srv/www/htdocs/ which fixes the issue. BTW: root@server:/srv/www/htdocs/phpmyadmin> grep -r config.inc.php . | \ grep -v /lang/ |grep -v Documentation # minus comments /libraries/common.lib.php: $_SESSION['PMA_Config'] = new PMA_Config('./config.inc.php'); /libraries/common.lib.php: . ($_SESSION['PMA_Config']->getSource() == './config.inc.php' ? /pdf_pages.php: echo sprintf($strNotSet, 'relation', 'config.inc.php') . '<br />' . "\n" /pdf_pages.php: echo sprintf($strNotSet, 'table_info', 'config.inc.php') . '<br />' . "\n" /pdf_pages.php: echo sprintf($strNotSet, 'table_coords', 'config.inc.php') '<br />' . "\n" /pdf_pages.php: echo sprintf($strNotSet, 'pdf_page', 'config.inc.php') . '<br />' . "\n" /show_config_errors.php:require('./config.inc.php'); BTW2: The include/require path is always relative to the script opened in the browser, _not_ relative to the script that contains the include/require command. (Severity because online updates should never break anything ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 mmrazik@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |anosek@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 ------- Comment #1 from mmarek@novell.com 2006-11-28 08:12 MST ------- Mea culpa. With the update to 2.8.0.3, config.default.php moved from /srv/www/htdocs/phpMyAdmin/ to /srv/www/htdocs/phpMyAdmin/libraries/ and I wrongly assumed that config.inc.php moved, too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 ------- Comment #2 from mmarek@novell.com 2006-11-28 08:23 MST ------- Created an attachment (id=107226) --> (https://bugzilla.novell.com/attachment.cgi?id=107226&action=view) phpMyAdmin.spec This is how the spec should look like (but now we'll have to handle this bug somehow...). We don't need to package config.inc.php, because the default configuration is contained in libraries/config.default.php -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 ------- Comment #3 from mmarek@novell.com 2006-11-28 08:33 MST ------- Created an attachment (id=107228) --> (https://bugzilla.novell.com/attachment.cgi?id=107228&action=view) phpMyAdmin.spec with workaround Spec with %post script that moves the config.inc.file back where it belongs. Someone please comment on this, so that it's not broken for the second time... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #107228|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #5 from mmarek@novell.com 2006-12-01 07:12 MST ------- *** This bug has been marked as a duplicate of bug 223721 *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 ------- Comment #6 from judas_iscariote@shorewall.net 2006-12-01 19:31 MST ------- Michal: Patch2: %{name}-%{version}-mysqli.patch must only be applied when SUSE version is > 10.1 ;) in older PHP versions (< 5.1 ) mysqli extension is very broken on 64bit systems and produces very strange results... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 ------- Comment #7 from judas_iscariote@shorewall.net 2006-12-01 19:32 MST ------- (In reply to comment #6)
must only be applied when SUSE version is > 10.1 ;)
I mean >= 10.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 ------- Comment #8 from mmarek@novell.com 2006-12-02 05:09 MST ------- The attached spec was for 10.2. Older distros (10.1, 10.0, 9.3) don't have the patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223725 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED ------- Comment #9 from suse-beta@cboltz.de 2006-12-07 17:55 MST ------- I VERIFIED that - this bug is a duplicate of bug 223721 - the config file (manually moved back to .../phpMyAdmin/config.inc.php) survived the update (tested on 10.1) - the RPM script looks correct -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com