Hello,
On 1/20/2006 6:28 PM, James P. Kinney III wrote:
Running bacula 1.38.3 with bacula-web 1.2 and a postgresql DB.
The user configured can access the db with psql from both localhost and
remotely over tcpip. The test.php shows all OK (except .bmp images).
http error.log shows:
PHP Fatal error: Call to undefined function: numrows()
in /var/www/html/bacula-web/classes.inc on line 158
Screen is only blank on the web page.
pear is current, pgp-pgsql is current. The error shows all lowercase
numrows but the line is actually numRows(). Hmm.
Any suggestions? It looked like others have had the same issue in
December '05 but no resolution. I haven't found usable docs on pear
accessing postgresql to see if it needs to be renamed.
Hmm. The two discussions in December were resolved with the following
results:
- Install all the necessary packages (which looks good for you -
postgresql integration for php and PEAR). BUT some extension named like
dbsize or similar might be necessary.
- Make sure Postgres accepts connections as initiated by php/PEAR. You
should have this correct, too.
So, the only other advice I can give is to have a look into apaches
error log, and to try running the cripts from the shell, so you see
_all_ of its output.
Apart from that, the mentioned two discussios at least indicate that
PostgreSQL and Bacula-web can work together.
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users