<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>169697</bug_id>
          
          <creation_ts>2007-03-07 01:40 0000</creation_ts>
          <short_desc>dev-db/phpmyadmin - improved phpmyadmin postinstall file</short_desc>
          <delta_ts>2007-05-30 18:39:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>davidgrant@gmail.com</reporter>
          <assigned_to>web-apps@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2007-03-07 01:40:31 0000</bug_when>
            <thetext>The postinstall message says this:

   Alternatively, use the default config file in libraries/config.default.php

   mkdir /var/www/goliath.internal.dwavesys.com/htdocs/phpmyadmin/config
   chmod o+rw /var/www/goliath.internal.dwavesys.com/htdocs/phpmyadmin/config
   # if you want to edit existing configuration:
   cp /var/www/goliath.internal.dwavesys.com/htdocs/phpmyadmin/config.inc.php /var/www/goliath.internal.dwavesys.com/htdocs/phpmyadmin/config/
   chown -R apache:apache /var/www/goliath.internal.dwavesys.com/htdocs/phpmyadmin/config

This is confusing because:

1) The instructions are preceded by &quot;alternatively, use the default config file in libraries/config.default.php&quot;. This implies that the following instructions are going to be related with how to do that, but they aren&apos;t.
2) It talks about copying /var/www/goliath.internal.dwavesys.com/htdocs/phpmyadmin/config.inc.php which does not exist in a fresh install (and it might not even exist in an old install), but it sounds like these instructions are for fresh installs only, as above in step 0 is says &quot;If this is a new installation,&quot; and below after step 2 there is a break &quot;==============&quot; and then it says &quot;If you are upgrading from an earlier version...&quot;

How to fix it:

I will attach my suggested new version</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2007-03-07 01:43:00 0000</bug_when>
            <thetext>Created an attachment (id=112356)
improved postinstall-en-2.8.0.txt

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-07 01:43:44 0000</bug_when>
            <thetext>Again? Please, you&apos;ve already filed this 3 times, enough.

*** This bug has been marked as a duplicate of bug 140140 ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2007-03-07 01:55:37 0000</bug_when>
            <thetext>I know but I keep noticing the problem every time I upgrade phpmyadmin.

Renat&apos;s comment in Bug #140140: &quot;as the comment says, the line you&apos;re referring to is meant for editing an_existing_ config.inc.php&quot; is correct but I never read it closely enough at the time and forgot about that bug (until I upgraded to phpmyadmin again).

The real problem with the postinstall text is that it is worded strangely. Or put another way, step 1 (in the original, I renamed it to step 2) is trying to do 3 things but it is not clear that those 3 things are really three things as the word &quot;alternatively&quot; is only used once. I have split this up into a), b), and c) and now it is much more clear. I would like the maintainer of phpmyadmin to have a look at this. I&apos;m sorry for not resolving this earlier but I didn&apos;t realize because I only use the &quot;default config file&quot; option so I was a bit oblivious to the &quot;existing configuration&quot; and &quot;web-based&quot; options.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-07 01:59:06 0000</bug_when>
            <thetext>Really, as noone else but you is noticing the &apos;problem&apos;, chances are that the problem is somewhere else than in the instructions itself...

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2007-03-07 17:25:25 0000</bug_when>
            <thetext>Well I already explained why the original message is unclear so I think the onus is on someone else to explain why it is so perfectly clear and cannot use any improvement.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gunnar_thielebein@gmx.net</who>
            <bug_when>2007-04-09 09:51:14 0000</bug_when>
            <thetext>Hi,

I have problems getting phpmyadmin without pma user running and phpmyadmin guys answered that this is because of a broken config.default.php of gentoo install.

For my understanding this file is also needed for the setup script to working correctly and *mustn&apos;t* be changed in anyway.

Correct way is to only take a copy of the file (or creating new one) as config.inc.php.

