Re: [phplib] phplib + php4 From: Maurice Jumelet (maurice <email protected>)
Date: 09/16/00

about the upgrading of the session table:
I thought that there was only a slight change in the way data is stored, the
sturcture stayed the same.
For a smooth transaction I should:
1. Stop the site for a few omements
2. Delete content of activesessions (DELETE from active_sessions)
3. INstall the new version of phplib
4. reactivate the site.

You even do this in a self-made script.
Correct me if I am wrong: by deleteing the entire active_sessions table, and
than installing the new library , the only thing that would happen is that
all users got logged out, and need to relogin to get acccess.

Maurice
NOXX.COM

----- Original Message -----
From: "Chris Cochella" <chris <email protected>>
To: <phplib <email protected>>
Sent: Saturday, September 16, 2000 7:26 PM
Subject: Re: [phplib] phplib + php4

> So is the problem with templates.inc in 7.2b, thus upgrading to templates
7.2c
> fixes the problem.
>
> Or does it take a complete upgrade.
>
> One of the difficulties of upgrading is the sessions table now has new
fields
> (which by way are not included in the mysql table creation script).
>
> Such changes make upgrading a deployment system problematic and scary.
>
> Chris
>
> "R.B. Scholtus" wrote:
>
> > I had problems with phplib 7.2b's template class and PHP4 also.
Upgrading to
> > phplib 7.2c fixes the problem but causes a new, small inconvenience, the
END
> > block tag must be at the beginning of a new line. To make the class work
> > with old templates I replaced this line in function set_block($parent,
> > $handle, $name = ""):
> >
> > $reg = "/<!--\s+BEGIN $handle\s+-->(.*)\n\s*<!--\s+END
> > $handle\s+-->/sm";
> >
> > with this line (from phplib 7.2b):
> >
> > $reg = "/<!--\s+BEGIN $handle\s+-->(.*)<!--\s+END $handle\s+-->/sm";
> >
> > I removed the \n\s+, and then it works perfectly fine for me.
> >
> > Brian
> >
> > ----- Original Message -----
> > From: "Maurice Jumelet" <maurice <email protected>>
> > To: "José Luis Gonçalves" <zeluis <email protected>>; <phplib <email protected>>
> > Sent: Saturday, September 16, 2000 8:54 AM
> > Subject: Re: [phplib] phplib + php4
> >
> > > people need to upgrade to phplib 7.2c, there where some problems in
the
> > > template.inc, I had.
> > >
> > > Also, i found another few problems bij converting in my other
self-made
> > > code.
> > >
> > > Maurice
> > >
> > >
> > > ----- Original Message -----
> > > From: "José Luis Gonçalves" <zeluis <email protected>>
> > > To: <phplib <email protected>>
> > > Sent: Sunday, September 17, 2000 3:10 AM
> > > Subject: [phplib] phplib + php4
> > >
> > >
> > > > Hi !
> > > >
> > > > I'm instlalling a new server, i have some ppl that use phplib7 + php
> > 3.0.x
> > > > in there sites, can i install php4 everyrhing will work the same.
> > > > I saw some posts related but i didn´t but not any of them conclusive
!
> > > >
> > > > Tnx
> > > >
> > > > ZL
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > > > For additional commands, e-mail: phplib-help <email protected>
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > > For additional commands, e-mail: phplib-help <email protected>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > For additional commands, e-mail: phplib-help <email protected>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>