Two sites running v4.7 are throwing up nearly identical errors at the top of the page. I'm also not able to log in. Other sites on the same server (5.x) seem to be running all right.

The sites are on my own FreeBSD server which I recently upgraded to v6.2, followed by reinstalls of Apache 1.3 and Php 5.1.2, etc. Output of php - i is pasted below, followed by the error messages.

Any suggestions would be much appreciated, with thanks.

Tom

====== Output of php -i ========

phpinfo()
PHP Version => 5.1.2

System => FreeBSD astarte 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
Build Date => Jun 10 2006 10:06:16
Configure Command => './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--enable-spl' '--with-regex=php' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd6.1'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc/php.ini
Scan this dir for additional .ini files => /usr/local/etc/php
additional .ini files parsed => /usr/local/etc/php/extensions.ini

PHP API => 20041225
PHP Extension => 20050922
Zend Extension => 220051025
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, http, ftp, compress.bzip2, https, ftps, compress.zlib
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, convert.iconv.*, bzip2.*, zlib.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

_______________________________________________________________________

Configuration

PHP Core

Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 2047 => 2047
expose_php => On => On
extension_dir => /usr/local/lib/php/20050922 => /usr/local/lib/php/20050922
file_uploads => On => On
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => On
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => Off
include_path => .: => .:
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 30
max_input_time => 60 => 60
memory_limit => 32M => 32M
open_basedir => no value => no value
output_buffering => 0 => 4096
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => Off
register_globals => Off => Off
register_long_arrays => Off => Off
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.3, 15-Feb-2005

ctype

ctype functions => enabled

date

date/time support => enabled
Timezone Database Version => 2005.18
Timezone Database => internal
Default timezone => America/New_York

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.6.23
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

ftp

FTP support => enabled

gd

