RE: Fw: [php4win] PHP code not always processed

From: Date: Fri, 14 Sep 2001 15:33:14 +0000
Subject: RE: Fw: [php4win] PHP code not always processed
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65937@lists.php.net to get a copy of this message
> in my php408dev-log i've found one message: > [12-Sep-2001 16:19:42] PHP Fatal error: fatal flex scanner > internal error--end of buffer missed in > c:\inetpub\www8082root\templats\menu-de.php > on line 51 > > ... but i am not sure (and because i can not reproduce it -> > i do not think so), if this has something to do with the > mentioned problem. this absolutely sounds like the cause for your problem. you should submit a bugreport for this. i'm resending this message to the php-dev list too and leave the whole thread appended so maybe someone can investigate this. -harald. > > im my apache log i've many entrys like > > [Fri Sep 14 11:16:16 2001] [error] [client 164.139.110.254] > Filename is not > valid: c:/inetpub/www8082root/images/logos/b_contac_< > > ,because the php script wants to load a language specific > image "b_contact_<?php echo $sprache; ?>.gif" and if <?php is > not parsed, it is clear that this file can not be found. > > in the meantime i've also tried to run 408dev as cgi. there > this specifc problem does not exist, but after a while one > php process gets stuck with approximatly 50% of cpu-usage and > can not be terminated (no log-entry available). additionally > the cgi-version (php.exe) is very slow ;o( > > after that (just 2 be sure) i've tried 406dev as cgi.... here > the cgi is also very slow, but there are no other problems. > > i'm using php in combination with the apache webserver since > php3 (that means for a long time), so that i do not think, > that i have any problems with my config-files. > > an other point is, that the 408dev-cgi creates other pages > that the 406dev-cgi.... but i think this is a problem with \n > and \r\n and maybe the nl2br-function... if php408dev parses > the php-pages correctly, i will check if this is a php-bug or > simply a programming bug of mine. > > once again my environment: > - win2k > - php406dev > - apache 1.3.19 > > hoping for a soon solution of this problem. > best regards, > andy > > > > ----- Original Message ----- > From: "Daniel Beulshausen" <daniel@php4win.de> > To: "Andreas Stagl" <a.stagl@gmx.at>; <php4win@lists.netuse.de> > Sent: Friday, September 14, 2001 10:37 AM > Subject: Re: Fw: [php4win] PHP code not always processed > > > At 09:38 14.09.2001 +0200, Andreas Stagl wrote: > >ups, i forgot to post to the list... here you are. > > is anything reported in the logs? > > daniel > > > >----- Original Message ----- > >From: "Andreas Stagl" <a.stagl@gmx.at> > >To: "Peter" <peter@petermoulding.com> > >Sent: Friday, September 14, 2001 9:36 AM > >Subject: Re: [php4win] PHP code not always processed > > > > > > > good morning. > > > > > > no, i do not get any dumps. > > > > > > on my WAP (wamp without mysql *g*), when i use 407rc2 or 408dev as > module > > > (i've not tried the cgi), the simple script > > > <?php > > > phpinfo(); > > > ?> > > > sometimes gives me the right output, sometimes the > php-image can not > > > be displayed and sometimes i receive te php-page unparsed. > > > > > > with all earlier versions which i've tested since php4 i've never > > > had > any > > > "big" problem like that. for the moment i'm running 406dev which > > > seems > to > >be > > > very stable on my evironment. > > > > > > any ideas? > > > > > > best regards, > > > andy > > > > > > > > > ----- Original Message ----- > > > From: "Peter" <peter@petermoulding.com> > > > To: <php4win@lists.netuse.de> > > > Sent: Friday, September 14, 2001 12:38 AM > > > Subject: Re: [php4win] PHP code not always processed > > > > > > > > > > To the people who have scripts half processed. > > > > Do you have fragments of PHP code inserted in HTML or > one long PHP > >script? > > > > > > > > I have pages with one long PHP script and they make Apache > > > > terminate > >with > > > a memory dump. I suspect for pages with > > > > little bits of PHP inserted in HTML, the PHP process > for the page > > > > is > > > terminating half way through and not processing > > > > PHP tags after that point. > > > > > > > > Do you get dumps or messages anywhere? > > > > > > > > Does PHP process all tags up to a point then none after that > > > > point? If > >so, > > > what is the last tag processed and what is the > > > > first tag not processed? > > > > > > > > Peter > > > > > > > > 9/13/01 11:14:34 PM, "Loïc" <loic-div@ifrance.com> wrote: > > > > > > > > >Hi List! > > > > > > > > > >I've faced the same kind of problem with 4.0.7-rc1 > > > > >and 4.0.7-rc2. > > > > > > > > > >Testing the current cvs version of phpMyAdmin > > > > >yesterday with the new rc2, I've seen something > > > > >really stange: someytimes the first part of the > > > > >script is parsed and not the rest! > > > > > > > > > >It's not related to the phpMyAdmin code (I'm one > > > > >of the dev. and the same script works without any problem with > > > > >php4.0.6). Indeed, while we always use full "<?php" tags, it > > > > >seems php4.0.7 does not find all of them! > > > > > > > > > >Note: I've only tested php4.0.7-rc2 loaded as an > > > > > Apache 1.3.20 module (not CGI) and my > > > > > os is win98 SE. > > > > > > > > > >Regards, > > > > >Loïc > > > > > > > > > > > > > > > > > > > > >_____________________________________________________________ > __________ > >____ > > > ___ > > > > >ifrance.com, l'email gratuit le plus complet de > l'Internet ! vos > > > > >emails depuis un navigateur, en POP3, sur Minitel, sur > le WAP... > > > > >http://www.ifrance.com/_reloc/email.emailif > > > > > > > > > > > > > > > > > > > >-- > > > > >to unsubscribe mail to: php4win-unsubscribe@lists.netuse.de > > > > >for additional commands mail to: php4win-help@lists.netuse.de > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > to unsubscribe mail to: php4win-unsubscribe@lists.netuse.de > > > > for additional commands mail to: php4win-help@lists.netuse.de > > > > > > > > > > > > > > > > >-- > >to unsubscribe mail to: php4win-unsubscribe@lists.netuse.de > >for additional commands mail to: php4win-help@lists.netuse.de > > > -- > daniel beulshausen - daniel@php4win.de > using php on windows? http://www.php4win.com > > > -- > to unsubscribe mail to: php4win-unsubscribe@lists.netuse.de > for additional commands mail to: php4win-help@lists.netuse.de > > > > -- > to unsubscribe mail to: php4win-unsubscribe@lists.netuse.de > for additional commands mail to: php4win-help@lists.netuse.de > >

« previous php.dev (#65937) next »