[Bug 703981] New: Weird session behaviour with phpMyAdmin on Apache
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c0 Summary: Weird session behaviour with phpMyAdmin on Apache Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: aaugusto@uvigo.es QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 The system runs apache2-2.2.15-3.7.x86_64 apache2-mod_php5-5.3.3-0.19.1.x86_64 php5-5.3.3-0.19.1.x86_64 phpMyAdmin-3.4.3.1-15.1.noarch and you can log into the phpMyAdmin, but once in the main page you can't navigate to anywhere else, as the frames start showing "phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly." There is also the same bug in https://bugzilla.novell.com/show_bug.cgi?id=697535 Searching the net I have found some old posts with suggestions on checking the write permissions of the sessions directory, but doesn't help. Reproducible: Always Steps to Reproduce: 1. Log into the server, give user and pass 2. First page loads 3. Click on any link (on any frame) and the error appear Actual Results: banner with "phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly." is shown and the application doesn't responde any more Expected Results: Browse the databases -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c1 Andres Nogueiras Melendez <aaugusto@uvigo.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-06 13:53:16 UTC --- Find a "trick" to fix this weird behavior. earth:~# cd /etc/apache2/conf.d earth:/etc/apache2/conf.d # vi phpMyAdmin.conf and change php_admin_value open_basedir "/srv/www/htdocs/phpMyAdmin:/var/lib/php5:/tmp:/usr/share/doc/packages/phpMyAdmin:/etc/phpMyAdmin" to php_admin_value open_basedir "/srv/www/htdocs/phpMyAdmin:/var/lib/php5:/tmp:/usr/share/doc/packages/phpMyAdmin" write and quit, earth:/etc/apache2/conf.d # rcapache2 restart and now we can log in and use the dbs. However, what is wrong with the new config? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c2 Andres Nogueiras Melendez <aaugusto@uvigo.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-07 09:11:00 UTC --- I will just mark it as not resolved, due to the lack of answers in this openSuSE version and the new one. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c3 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@computersalat.de, | |crrodriguez@opensuse.org, | |suse-beta@cboltz.de AssignedTo|bnc-team-apache@forge.provo |lang@b1-systems.de |.novell.com | --- Comment #3 from Christian Boltz <suse-beta@cboltz.de> 2011-07-13 00:32:20 CEST --- Sounds like you have something strange[tm] in /etc/phpMyAdmin/ ... To find out if it is something in your config or a general problem, can you please - revert the change in the apache config - restart apache - rename /etc/phpMyAdmin/config.inc.php to "config.inc.php_MY" - reinstall phpMyAdmin (might need --force if you try to install the same version again) - afterwards, you should have a /etc/phpMyAdmin/config.inc.php again - check if phpMyAdmin works with the fresh config.inc.php - if yes: run "diff -u config.inc.php config.inc.php_MY" and paste or upload the result to bugzilla (edit out any passwords if needed) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c4 --- Comment #4 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-13 14:23:46 UTC --- Created an attachment (id=439697) --> (http://bugzilla.novell.com/attachment.cgi?id=439697) execution of diff on configuration files as requested in comment #3 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c5 --- Comment #5 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-13 14:28:40 UTC --- Sorry not so good using bugzilla. :-( Now the comments to the previous attachment
Sounds like you have something strange[tm] in /etc/phpMyAdmin/ ...
Maybe
To find out if it is something in your config or a general problem, can you please - revert the change in the apache config
done
- restart apache
done, now it doesn't work as expected
- rename /etc/phpMyAdmin/config.inc.php to "config.inc.php_MY"
done, now it works...
- reinstall phpMyAdmin (might need --force if you try to install the same version again) - afterwards, you should have a /etc/phpMyAdmin /config.inc.php again
done, but can't reinstall 3.4.3.1-15.1 because in the repositories now the existing version is 3.4.3.1-13.1. the --force option was needed to downgrade.
- check if phpMyAdmin works with the fresh config.inc.php
Yes it does!
- if yes: run "diff -u config.inc.php config.inc.php_MY" and paste or upload the result to bugzilla (edit out any passwords if needed)
Uploaded prior to this message, only blowfish string was edit to "*" Thanks, and hope this help. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c6 --- Comment #6 from Christian Wittmer <chris@computersalat.de> 2011-07-14 18:29:40 UTC --- I can not provoke this magic session behaviour, open_basedir setting. no problems here with 11.3, 11.4, SLES 11 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c7 --- Comment #7 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-14 18:41:09 UTC --- Just one check. As user do rpm -qa | grep phpMyAdmin and post the version. All my system have failed while having the 3.4.3.1-15.1 (fifteen) version installed. Then this version was downgraded to the 3.4.3.1-13.1 and the weird behavior desapeared. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c8 --- Comment #8 from Christian Wittmer <chris@computersalat.de> 2011-07-14 18:57:34 UTC --- If we are talking about "server:php:applications", then I doubt that there could be a "downgrade" of version without seeing anything in revision history. And ther e is no change in rev hist. There was update from 3.4.2 to 3.4.3.1 and then no changes. And this is last build 3.4.3.1-13.1. And I am installing and testing anytime I do updates. I'm not saying I am perfect, but I did not investigate problems with this build. https://build.opensuse.org/package/rdiff?commit=11&linkrev=base&package=phpMyAdmin&project=server%3Aphp%3Aapplications -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c9 --- Comment #9 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-14 19:07:36 UTC --- I just agree with you, as long as you're the mantainer of the package, and nobody knows better than you what is going on. However my system (just before 2011-07-13) has the missing 15.1 version. If you do a search on google (I just do it) with "phpMyAdmin 3.4.3.1-15.1" you will be surprised to see one repository that once contained this package. ¿Can the repositories be compromised? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c10 --- Comment #10 from Christian Wittmer <chris@computersalat.de> 2011-07-14 19:17:55 UTC --- hmm, I am surprised that google has found something. This is really weird, I will check that with obs guru. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c11 --- Comment #11 from Andres Nogueiras Melendez <aaugusto@uvigo.es> 2011-07-14 19:33:20 UTC --- Yes, that's the question! Thanks for helping and doing a very good job! -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c12 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Critical --- Comment #12 from Cristian Rodríguez <crrodriguez@opensuse.org> 2011-07-21 00:33:15 CLT --- Current package in server:php:applications works for me... anyone seeing this issue with the _current_ version ? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c13 --- Comment #13 from Ralf Lang <lang@b1-systems.de> 2011-08-27 18:46:27 UTC --- No. See also https://bugzilla.novell.com/show_bug.cgi?id=697535. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c14 Roman Drahtmueller <draht@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |draht@suse.com --- Comment #14 from Roman Drahtmueller <draht@suse.com> 2012-01-24 10:48:57 UTC --- Christian, can you please confirm for closing this bug? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c15 --- Comment #15 from Christian Wittmer <chris@computersalat.de> 2012-01-24 14:41:56 UTC --- confirmed -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=703981 https://bugzilla.novell.com/show_bug.cgi?id=703981#c16 Roman Drahtmueller <draht@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #16 from Roman Drahtmueller <draht@suse.com> 2012-01-26 01:31:42 UTC --- Then we close this one. Thank you! :) -- 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.
participants (1)
-
bugzilla_noreply@novell.com