RE: Fw: [php4win] PHP code not always processed
| From: | Daniel Beulshausen | Date: | Fri, 14 Sep 2001 18:48:20 +0000 |
| Subject: | RE: Fw: [php4win] PHP code not always processed | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65951@lists.php.net to get a copy of this message | ||
At 17:33 14.09.2001 +0200, Harald Radi wrote:
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.agreeing.
i'm resending this message to the php-dev list too and leave the whole thread appended so maybe someone can investigate this.hadn't time to do so today, but i reproduced this problem a few minutes ago, it definetly must be fixed before 4.0.7. anyone reproduce this under isapi or another sapi other than cgi? daniel
-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:-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.comups, 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 processedmodulegood morning. no, i do not get any dumps. on my WAP (wamp without mysql *g*), when i use 407rc2 or 408dev asphp-image can not(i've not tried the cgi), the simple script<?php phpinfo(); ?>sometimes gives me the right output, sometimes theanybe displayed and sometimes i receive te php-page unparsed. with all earlier versions which i've tested since php4 i've never hadto"big" problem like that. for the moment i'm running 406dev which seemsbeone long PHPvery 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 processedTo the people who have scripts half processed. Do you have fragments of PHP code inserted in HTML orscript?for the pagewithI have pages with one long PHP script and they make Apache terminatea memory dump. I suspect for pages withlittle bits of PHP inserted in HTML, the PHP process__________so,isterminating half way through and not processingPHP 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? Ifwhat 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 anApache 1.3.20 module (not CGI) and my os is win98 SE.Regards, Loïc____l'Internet ! vos___ifrance.com, l'email gratuit le plus complet dele WAP...emails depuis un navigateur, en POP3, sur Minitel, sur-- 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-- to unsubscribe mail to: php4win-unsubscribe@lists.netuse.de for additional commands mail to: php4win-help@lists.netuse.dehttp://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