hi. i've been having an ongoing discussion with the author of phpwiki. i've also had a couple other problems with other php packages which use db stuff, at this point i'm not sure if the problems i'm having are my stupidity, a bug in the debian package or a programming issue with the programs i'm trying to run. however in both the packages i'm having problems with (phpwiki and sips) a couple other debian users have had problems.
my question is this. are the db2 (dba_) extensions compiled in based on what i can find in the docs they are, and they are in the main php4 package. in order to enable them do i have to add anything to php.ini? if the script uses dba which is supposedly linked agains db2 ... why do i get gdbm errors? any help etc would be much appreciated. thanks, adam. ---------- Forwarded message ---------- Date: Tue, 06 Mar 2001 18:31:02 -0500 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Phpwiki-talk] problem with phpwiki using dba. Adam Shand wrote: > Warning: Variable passed to reset() is not an array or object in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 52 > Warning: Variable passed to each() is not an array or object in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 53 > WikiFatalError > Cannot open database 'wiki' : '/tmp/wikipagesdb', giving up. Yes, this is just PHP saying it got a variable that should be an array but was not. > > With the '@' removed you will get a verbose error message telling us > > what the problem is. > > now i get this: > > Warning: no such handler: gdbm in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 39 > Warning: no such handler: gdbm in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 39 > Warning: no such handler: gdbm in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 39 I can't find any reference to this error on the PHP site... perhaps you could email the maintainer of the PHP package for Debian? I wish I could offer more but at the moment I'm stumped. ~swain > Warning: Variable passed to reset() is not an array or object in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 52 > Warning: Variable passed to each() is not an array or object in > /var/www/devel.spack.org/phpwiki/lib/dbalib.php on line 53 > WikiFatalError > Cannot open database 'wiki' : '/tmp/wikipagesdb', giving up. _______________________________________________ Phpwiki-talk mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/phpwiki-talk

