Subject: "Two databases?"
Posted: @ 3:29 am on Feb 22 2008
Member #: 484 Rank: user - (14) Since: 11/21/07 Posts: 14 From: Ohio
I thought I was
going to
install my
version of the
comment system
on another site
this evening,
but I've hit a
new snag. The
folder I'm
working in
creates it's
pages in part
by connecting
to an offsite
database that I
have no control
over. Putting
the session
start and
database
connect stuff
in the header
causes the
original php to
try to connect
and call tables
from the
comment
database.
I've juggled
around the db
connect to be
included in
comments.php
instead of the
main pages
headers. And
I've got it
mostly working
except one last
error after I
post a
comment.
Warning: Cannot
modify header
information -
headers already
sent by (output
started at
/myserver/local
/home/user/mysi
te.com/path/db_
funcs.php:91)
in
/myserver/local
/home/user/mysi
te.com/comments
.php on line
68
I guess this is
from the page
refresh. I may
just pull that
part out, since
I'm using this
as a little
content adding
engine and not
for user
comments.