Re: [PHPLIB] PHPLIB-7.2 released From: Edmund (edmund <email protected>)
Date: 10/27/99

So am I understanding that there is a problem in upgrading from 7.0 to 7.2 ? I
mean the new PHPLIB 7.2 files can't just be copied over the 7.0 files? Do the
existing Authentication tables need to be converted?

Has anyone just copied 7.2 over 7.0 and had it work?

Thanks in advance...

C'ya,
Edmund
edmund <email protected>

Andrzej Piasecki wrote:

> > Subject: Re: [PHPLIB] PHPLIB-7.2 released
> >
> >
> > On Tue, Oct 26, 1999 at 02:43:42PM +0200, Andrzej Piasecki wrote:
> >
> > >> Can you provide some code for testing?
> > AP> Ok.
> >
> > I modified index.php3 deleting all references to Container class
> > (you didn't
> > send the complete class and I don't think that code should be involved in
> > validation process). When I load index.php3, the login code appears. I
> > log in as kris, test, and the logout link is displayed. I follow the
> > link, and the "logout.php3" page appears. I type in index.php3 again,
> > and the login screen is back again. I can't see problems here, so I
> > must assume there are hidden problems in other parts of your
> > implementation.
>
> I leave only local.inc (v. 1.21). All files was from new 7.2 phplib.
> I've just dropped phplib tables and create_database.mysql from 7.2
> uid->user_id )
> and put new local.inc (v. 1.23).
> And I have the same problems as on start of today's work.
> Important diffs between 1.21 and 1.23:
>
> 8c8
> < * $Id: local.inc,v 1.21 1999/07/20 11:27:18 negro Exp $
> ---
> > * $Id: local.inc,v 1.23 1999/08/25 11:40:48 kk Exp $
> 65d58
> < var $allowcache = "no";
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> In version 1.23 variable $allowcache is not set:
>
> class Example_Session extends Session {
> var $classname = "Example_Session";
>
> var $cookiename = ""; ## defaults to classname
> var $magic = "Hocuspocus"; ## ID seed
> var $mode = "cookie"; ## We propagate session IDs with
> cookies
> var $fallback_mode = "get";
> var $lifetime = 0; ## 0 = do session cookies, else
> minutes
> var $that_class = "Example_CT_Sql"; ## name of data storage container
> var $gc_probability = 5;
> }
>
> I add "var $allowcache = "no";" to Example_Session
> and now it's working.
>
> Bye
> Andrzej Piasecki
> robin <email protected>
> Member of World Federation of Mad Hackers
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.