GD Support => enabled
GD Version => bundled (2.0.28 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.1.10
T1Lib Support => enabled
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled

iconv

iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.9

Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1

imagick

GraphicsMagick support => enabled
Magick Backend => GraphicsMagick
GraphicsMagick version => 1.1.6
PHP imagick version => 0.9.11
MaxRGB => 65535
Supported image formats => 8BIM, 8BIMTEXT, 8BIMWTEXT, APP1, APP1JPEG, ART, AVI, AVS, B, BIE, BMP, BMP2, BMP3, C, CACHE, CAPTION, CIN, CMYK, CMYKA, CUR, CUT, DCM, DCX, DIB, DPS, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXIF, FAX, FILE, FITS, FPX, FRACTAL, FTP, G, G3, GIF, GIF87, GRADIENT, GRANITE, GRAY, H, HISTOGRAM, HTM, HTML, HTTP, ICB, ICC, ICM, ICO, ICON, IMAGE, IPTC, IPTCTEXT, IPTCWTEXT, JBG, JBIG, JNG, JP2, JPC, JPEG, JPG, K, LABEL, LOCALE, LOCALEC, LOCALEH, LOCALEMC, LOGO, M, M2V, MAP, MAT, MATTE, MIFF, MNG, MONO, MPC, MPEG, MPG, MPR, MPRI, MSL, MTV, MVG, NETSCAPE, NULL, O, OTB, P7, PAL, PALM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PFA, PFB, PGM, PGX, PICON, PICT, PIX, PLASMA, PM, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PTIF, PWP, R, RAS, RGB, RGBA, RLA, RLE, ROSE, SCT, SFW, SGI, SHTML, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, TIF, TIFF, TILE, TIM, TOPOL, TTF, TXT, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WPG, X, XBM, XC, XCF, XMP, XPM, XV, XWD, Y, YUV
Font Family - Name => Arial - Arial
Font Family - Name => Arial - Arial-Black
Font Family - Name => Arial - Arial-Bold
Font Family - Name => Arial - Arial-Bold-Italic
Font Family - Name => Arial - Arial-Italic
Font Family - Name => Arial Narrow - Arial-Narrow
Font Family - Name => Arial Narrow - Arial-Narrow-Bold
Font Family - Name => Arial Narrow - Arial-Narrow-Bold-Italic
Font Family - Name => Arial Narrow - Arial-Narrow-Italic
Font Family - Name => Arial Narrow Special G1 - Arial-Narrow-Special-G1
Font Family - Name => Arial Narrow Special G1 - Arial-Narrow-Special-G1-Bold
Font Family - Name => Arial Narrow Special G1 - Arial-Narrow-Special-G1-Italic
Font Family - Name => Arial Narrow Special G2 - Arial-Narrow-Special-G2
Font Family - Name => Arial Narrow Special G2 - Arial-Narrow-Special-G2-Bold
Font Family - Name => Arial Narrow Special G2 - Arial-Narrow-Special-G2-Italic
Font Family - Name => Arial Rounded MT - Arial-Rounded-MT-Bold
Font Family - Name => Arial Special G1 - Arial-Special-G1
Font Family - Name => Arial Special G1 - Arial-Special-G1-Bold
Font Family - Name => Arial Special G1 - Arial-Special-G1-Bold-Italic
Font Family - Name => Arial Special G1 - Arial-Special-G1-Italic
Font Family - Name => Arial Special G2 - Arial-Special-G2
Font Family - Name => Arial Special G2 - Arial-Special-G2-Bold
Font Family - Name => Arial Special G2 - Arial-Special-G2-Bold-Italic
Font Family - Name => Arial Special G2 - Arial-Special-G2-Italic
Font Family - Name => Bookman Old Style - Bookman-Old-Style
Font Family - Name => Bookman Old Style - Bookman-Old-Style-Bold
Font Family - Name => Bookman Old Style - Bookman-Old-Style-Bold-Italic
Font Family - Name => Bookman Old Style - Bookman-Old-Style-Italic
Font Family - Name => Century Schoolbook - Century-Schoolbook
Font Family - Name => Century Schoolbook - Century-Schoolbook-Bold
Font Family - Name => Century Schoolbook - Century-Schoolbook-Bold-Italic
Font Family - Name => Century Schoolbook - Century-Schoolbook-Italic
Font Family - Name => Comic Sans MS - Comic-Sans-MS
Font Family - Name => Comic Sans MS - Comic-Sans-MS-Bold
Font Family - Name => Courier New - Courier-New
Font Family - Name => Courier New - Courier-New-Bold
Font Family - Name => Courier New - Courier-New-Bold-Italic
Font Family - Name => Courier New - Courier-New-Italic
Font Family - Name => Garamond - Garamond
Font Family - Name => Garamond - Garamond-Bold
Font Family - Name => Garamond - Garamond-Italic
Font Family - Name => Gill Sans MT - Gill-Sans-MT-Ext-Condensed-Bold
Font Family - Name => Impact - Impact
Font Family - Name => Lucida Blackletter - Lucida-Blackletter
Font Family - Name => Lucida Bright - Lucida-Bright
Font Family - Name => Lucida Bright - Lucida-Bright-Demibold
Font Family - Name => Lucida Bright - Lucida-Bright-Demibold-Italic
Font Family - Name => Lucida Bright - Lucida-Bright-Italic
Font Family - Name => Lucida Caligraphy - Lucida-Caligraphy-Italic
Font Family - Name => Regular - Lucida-Console, Lucida-Console
Font Family - Name => Lucida Fax - Lucida-Fax-Demibold
Font Family - Name => Lucida Fax - Lucida-Fax-Demibold-Italic
Font Family - Name => Lucida Fax - Lucida-Fax-Italic
Font Family - Name => Lucida Fax - Lucida-Fax-Regular
Font Family - Name => Lucida Handwriting - Lucida-Handwriting-Italic
Font Family - Name => Lucida Sans - Lucida-Sans-Demibold-Italic
Font Family - Name => Lucida Sans Demibold - Lucida-Sans-Demibold-Roman
Font Family - Name => Lucida Sans - Lucida-Sans-Regular
Font Family - Name => Lucida Sans Typewriter - Lucida-Sans-Typewriter-Bold
Font Family - Name => Lucida Sans Typewriter - Lucida-Sans-Typewriter-Bold-Oblique
Font Family - Name => Lucida Sans Typewriter - Lucida-Sans-Typewriter-Oblique
Font Family - Name => Lucida Sans Typewriter - Lucida-Sans-Typewriter-Regular
Font Family - Name => MS Sans Serif - MS-Sans-Serif
Font Family - Name => MS Serif - MS-Serif
Font Family - Name => Modern - Modern
Font Family - Name => Monotype Corsiva - Monotype-Corsiva
Font Family - Name => Small Fonts - Small-Fonts
Font Family - Name => Symbol - Symbol
Font Family - Name => Tahoma - Tahoma
Font Family - Name => Tahoma - Tahoma-Bold
Font Family - Name => Times New Roman - Times-New-Roman
Font Family - Name => Times New Roman - Times-New-Roman-Bold
Font Family - Name => Times New Roman - Times-New-Roman-Bold-Italic
Font Family - Name => Times New Roman - Times-New-Roman-Italic
Font Family - Name => Times New Roman MT - Times-New-Roman-MT-Extra-Bold
Font Family - Name => Verdana - Verdana
Font Family - Name => Verdana - Verdana-Bold
Font Family - Name => Verdana - Verdana-Bold-Italic
Font Family - Name => Verdana - Verdana-Italic
Font Family - Name => Wingdings - Wingdings
Font Family - Name => Wingdings 2 - Wingdings-2
Font Family - Name => Wingdings 3 - Wingdings-3
Font Family - Name => AvantGarde - AvantGarde-Book
Font Family - Name => AvantGarde - AvantGarde-BookOblique
Font Family - Name => AvantGarde - AvantGarde-Demi
Font Family - Name => AvantGarde - AvantGarde-DemiOblique
Font Family - Name => Bookman - Bookman-Demi
Font Family - Name => Bookman - Bookman-DemiItalic
Font Family - Name => Bookman - Bookman-Light
Font Family - Name => Bookman - Bookman-LightItalic
Font Family - Name => Courier - Courier
Font Family - Name => Courier - Courier-Bold
Font Family - Name => Courier - Courier-Oblique
Font Family - Name => Courier - Courier-BoldOblique
Font Family - Name => Helvetica - Helvetica
Font Family - Name => Helvetica - Helvetica-Bold
Font Family - Name => Helvetica - Helvetica-Oblique
Font Family - Name => Helvetica - Helvetica-BoldOblique
Font Family - Name => Helvetica Narrow - Helvetica-Narrow
Font Family - Name => Helvetica Narrow - Helvetica-Narrow-Oblique
Font Family - Name => Helvetica Narrow - Helvetica-Narrow-Bold
Font Family - Name => Helvetica Narrow - Helvetica-Narrow-BoldOblique
Font Family - Name => NewCenturySchlbk - NewCenturySchlbk-Roman
Font Family - Name => NewCenturySchlbk - NewCenturySchlbk-Italic
Font Family - Name => NewCenturySchlbk - NewCenturySchlbk-Bold
Font Family - Name => NewCenturySchlbk - NewCenturySchlbk-BoldItalic
Font Family - Name => Palatino - Palatino-Roman
Font Family - Name => Palatino - Palatino-Italic
Font Family - Name => Palatino - Palatino-Bold
Font Family - Name => Palatino - Palatino-BoldItalic
Font Family - Name => Times - Times-Roman
Font Family - Name => Times - Times-Bold
Font Family - Name => Times - Times-Italic
Font Family - Name => Times - Times-BoldItalic
Font Family - Name => Symbol - Symbol

libxml

libXML support => active
libXML Version => 2.6.23
libXML streams => enabled

mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 3.7.1

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

mcrypt

mcrypt support => enabled
Version => 2.5.7
Api No => 20021217
Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream

Directive => Local Value => Master Value
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value

mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 5.0.33
MYSQL_MODULE_TYPE =>
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE =>
MYSQL_LIBS =>

Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off

mysqli

MysqlI Support => enabled
Client API version => 5.0.33
MYSQLI_SOCKET => /tmp/mysql.sock

Directive => Local Value => Master Value
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.reconnect => Off => Off

openssl

OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7e-p1 25 Oct 2004

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 6.2 01-Aug-2005

pdf

PDF Support => enabled
PDFlib GmbH Version => 6.0.3
PECL Version => 2.0.3
Revision => $Revision: 1.143 $

posix

Revision => $Revision: 1.70.2.3 $

Reflection

Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.17 2006/01/01 12:50:12 sniper Exp $

session

Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => Off => Off
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 5 => 5
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0

SimpleXML

Simplexml support => enabled
Revision => $Revision: 1.151.2.10 $
Schema support => enabled

snmp

NET-SNMP Support => enabled
NET-SNMP Version => 5.2.3

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite

SQLite support => enabled
PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.11 2006/01/01 12:50:14 sniper Exp $
SQLite Library => 2.8.17
SQLite Encoding => iso8859

Directive => Local Value => Master Value
sqlite.assoc_case => 0 => 0

standard

Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry
user_agent => no value => no value

tokenizer

Tokenizer Support => enabled

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.23

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

zip

Zip support => enabled

zlib

ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.2
Linked Version => 1.2.3

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value
SSH_CLIENT => 204.210.138.216 37738 22
USER => tom
MAIL => /var/mail/tom
OLDPWD => /usr/home/tom
HOME => /root
SSH_TTY => /dev/ttyp0
LOGNAME => tom
BLOCKSIZE => K
TERM => xterm
PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
SHELL => /bin/csh
PWD => /www/monticellolodge532.org
SSH_CONNECTION => 204.210.138.216 37738 192.168.1.104 22
FTP_PASSIVE_MODE => YES
HOSTTYPE => FreeBSD
VENDOR => intel
OSTYPE => FreeBSD
MACHTYPE => i386
SHLVL => 1
GROUP => wheel
HOST => astarte
REMOTEHOST => 204.210.138.216
EDITOR => vi
PAGER => more

PHP Variables

Variable => Value
_SERVER["SSH_CLIENT"] => 204.210.138.216 37738 22
_SERVER["USER"] => tom
_SERVER["MAIL"] => /var/mail/tom
_SERVER["OLDPWD"] => /usr/home/tom
_SERVER["HOME"] => /root
_SERVER["SSH_TTY"] => /dev/ttyp0
_SERVER["LOGNAME"] => tom
_SERVER["BLOCKSIZE"] => K
_SERVER["TERM"] => xterm
_SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_SERVER["SHELL"] => /bin/csh
_SERVER["PWD"] => /www/monticellolodge532.org
_SERVER["SSH_CONNECTION"] => 204.210.138.216 37738 192.168.1.104 22
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["HOSTTYPE"] => FreeBSD
_SERVER["VENDOR"] => intel
_SERVER["OSTYPE"] => FreeBSD
_SERVER["MACHTYPE"] => i386
_SERVER["SHLVL"] => 1
_SERVER["GROUP"] => wheel
_SERVER["HOST"] => astarte
_SERVER["REMOTEHOST"] => 204.210.138.216
_SERVER["EDITOR"] => vi
_SERVER["PAGER"] => more
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1181510957
_SERVER["argv"] => Array
(
)

_SERVER["argc"] => 0

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.

================ Error Messages ================

array('name' => t('job'), 'base' => 'job')); } function job_access($op, $node) { global $user; switch($op) { case 'view': if (user_access('edit own job') && ($user->uid == $node->uid)) { $access = true; } else { $access = user_access('view job'); } break; case 'create': $access = user_access('create job'); break; case 'update': case 'delete': if (user_access('edit own job') && ($user->uid == $node->uid)) { $access = true; } break; } return $access; } function job_perm() { return array('create job', 'edit own job', 'view job'); } function job_link($type, $node = 0, $main) { $links = array(); if ($type == 'node' && $node->type == 'job') { // Don't display a redundant edit link if they are node administrators. if (job_access('update', $node) && !user_access('administer nodes')) { $links[] = l(t('edit this job'), "node/$node->nid/edit"); } } return $links; } function job_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array('path' => 'node/add/job', 'title' => t('job'), 'access' => user_access('create job')); } return $items; } function job_form(&$node) { $form['title'] = array( '#type' => 'textfield', '#title' => t('Title'), '#default_value' => $node->title, '#size' => 60, '#maxlength' => 128, '#required' => TRUE, ); // In order to be able to attach taxonomy terms to this node, we need // to display the appropriate form elements. if (function_exists('taxonomy_node_form')) { $form['taxonomy'] = implode('', taxonomy_node_form('job', $node)); } // Now we define the form elements specific to our node type. $form['body'] = array( '#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#cols' => 60, '#rows' => 20, ); $form['filter'] = filter_form('format', $node->format); return $form; } function job_update_index() { // do nothing. We do not want the nodes to be indexed } function job_search($op = 'search', $keys = NULL) { global $user; switch($op) { case 'name': if (user_access('view job')) { $results = t('job'); } break; case 'search': $results = array(); $r = db_query('SELECT n.nid FROM {node} n INNER JOIN {node_revisions} r ON n.vid = r.vid WHERE n.type = "job" AND (n.title LIKE "%%%s%%" OR r.body LIKE "%%%s%%")', $keys,$keys); while ($nid = db_fetch_object($r)) { $node = node_load($nid); if (user_access('view job') || (user_access('edit own job') && ($user->uid == $node->uid))) { $results[] = array('link' => 'node/'. $node->nid, 'type' => node_invoke($node, 'name'), 'title' => $node->title, 'user' => theme('username', $node), 'date' => $node->changed, 'snippet' => search_excerpt($keys, check_markup($node->body, $node->format, $check = TRUE))); } } break; case 'reset': variable_del('node_cron_last'); break; case 'status': $results = array('remaining' => 0, 'total' => 0); break; } return $results; } function job_search_item($item) { $o.= '
'; $o.= l($item['title'], $item['link']) . '
'; $o.= $item['snippet']. '
'; $o.= $item['user'] . ' | ' . format_date($item['date'], 'small'). '

'; $o.= '
'; return $o; } function job_validate(&$node) { } function job_insert($node) { } function job_update($node) { } function job_delete($node) { } function job_load($node) { } function job_view(&$node, $teaser = FALSE, $page = FALSE) { $order_info = theme('job_display', $node); $node = node_prepare($node, $teaser); } function theme_job_order_info($node) { $output = ''; return $output; } ?> array('name' => t('resume'), 'base' => 'resume')); } function resume_access($op, $node) { global $user; switch($op) { case 'view': if (user_access('edit own resume') && ($user->uid == $node->uid)) { $access = true; } else { $access = user_access('view resume'); } break; case 'create': $access = user_access('create resume'); break; case 'update': case 'delete': if (user_access('edit own resume') && ($user->uid == $node->uid)) { $access = true; } break; } return $access; } function resume_perm() { return array('create resume', 'edit own resume', 'view resume'); } function resume_link($type, $node = 0, $main) { $links = array(); if ($type == 'node' && $node->type == 'resume') { // Don't display a redundant edit link if they are node administrators. if (resume_access('update', $node) && !user_access('administer nodes')) { $links[] = l(t('edit this resume'), "node/$node->nid/edit"); } } return $links; } function resume_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array('path' => 'node/add/resume', 'title' => t('resume'), 'access' => user_access('create resume')); } return $items; } function resume_form(&$node) { $form['title'] = array( '#type' => 'textfield', '#title' => t('Title'), '#default_value' => $node->title, '#size' => 60, '#maxlength' => 128, '#required' => TRUE, ); if (function_exists('taxonomy_node_form')) { $form['taxonomy'] = implode('', taxonomy_node_form('resume', $node)); } $form['body'] = array( '#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#cols' => 60, '#rows' => 20, ); $form['filter'] = filter_form('format', $node->format); return $form; } function resume_update_index() { // Do nothing } function resume_search($op = 'search', $keys = NULL) { global $user; //xdebug_break(); switch($op) { case 'name': if (user_access('view resume')) { $results = t('resume'); } break; case 'search': $results = array(); $r = db_query('SELECT n.nid FROM {node} n INNER JOIN {node_revisions} r ON n.vid = r.vid WHERE n.type = "resume" AND (n.title LIKE "%%%s%%" OR r.body LIKE "%%%s%%")', $keys ,$keys); while ($nid = db_fetch_object($r)) { $node = node_load($nid); if (user_access('view resume') || (user_access('edit own resume') && ($user->uid == $node->uid))) { $results[] = array('link' => url('node/'. $node->nid), 'type' => node_invoke($node, 'name'), 'title' => $node->title, 'user' => theme('username',$node), 'date' => $node->changed, 'snippet' => search_excerpt($keys, check_markup($node->body, $node->format, $check = TRUE))); } } break; case 'reset': variable_del('node_cron_last'); break; case 'status': $results = array('remaining' => 0, 'total' => 0); break; } return $results; } function resume_search_item($item) { $o.= '
'; $o.= l($item['title'], $item['link']) . '
'; $o.= $item['snippet']. '

'; $o.= $item['user'] . ' | ' . format_date($item['date'], 'small'). '

'; $o.= '
'; return $o; } function resume_validate(&$node) { } function resume_insert($node) { } function resume_update($node) { } function resume_delete($node) { } function resume_load($node) { } function resume_view(&$node, $teaser = FALSE, $page = FALSE) { $order_info = theme('resume_display', $node); $node = node_prepare($node, $teaser); } function theme_resume_display($node) { $output = ''; return $output; } ?>

Comments

John Morahan’s picture

Do you have a custom module named 'job.module'? If so, check the job_node_info function for a misplaced ?> where there should be a =>.

tomrue’s picture

Interesting. Yes; "Job Search" module (not a custom module), which I wasn't using. Simply deleting the module worked for one of the two problem sites. The other site is still throwing up an error (below). I searched...

# locate job.module

and deleting "Job Search" from both sites solved half the problem. I'm doubtless missing something and can't see what it is.

Thanks for your help!

Tom

array('name' => t('resume'), 'base' => 'resume')); } function resume_access($op, $node) { global $user; switch($op) { case 'view': if (user_access('edit own resume') && ($user->uid == $node->uid)) { $access = true; } else { $access = user_access('view resume'); } break; case 'create': $access = user_access('create resume'); break; case 'update': case 'delete': if (user_access('edit own resume') && ($user->uid == $node->uid)) { $access = true; } break; } return $access; } function resume_perm() { return array('create resume', 'edit own resume', 'view resume'); } function resume_link($type, $node = 0, $main) { $links = array(); if ($type == 'node' && $node->type == 'resume') { // Don't display a redundant edit link if they are node administrators. if (resume_access('update', $node) && !user_access('administer nodes')) { $links[] = l(t('edit this resume'), "node/$node->nid/edit"); } } return $links; } function resume_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array('path' => 'node/add/resume', 'title' => t('resume'), 'access' => user_access('create resume')); } return $items; } function resume_form(&$node) { $form['title'] = array( '#type' => 'textfield', '#title' => t('Title'), '#default_value' => $node->title, '#size' => 60, '#maxlength' => 128, '#required' => TRUE, ); if (function_exists('taxonomy_node_form')) { $form['taxonomy'] = implode('', taxonomy_node_form('resume', $node)); } $form['body'] = array( '#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#cols' => 60, '#rows' => 20, ); $form['filter'] = filter_form('format', $node->format); return $form; } function resume_update_index() { // Do nothing } function resume_search($op = 'search', $keys = NULL) { global $user; //xdebug_break(); switch($op) { case 'name': if (user_access('view resume')) { $results = t('resume'); } break; case 'search': $results = array(); $r = db_query('SELECT n.nid FROM {node} n INNER JOIN {node_revisions} r ON n.vid = r.vid WHERE n.type = "resume" AND (n.title LIKE "%%%s%%" OR r.body LIKE "%%%s%%")', $keys ,$keys); while ($nid = db_fetch_object($r)) { $node = node_load($nid); if (user_access('view resume') || (user_access('edit own resume') && ($user->uid == $node->uid))) { $results[] = array('link' => url('node/'. $node->nid), 'type' => node_invoke($node, 'name'), 'title' => $node->title, 'user' => theme('username',$node), 'date' => $node->changed, 'snippet' => search_excerpt($keys, check_markup($node->body, $node->format, $check = TRUE))); } } break; case 'reset': variable_del('node_cron_last'); break; case 'status': $results = array('remaining' => 0, 'total' => 0); break; } return $results; } function resume_search_item($item) { $o.= '
'; $o.= l($item['title'], $item['link']) . '
'; $o.= $item['snippet']. '

'; $o.= $item['user'] . ' | ' . format_date($item['date'], 'small'). '

'; $o.= '
'; return $o; } function resume_validate(&$node) { } function resume_insert($node) { } function resume_update($node) { } function resume_delete($node) { } function resume_load($node) { } function resume_view(&$node, $teaser = FALSE, $page = FALSE) { $order_info = theme('resume_display', $node); $node = node_prepare($node, $teaser); } function theme_resume_display($node) { $output = ''; return $output; } ?>

--
http://tomrue.net

# FreeBSD 6.2, Apache 1.3.24, PHP 5.1.2 mod_perl/1.29, MySql 5.0.18
# Drupal 4.72 and 5.1 (multi site), TNG 5.1.4, Gallery 2.1

--
http://tomrue.net

# FreeBSD 9.0, Apache 2.2.22, MySql 5.5.27, PHP 5.3.17
# Drupal 7.16

Jody Lynn’s picture

well this error is coming from resume module

--Zivtech--

tomrue’s picture

Despite deleting every copy of the Resume module from my server (searched thoroughly for "resume" and "jobsearch" and found several copies), I'm still getting the same error - on this one site. I even updated my Locate database to be sure I was looking at current findings.

I optimized my tables in PhpMyAdmin, thinking that worth a try. It says all the tables are okay.

Do you know of another method to search? It's obviously hiding somewhere.

Thanks.

Tom

--
http://tomrue.net

# FreeBSD 6.2, Apache 1.3.24, PHP 5.1.2 mod_perl/1.29, MySql 5.0.18
# Drupal 4.72 and 5.1 (multi site), TNG 5.1.4, Gallery 2.1

--
http://tomrue.net

# FreeBSD 9.0, Apache 2.2.22, MySql 5.5.27, PHP 5.3.17
# Drupal 7.16

tomrue’s picture

I searched the database for the word "jobsearch", in PhpMyAdmin, and found the following occurrences:

7 match(es) inside table sessions
2 match(es) inside table system
15 match(es) inside table watchdog

So that appears to be where it's hiding. I tried repairing the three tables, and all were said to be okay. Any suggestions on how to correct this?

Thanks.

Tom

--
http://tomrue.net

# FreeBSD 6.2, Apache 1.3.24, PHP 5.1.2 mod_perl/1.29, MySql 5.0.18
# Drupal 4.72 and 5.1 (multi site), TNG 5.1.4, Gallery 2.1

--
http://tomrue.net

# FreeBSD 9.0, Apache 2.2.22, MySql 5.5.27, PHP 5.3.17
# Drupal 7.16

tomrue’s picture

A manual cron run got rid of the bad stuff.

Thanks to both of you for helping me figure out what I was looking for!

Tom

--
http://tomrue.net

# FreeBSD 6.2, Apache 1.3.24, PHP 5.1.2 mod_perl/1.29, MySql 5.0.18
# Drupal 4.72 and 5.1 (multi site), TNG 5.1.4, Gallery 2.1

--
http://tomrue.net

# FreeBSD 9.0, Apache 2.2.22, MySql 5.5.27, PHP 5.3.17
# Drupal 7.16

John Morahan’s picture

On further investigation it looks like the culprit here is the short php opening tags on the job and resume modules - <? instead of <?php. I have created a bug report.