Package: phpmyadmin
Version: 4:2.7.0-pl2-1
Severity: normal

The phpmyadmin-features requiring an extra database (which can be
created with /usr/share/doc/phpmyadmin/scripts/create_tables.sql.gz)
don't work anymore


Reproduce:
Activate this feature by calling the above mentioned script, and
uncommenting at least the following two lines in
/etc/phpmyadmin/config.inc.php:
$cfg['Servers'][$i]['pmadb']         = 'phpmyadmin';
$cfg['Servers'][$i]['relation']      = 'pma_relation';

Then click on any table, which should give you the [Structure]; there is
a link "Relation view"; upon clicking on this one, you'll get

Error
SQL query:
SELECT master_field, foreign_db, foreign_table, foreign_field
FROM `pma_relation`
WHERE master_db = 'foo'
AND master_table = 'bar'
MySQL said: 
#1146 - Table 'foo.pma_relation' doesn't exist


Expected result:
phpmyadmin should have issued
SELECT master_field, foreign_db, foreign_table, foreign_field
FROM `phpmyadmin.pma_relation`
[...]


I had this problem on three different machines, where those advanced
features worked before (i.e. with phpmyadmin 4:2.6.4-pl4-2), so I guess
it's not just some stupid error on my side... :)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-archck1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages phpmyadmin depends on:
ii  apache2                       2.0.55-4   next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.0.55-4   traditional model for Apache2
ii  debconf [debconf-2.0]         1.4.67     Debian configuration management sy
ii  php4                          4:4.4.0-4  server-side, HTML-embedded scripti
ii  php4-cgi                      4:4.4.0-4  server-side, HTML-embedded scripti
ii  php4-mysql                    4:4.4.0-4  MySQL module for php4
ii  ucf                           2.004      Update Configuration File: preserv

Versions of packages phpmyadmin recommends:
ii  php4-mcrypt                   3:4.3.10-2 MCrypt module for php4

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to