Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104495 - phpmyadmin 2.6.4-rc1 broken css
Summary: phpmyadmin 2.6.4-rc1 broken css
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 09:28 UTC by Rob Terhaar
Modified: 2005-09-15 16:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Terhaar 2005-09-01 09:28:47 UTC
CSS seems to be broken for me on fresh installs of phpmyadmin 2.6.4-rc1. The
page is rendered and css is ignored. 2.6.2 worked with out issue. 

I tried an emerge -c phpmyadmin, deleted the
/var/www/localhost/htdocs/phpmyadmin folder, re-emerged phpmyadmin 2.6.4, tried
- and + vhosts. Nothing seems to work

Reproducible: Always
Steps to Reproduce:
1.emerge phpmyadmin 2.6.4-rc1
2.import sql script as required by note
3.go to localhost/phpmyadmin 

Actual Results:  
css seems to be ignored

Expected Results:  
the page is rendered with css applied

nothing too special:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi apache2 apm authdaemond avi berkdb bitmap-fonts cdr crypt
curl eds emboss encode fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer
gtk gtk2 imap imlib java jpeg kerberos ldap libg++ libwww maildir mailwrapper
mcrypt mikmod motif mozilla moznocompose moznoirc moznomail mp3 mpeg mysql
ncurses nls nptl oggvorbis opengl pam pam-mysql pdflib perl png python quicktime
readline samba sasl sdl slang spell sse sse2 ssl svga symlink tcpd threads tiff
truetype truetype-fonts type1-fonts unicode userlocales vda winbind xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Rob Terhaar 2005-09-01 09:33:37 UTC
I think i just figured it out-

/var/www/localhost/htdocs/phpmyadmin/config.inc.php had this default value:

$cfg['PmaAbsoluteUri'] = 'http://localhostphpmyadmin';

i changed it to:

$cfg['PmaAbsoluteUri'] = '';

I guess the correct way to configure this is to list the actual url where the
application is located though?


Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2005-09-02 04:10:11 UTC
There was a bug in the reconfig script that led to incorrect setting of that
variable. Fixed in CVS.
Comment 3 Rob Terhaar 2005-09-15 08:11:13 UTC
I just installed phpmyadmin on a new box, and the value getting written to the
config file is:

$cfg['PmaAbsoluteUri'] = 'http://localhost//phpmyadmin';


This causes the same problem to occur. 

I understand the auto configuration of this value is important for vhost users
who have a lot of sites they host. Perhaps append the post-install emerge note
with directions to edit the /var/www/localhost/htdocs/phpmyadmin/config.inc.php
file?


(phpmyadmin does seem to work fine with a blank value for PmaAbsoluteUri)
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2005-09-15 16:42:52 UTC
Ok, added note to postinstall instructions.