BTW: They already state a comment in phpmyadmin Wiki (http://wiki.cihar.com/pma/Quick_Install#Download) to avoid gentoo package</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2007-05-26 23:26:48 0000</bug_when>
            <thetext>Many thanks for this.  Your version (almost in its entirety) is in. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2007-05-26 23:27:12 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Hi,
&gt; 
&gt; I have problems getting phpmyadmin without pma user running and phpmyadmin guys
&gt; answered that this is because of a broken config.default.php of gentoo install.
&gt; 
&gt; For my understanding this file is also needed for the setup script to working
&gt; correctly and *mustn&apos;t* be changed in anyway.
&gt; 
&gt; Correct way is to only take a copy of the file (or creating new one) as
&gt; config.inc.php.
&gt; 
&gt; BTW: They already state a comment in phpmyadmin Wiki
&gt; (http://wiki.cihar.com/pma/Quick_Install#Download) to avoid gentoo package
&gt; 

We no longer patch the config file.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2007-05-30 18:39:16 0000</bug_when>
            <thetext>God damn jakub was such an asshat sometimes. Thanks Renat.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>112356</attachid>
            <date>2007-03-07 01:43 0000</date>
            <desc>improved postinstall-en-2.8.0.txt</desc>
            <filename>postinstall-en-2.8.0.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">SWYgdGhpcyBpcyBhIG5ldyBpbnN0YWxsYXRpb246CgoxLiBDcmVhdGUgTXlTUUwncyBncmFudCB0
YWJsZXMgYW5kIHRoZSBwbWFkYgogICBkYXRhYmFzZS4gTk9URTogdGhpcyB3aWxsIGNoYW5nZSB0
aGUgZXhpc3RpbmcgcG1hIHBhc3N3b3JkIHRvIGEgcmFuZG9tCiAgIHN0cmluZyEKCiAgICAgbXlz
cWwgLXUgcm9vdCAtcCA8IC91c3Ivc2hhcmUvd2ViYXBwcy9waHBteWFkbWluLyR7UFZSfS9zcWxz
Y3JpcHRzL215c3FsLyR7UFZSfV9jcmVhdGUuc3FsCgoyLiBhKSBDcmVhdGUgY29uZmlnLmluYy5w
aHAuIFlvdSBjYW4gdXNlIHRoZSB3ZWItYmFzZWQgaW5zdGFsbGVyOgoKICAgICAgICBodHRwOi8v
JHtWSE9TVF9IT1NUTkFNRX0vJHtWSE9TVF9BUFBESVJ9L3NjcmlwdHMvc2V0dXAucGhwCgogICBi
KSBBbHRlcm5hdGl2ZWx5LCB1c2UgYW4gZXhpc3RpbmcgY29uZmlndXJhdGlvbjoKCiAgICAgICAg
bWtkaXIgJHtNWV9JTlNUQUxMRElSfS9jb25maWcKICAgICAgICBjaG1vZCBvK3J3ICR7TVlfSU5T
VEFMTERJUn0vY29uZmlnCiAgICAgICAgY3AgPHBhdGggdG8gZXhpc3RpbmcgY29uZmlnLmluYy5w
aHAgZmlsZT4vY29uZmlnLmluYy5waHAgJHtNWV9JTlNUQUxMRElSfS9jb25maWcvCiAgICAgICAg
Y2hvd24gLVIgJHtWSE9TVF9TRVJWRVJfVUlEfToke1ZIT1NUX1NFUlZFUl9VSUR9ICR7TVlfSU5T
VEFMTERJUn0vY29uZmlnCgogICBjKSBBbHRlcm5hdGl2ZWx5LCB1c2UgdGhlIGRlZmF1bHQgY29u
ZmlnIGZpbGUgaW4gbGlicmFyaWVzL2NvbmZpZy5kZWZhdWx0LnBocDoKCiAgICAgICAgbWtkaXIg
JHtNWV9JTlNUQUxMRElSfS9jb25maWcKICAgICAgICBjaG1vZCBvK3J3ICR7TVlfSU5TVEFMTERJ
Un0vY29uZmlnCiAgICAgICAgY3AgJHtNWV9JTlNUQUxMRElSfS9saWJyYXJpZXMvY29uZmlnLmRl
ZmF1bHQucGhwICR7TVlfSU5TVEFMTERJUn0vY29uZmlnLwogICAgICAgIGNob3duIC1SICR7VkhP
U1RfU0VSVkVSX1VJRH06JHtWSE9TVF9TRVJWRVJfVUlEfSAke01ZX0lOU1RBTExESVJ9L2NvbmZp
ZwoKMy4gQmUgc3VyZSB0aGF0IHRoZSBsaWJyYXJpZXMvIGRpcmVjdG9yeSBpcyBub3QgdmlzaWJs
ZS4gWW91IGNhbiB1c2UgdGhlCiAgIHByb3ZpZGVkIC5odGFjY2VzcyBmaWxlLgoKPT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT0KCklmIHlvdSBhcmUgdXBncmFkaW5nIGZyb20gYW4gZWFybGllciB2ZXJzaW9uOgoKMS4g
SWYgeW91IGFyZSB1c2luZyBwaHBNeUFkbWluJ3MgZmVhdHVyZXMgZm9yIG1hc3Rlci9mb3JlaWdu
IHRhYmxlcyBiZSBzdXJlIHRvIHJlYWQKICAgICBodHRwOi8vJHtWSE9TVF9IT1NUTkFNRX0vJHtW
SE9TVF9BUFBESVJ9L0RvY3VtZW50YXRpb24uaHRtbCNjb2xfY29tCiAgIFlvdSB3aWxsIG5lZWQg
dG8gcGVyZm9ybSB0aGUgQUxURVIgVEFCTEUgc3RlcCB5b3Vyc2VsZi4K
</data>        

          </attachment>
    </bug>

</bugzilla>