Date: 09/16/00
- Next message: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Previous message: Dave Daniels: "[phplib] Re: [PHP] php errors with inclution"
- In reply to: R.B. Scholtus: "Re: [phplib] phplib + php4"
- Next in thread: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Reply: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Reply: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Previous message: Dave Daniels: "[phplib] Re: [PHP] php errors with inclution"
- In reply to: R.B. Scholtus: "Re: [phplib] phplib + php4"
- Next in thread: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Reply: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Reply: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

