[PHP3] errors after fresh install of phplib From: Theodore Hope (php <email protected>)
Date: 12/01/99

[I'm cross-posting this on the phplib list, sorry for the duplicate.]

I just installed phplib 7.2 and get the following when trying to
load the sample "index.php3" (the one that's included in "pages/"):

-----
  Warning: Uninitialized variable or array index or property (sid)
           in session.inc on line 396
  Warning: Uninitialized variable in session.inc on line 96
-----

The rest of the platform is Apache 1.3.9 + php 3.0.12 + postgresql 6.5.3
Browser is Netscape 4.7, nothing special. (Cookies are enabled.)

I did the following and triple-checked them:
  Modified "local.inc", setting Host/Database/User/Password.
  Modified "prepend.php3" so that it uses "db_pgsql.inc".
  Created the database and made sure Apache can read/write it.
  Ran "create_database.pgsql" and verified the results.
  Configured "php3_include_path" and "php3_auto_prepend_file" correctly.

I tried the simple "Table" example (select * from auth_user...) and
get a bunch of "Uninitialized variable" warnings, but _am_ getting
the result (that is, the sample "kris" row in auth_user) after all the
warnings.

Many thanks to anyone who can please point me in the right direction.

(I'm new to this list, sorry if this has been discussed before.)
Regards,
  -T

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>