Installation of version 2.5.8 problems

Everything which is related to the installation of phpLogCon.

Installation of version 2.5.8 problems

Postby daveg » Thu Sep 18, 2008 3:04 am

I've been getting all manner of crazy problems trying to get this installed. Which is odd, since I set it up on another server (my DR equivalent server) and it had no problems. Anyway, one problem that keeps coming up is me getting a blank index.php page. The only error I get is in the apache error_log:

Code: Select all
[Thu Sep 18 12:03:21 2008] [error] [client x.x.x.x] PHP Fatal error:  Call to a member function execute() on a non-object in /var/www/html/rsyslog/classes/logstreampdo.class.php on line 179, referer: http://syslog.server/rsyslog/admin/index.php
daveg
New
 
Posts: 3
Joined: Thu Sep 18, 2008 2:46 am

phpLogCon professional services

  • Custom phpLogCon configuration?
  • Maintenance Contract?
  • Installation support?

Re: Installation of version 2.5.8 problems

Postby alorbach » Thu Sep 18, 2008 9:15 am

Hrm is it possible that you have php 5.0 without PDO extensions installed on this particular server?
The PHP Data Objects (PDO) are included with PHP 5.1, and available as PECL Extension for PHP 5.0.

I will see that we add a check into phpLogCon, to see if PDO Extensions are available before using them.

--
best regards,
Anre Lorbach
User avatar
alorbach
Site Admin
 
Posts: 1126
Joined: Thu Feb 13, 2003 11:55 am

Re: Installation of version 2.5.8 problems

Postby daveg » Mon Sep 22, 2008 5:12 am

alorbach wrote:Hrm is it possible that you have php 5.0 without PDO extensions installed on this particular server?
The PHP Data Objects (PDO) are included with PHP 5.1, and available as PECL Extension for PHP 5.0.

I will see that we add a check into phpLogCon, to see if PDO Extensions are available before using them.
This server is CentOS 5 running the stock php rpm.

Grepping php -i says that pdo extensions are installed

Code: Select all
# php -i|grep -i pdo
Configure Command =>  './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--enable-dom=shared' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-dbase=shared'
/etc/php.d/pdo.ini,
/etc/php.d/pdo_mysql.ini,
/etc/php.d/pdo_sqlite.ini
PDO
[b]PDO support => enabled[/b]
PDO drivers => mysql, sqlite
pdo_mysql
PDO Driver for MySQL, client library version => 5.0.45
pdo_sqlite
PDO Driver for SQLite 3.x => enabled
PECL Module version => 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $
daveg
New
 
Posts: 3
Joined: Thu Sep 18, 2008 2:46 am

Re: Installation of version 2.5.8 problems

Postby daveg » Mon Sep 22, 2008 5:56 am

Well I ended up completely blowing away my mysql db for phplogcon and started from scratch, which seems to have sorted it out.
daveg
New
 
Posts: 3
Joined: Thu Sep 18, 2008 2:46 am

Re: Installation of version 2.5.8 problems

Postby alorbach » Mon Sep 22, 2008 9:13 am

Ok thanks for the information. My guess is that something was wrong with php pdo extension, or the installed mysql client.

--
best regards,
Andre Lorbach
User avatar
alorbach
Site Admin
 
Posts: 1126
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron