Your message dated Sun, 22 Apr 2007 11:17:32 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line Fixed in 2.10.0.2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: phpmyadmin
Version: 4:2.6.2-3sarge1
Severity: normal
Tags: patch
We use phpmyadmin.web3.unt.edu as a proxy to an apache server on the mysql db
machine, (where we run phpmyadmin).
The apache documentroot on the mysql db machine is:
/var/www
phpmyadmin resides at:
/var/www/phpmyadmin
The proxy uses:
/var/www/phpmyadmin
as the root of the vhost.
When clicking on Privileges->User overview->(any initial or show all), the
hyperlink looks like:
<tr><td><a href="/phpmyadmin/server_privileges.php?token=8f...
Unfortunately, that throws a 404 not found, as the usage of PHP_SELF adds
another /phpmyadmin to the string, looking for server_privileges.php in:
/var/www/phpmyadmin/phpmyadmin/server_privileges.php
instead of:
/var/www/phpmyadmin/server_privileges.php
In this patch, I replaced the usage of PHP_SELF with ./server_privileges.php,
which is used throughout the rest of the file anyways.
thanks,
speeves
Here is the patch:
--- server_privileges.php.orig 2005-10-28 14:34:29.000000000 -0500
+++ server_privileges.php 2006-12-01 21:14:00.000000000 -0600
@@ -1036,12 +1036,12 @@
foreach ($array_initials as $tmp_initial => $initial_was_found) {
if ($initial_was_found) {
- echo '<td><a href="' . $PHP_SELF . '?' . $url_query .
'&initial=' . urlencode($tmp_initial) . '" style="font-size:' .
$font_bigger . '">' . $tmp_initial . '</a></td>' . "\n";
+ echo '<td><a href="./server_privileges.php?' . $url_query
. '&initial=' . urlencode($tmp_initial) . '" style="font-size:' .
$font_bigger . '">' . $tmp_initial . '</a></td>' . "\n";
} else {
echo '<td style="font-size:' . $font_bigger . '">' .
$tmp_initial . '</td>';
}
}
- echo '<td><a href="' . $PHP_SELF . '?' . $url_query .
'&showall=1" style="font-size:' . $font_bigger . '">[' . $strShowAll .
']</a></td>' . "\n";
+ echo '<td><a href="./server_privileges.php?' . $url_query .
'&showall=1" style="font-size:' . $font_bigger . '">[' . $strShowAll .
']</a></td>' . "\n";
echo '</tr></table>';
/**
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages phpmyadmin depends on:
ii apache2 2.0.54-5sarge1 next generation, scalable, extenda
ii apache2-mpm-prefork [http 2.0.54-5sarge1 traditional model for Apache2
ii debconf 1.4.30.13 Debian configuration management sy
ii php4 4:4.3.10-16 server-side, HTML-embedded scripti
ii php4-mysql 4:4.3.10-16 MySQL module for php4
ii ucf 1.17 Update Configuration File: preserv
-- debconf information:
* phpmyadmin/reconfigure-webserver: apache2
* phpmyadmin/restart-webserver: true
--- End Message ---
--- Begin Message ---
Version: 4:2.10.0.2-1
Hi,
This bug has been fixed in the recently uploaded version of phpmyadmin,
but I neglected to mention it in the changelog.
Thijs
--- End Message ---