test.php3 error message when testing phplib setup

chris@telerama.com chris@telerama.com
Tue, 31 Jul 2001 11:00:27 -0400 (EDT)


Hi there.

I just installed the latest Horde and IMP (1.2.6 and 2.2.6) on a
FreeBSD 4.0-STABLE box.  I apologize is this problem has already been
resolved, but I figured this might still be helpful for the IMP
developers if it hasn't.  I found a few articles regarding this on the
mailing list, but none seem to have a resolution.  The closest bug
report I could find that has anything to do with the error I
encountered is this:

http://bugs.horde.org/show_bug.cgi?id=599

The webserver is: Apache/1.3.19 with mod_ssl/2.8.2 OpenSSL/0.9.4
PHP/4.0.6.

Anyways, onto the problem I encountered.  After getting Horde and IMP
extracted into their proper directories and setting up Apache with the
proper PHP settings, I ran 'test.php3'.  The output of the first page
looked perfectly fine.  I then went on to 'Click here to test PHPLIB'.
This is where I got the following errors.  The problem doesn't seem to
be affecting IMP's ability to work, and this only occurred the *first*
time I tried testing the PHPLIB.  I haven't been able to reproduce the
problem since.

Here's the output of the PHPLIB tests via test.php3:

--- 1st attempt
Reload this page to see the counters increment.
Go back to the test.php3 page.
View the output of phpinfo().

Per Session Data: 1

Session ID: 0e32859e8fa1a9ddeb8f9c5a69bd79f8

If this page works correctly, then you have a correctly configured HordeSession class. You should be done
with PHPLIB setup.
Warning: Undefined property: classname in /usr/local/etc/apache/phplib/session.inc(283) :
eval()'d code on line 1

Warning: Variable passed to reset() is not an array or object in
/usr/local/etc/apache/phplib/session.inc(283) : eval()'d code on line 1
---

--- 2nd attempt
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
/usr/local/etc/apache/phplib/session.inc(343) : eval()'d code on line 1
Reload this page to see the counters increment.
Go back to the test.php3 page.
View the output of phpinfo().

Per Session Data: 1

Session ID: 0e32859e8fa1a9ddeb8f9c5a69bd79f8

If this page works correctly, then you have a correctly configured HordeSession class. You should be done
with PHPLIB setup.
---

--- 3rd attempt
Reload this page to see the counters increment.
Go back to the test.php3 page.
View the output of phpinfo().

Per Session Data: 2

Session ID: 0e32859e8fa1a9ddeb8f9c5a69bd79f8

If this page works correctly, then you have a correctly configured HordeSession class. You should be done
with PHPLIB setup.
---

--- 4th attempt
Reload this page to see the counters increment.
Go back to the test.php3 page.
View the output of phpinfo().

Per Session Data: 3

Session ID: 0e32859e8fa1a9ddeb8f9c5a69bd79f8

If this page works correctly, then you have a correctly configured HordeSession class. You should be done
with PHPLIB setup.
---

>From this point on, I can keep clicking 'Reload' forever and it looks
perfectly fine.  I couldn't get the above errors to repeat.  Like I
said, IMP works just dandy.  I don't know if this error will cause any
other problems or not, but I figured this info might be useful if
someone felt like taking a look at it.  :)

Thanks,
-Chris.