In the dba (and dbm, too, I think) backend, error
messages which occur when the database files are opened
If PhpWiki is miscuonfigured in such a way that the dba
open fails, no indication as to the reason for the
failure is given to the user.
This commonly happens in the case that the users PHP4
has dba support, but does not include support the gdbm
driver. In this case index.php (with default
lib/config.php) produces a blank page. (In this case
the fix is probably to use the 'db2' driver instead of
the gdbm driver --- this currently requires editing
line 42 of lib/dbalib.php.)
What should (probably) be done:
PhpWiki should produce an error message when
The choice of backend type should be moved into
lib/config.php. (Perhaps the appropriate backend could
be automatically deduced?)
The installation docs should make some mention of
this problem, as it seems to have become a FAQ.
Log in to post a comment.