Linux XXXXXXXXX 2.4.21-37.0.1.EL #1 Wed Jan 11 18:52:43 EST 2006 i686
i686 i386 GNU/Linux
Plesk 7.5.4 Reloaded
PHPWiki phpwiki-1.3.11p1tarball from sf.net
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
PACKAGE VERSION STATE
Archive_Tar 1.3.1 stable
Auth_SASL 1.0.1 stable
Cache 1.5.4 stable
Console_Getopt 1.2 stable
DB 1.7.6 stable
HTTP 1.4.0 stable
HTTP_Request 1.3.0 stable
Mail 1.1.9 stable
Net_SMTP 1.2.8 stable
Net_Socket 1.0.6 stable
Net_URL 1.0.14 stable
PEAR 1.4.6 stable
XML_Parser 1.2.7 stable
XML_RPC 1.4.5 stable
PHP Safe mode : off.
PHP Error level = E_ALL
PHP Error Log = true
Issue: after configuring phpwiki with the configurator, loading
[hostname]/wiki produces no output whatsoever. No error in error logs.
No contacting the DB at all (watching mysql query log)
Running (from memory)
php -f < index.php
from the cmd line in a term , as root, populated the DB with pgsrc as it
after a very interesting trip into the guts of phpwiki, i realised the
culprit was the call to pear's DB.php in lib/WikiDB/backend/PearDB.php ,
Removing the @ showed the following in my error log:
Feb 20 00:03:53 sigma httpd: PHP Fatal error: wikidb_backend_peardb():
Failed opening required 'DB/common.php'
include path in my config.ini includes /usr/share/pear.
Anyway, my commenting out that initial call to look for the PEAR file,
it simply did a silent fallback to the DB.php included with phpwiki and
everything seems to be sorted. Please note that , although this should
be the default fallback, the script was FAILING on that first
require_once line , silently, and no output whatsover generated.
Is there something obvious i'm missing ? Something wrong with my setup?
(I understand the issue is that the php instance in my subdomain
couldn't locate the pear files , although it was the path was defined in
the include path setting....)
I can provide other info as needed for proper documentation / fix.