I'll check my stuff. I've not knowingly modified any of the PHP code. The debian.php config file is per standard. I'll check Apache and see if I don't have something goofy that I'm not aware of.

Note that downgrading the adodb package did fix my problem. Maybe I find a clue there based on the changelog of that package.



sean finney wrote:
tags 498211 unreproducible
severity 498211 important
thanks


hi jesse,

i can't reproduce this with a fresh install.  are you sure you don't
have some local config change that is tickling this issue?  cacti has
had issues in the past with adodb, but the upstream authors have been
very responsive about fixing issues with external adodb, and there are
no outstanding issues that i know of.

what i wonder:

- are you using the libapache2-mod-php5 for serving up cacti or php4?
- do you have any apache settings like auto_prepend enabled
- do you have anything in /etc/cacti/debian.php besides the database
credentials
- have you made any other change to the cacti source
- do you have any config changes to your php installation


thanks,
        sean

On Mon, 2008-09-08 at 00:12 -0700, Jesse Molina wrote:
Package: cacti
Version: 0.8.7b-2.1
Severity: grave
Justification: renders package unusable


Hello

Upon upgrading Cacti today, I am stuck with a dead Cacti.

Main page simply says;

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /usr/share/php/adodb/adodb.inc.p
hp on line 430



Per googling around, this seems to be a known issue with using the standard 
adodb.  Apparently Cacti wants to use it's own proprietary ado
db for some crazy reasons.

One way or another, this would *seem* to be a compatibility problem between 
cacti and adodb.



I found these related subjects;

http://forums.cacti.net/about28382.html

http://lists.debian.org/debian-devel/2008/06/msg00485.html




-- System Information:
Debian Release: lenny/sid
Architecture: i386 (i686)

Kernel: Linux 2.6.23.11-sor-2007121501 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages cacti depends on:
ii  apache [httpd]              1.3.34-4.1   versatile, high-performance HTTP s
ii  apache2-mpm-prefork [httpd] 2.2.9-7      Apache HTTP Server - traditional n
ii  dbconfig-common             1.8.39       common framework for packaging dat
ii  debconf [debconf-2.0]       1.5.23       Debian configuration management sy
ii  libapache2-mod-php5         5.2.6-3      server-side, HTML-embedded scripti
ii  libphp-adodb                5.05-1       The ADOdb database abstraction lay
ii  logrotate                   3.7.1-3      Log rotation utility
ii  mysql-client-5.0 [virtual-m 5.0.51a-13   MySQL database client binaries
ii  php4                        6:4.4.6-2    server-side, HTML-embedded scripti
ii  php4-cli                    6:4.4.6-2+b1 command-line interpreter for the p
ii  php4-mysql                  6:4.4.6-2+b1 MySQL module for php4
ii  php4-snmp                   6:4.4.6-2+b1 SNMP module for php4
ii  php5                        5.2.6-3      server-side, HTML-embedded scripti
ii  php5-mysql                  5.2.6-3      MySQL module for php5
ii  rrdtool                     1.3.1-3      Time-series data storage and displ
ii  snmp                        5.4.1~dfsg-9 SNMP (Simple Network Management Pr
ii  ucf                         3.0010       Update Configuration File: preserv

Versions of packages cacti recommends:
ii iputils-ping 3:20071127-1 Tools to test the reachability of ii mysql-server 5.0.51a-14 MySQL database server (metapackage
ii  mysql-server-5.0 [mysql-ser 5.0.51a-13   MySQL database server binaries

cacti suggests no packages.

-- debconf information:
* cacti/username: cacti
  cacti/db/app-user:
  cacti/mysql/admin-user: root
* cacti/mysql_server: localhost
* cacti/webserver: Apache
  cacti/mysql/method: unix socket
  cacti/remote/host:
  cacti/upgrade-error: abort
  cacti/import-oldsettings:
  cacti/dbconfig-upgrade: true
  cacti/internal/skip-preseed: false
  cacti/remote/newhost:
  cacti/purge: false
  cacti/upgrade_warning:
  cacti/missing-db-package-error: abort
  cacti/database-type: mysql
* cacti/database: cacti
  cacti/remove-error: abort
  cacti/db/dbname:
  cacti/mismatch:
  cacti/upgrade-backup: true
  cacti/install-error: abort
  cacti/internal/reconfiguring: false
  cacti/root_mysql: root
  cacti/passwords-do-not-match:
* cacti/no_automagic:
  cacti/dbconfig-remove: true
* cacti/dbconfig-install: false
  cacti/purge_db: true
  cacti/performing_upgrade: true
  cacti/remote/port:
  cacti/dbconfig-reinstall: false



--
# Jesse Molina
# Mail = [EMAIL PROTECTED]
# Page = [EMAIL PROTECTED]
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to