Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124467 - mythweb-0.19: Database Setup Error
Summary: mythweb-0.19: Database Setup Error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-28 13:37 UTC by Dan A. Dickey
Modified: 2006-02-28 13:46 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 Dan A. Dickey 2006-02-28 13:37:51 UTC
I think there is some sort of mismatch between mythweb 0.19 and PHP5.
Not sure... about all I can get out of it is the fact that I don't have
the database setup right.  I do, actually - I've verified that .htaccess
in /var/www/localhost/htdocs/mythweb is correct - it has settings for
db_server, db_name, db_login, and db_password that are what they should be.
They are being set via a 'setenv db_server "localhost"' line accordingly.
In templates/init.php a check is made so see if $_SERVER['db_server'] or
db_name or db_login are empty - if so, spit out the Database Setup Error page.
Unfortunately, I have no idea how the setenv settings in a .htaccess file
are supposed to make it into $_SERVER in php... does someone know?
How can I debug this?


Here is the usual:
# emerge --info

Portage 2.1_pre5-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 VIA Nehemiah
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=c3-2 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=c3-2 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm avi berkdb bitmap-fonts cle266 crypt dri dts dv dvb dvd dvdread eds emboss encode ffmpeg flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 ieee1394 imlib input_devices_mouse ipv6 jpeg libg++ libwww lirc mad mikmod mmx motif mp3 mpeg mysql mythtv ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png python qt quicktime readline rtc sdl spell sse ssl tcpd threads transcode truetype truetype-fonts type1-fonts udev unichrome usb v4l v4l2 video_cards_via vorbis xml xmms xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-28 13:46:57 UTC
Please, use forums.gentoo.org, IRC or mailing lists for support. Bugzilla is for bugs.