[horde] WTF? Blank test.php - sometimes..
Rick Romero
rick at havokmon.com
Fri May 9 05:37:39 PDT 2003
Hey guys, great product, love the show.
I've been running horde for a few years, and I've never had the
following happen: (I'm building a new server, and the data is copied
from a working installation)
http://66.58.87.12/oldhorde/test.php
works fine, but, is the old version.
I'm trying to get Horde CVS going. CVS is from about a week ago.
http://66.58.87.12/horde/test.php
gives a blank page.
In fact, copying oldhorde/test.php to horde/test3.php:
http://66.58.87.12/horde/test3.php
gives a blank page.
I'm TOTALLY confused. I tried dropping in the 'new' PEAR referenced in
the oldhorde/test.php, but that doesn't seem to update me.
I'm running a fresh install of FreeBSD 4.8, Apache2/PHP 4.3.1 installed
from ports.
Some output:
mail# ls -la /usr/local/etc/php.ini
-r--r--r-- 1 root wheel 38422 May 8 20:27 /usr/local/etc/php.ini
mail# pear list
Installed packages:
===================
+----------------+---------+--------+
| Package | Version | State |
| Archive_Tar | 0.9 | stable |
| Console_Getopt | 1.0 | stable |
| DB | 1.3 | stable |
| HTTP | 1.2 | stable |
| Mail | 1.0.1 | stable |
| Net_SMTP | 1.0 | stable |
| Net_Socket | 1.0.1 | stable |
| PEAR | 1.0b3 | stable |
| XML_Parser | 1.0 | stable |
| XML_RPC | 1.0.4 | stable |
+----------------+---------+--------+
mail# cd horde
mail# ls -la
total 222
drwxr-xr-x 25 root wheel 1024 May 8 20:48 .
-rw-r--r-- 1 root wheel 8592 Mar 9 11:35 .#menu.php.2.37
drwxr-xr-x 20 root wheel 2048 May 8 20:59 ..
-rw-r--r-- 1 root wheel 25275 Mar 9 11:35 COPYING
drwxr-xr-x 2 root wheel 512 Apr 15 13:33 CVS
....
-rw-r--r-- 1 root wheel 9357 May 8 21:00 test.php
-rw-r--r-- 1 root wheel 21643 Mar 10 14:45 test2.php
-rw-r--r-- 1 root wheel 12949 May 8 20:48 test3.php
... etc etc
mail# cd oldhorde
mail# ls -la
total 108
drwxr-xr-x 14 root wheel 1024 May 8 20:49 .
drwxr-xr-x 20 root wheel 2048 May 8 20:59 ..
-rw-r--r-- 1 root wheel 25275 Feb 11 2000 COPYING
-rw-r--r-- 1 root wheel 98 Dec 17 15:19 Changes-Rick
-rw-r--r-- 1 root wheel 2109 Dec 16 2001 README
drwxr-xr-x 2 root wheel 512 Mar 25 11:19 config
-rw-r--r-- 1 root wheel 2536 Jan 2 2002 css.php
drwxr-xr-x 2 root wheel 512 Dec 11 08:17 docs
...
-rw-r--r-- 1 root wheel 12949 Jun 10 2002 test.php
-rw-r--r-- 1 root wheel 9357 May 9 07:27 testcvs.php
... etc etc
testcvs.php is test.php from horde/ directory.
When I first started, test.php was blank, BUT the login page would show
up with errors that Log.php couldn't be opened. After reinstalling PHP
from ports, even the login page stopped showing up.
I think it's some kind of session issue, I enabled logging to syslog
from php.ini and /var/log/messages has a slew of:
May 9 07:31:22 mail /kernel: pid 30625 (httpd), uid 80: exited on
signal 11
May 9 07:31:22 mail /kernel: pid 30628 (httpd), uid 80: exited on
signal 11
http://66.58.87.12/phpweblog/
seems to work fine, BUT also sends errors to syslog:
May 9 07:32:50 mail httpd: PHP Notice: Undefined variable: icon in
/usr/local/www/data.default/phpweblog/include/layout.inc.php(125) :
eval()'d code on line 13
May 9 07:32:50 mail httpd: PHP Notice: Undefined index:
69ab827b0e71a6e39e8fdbbd781d3cfe in
/usr/local/www/data.default/phpweblog/include/func.inc.php on line 170
Which to me, (the uninitiated) appear to be another session issue..
php.ini has:
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
session.save_path = /tmp
session.use_cookies = 1
; attacks which involve passing session ids in URLs; defaults to 0.
; session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
and I have /tmp/sess_1231231 files..
I'm totally stuck as to why this is happening.. Any ideas?
Thanks!
Rick
More information about the horde
mailing list