RE: [PHP] php3 / php4
| From: | Maxim Maletsky | Date: | Mon, 20 Nov 2000 02:29:29 +0000 |
| Subject: | RE: [PHP] php3 / php4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26179@lists.php.net to get a copy of this message | ||
What if you would just put this few lines in a new file like:
<?
echo 'here we go';
phpinfo();
?>
then will the error persist and what line it is at then?
What I feel is that your code wasn't written in a "natural" way. I mean it
had some brackets or some in&out PHP mode left over which weren't a problem
within PHP3 but are troublesome on PHP4. Unless the code above also gives
you a parse error.
Cheers,
Maxim Maletsky.
-----Original Message-----
From: Floyd Baker [mailto:fbaker@olm1.com]
Sent: Monday, November 20, 2000 11:21 AM
To: Marc Dondlinger
Cc: php-general@lists.php.net
Subject: Re: [PHP] php3 / php4
(I meant to say:)
Whenever I get a parse error, the stated line is a line 'below' the actual
error... Usually one line but with rem's, etc. the error is sometimes many
lines up from the stated line.
It seems to *never* be on the line it is said to be on.
Floyd
On Sun, 19 Nov 2000 12:26:14 +0100, you wrote:
>Hello Php coders
>
>I'm sorry but i really need your help. I wrote my homepage in php3 code
andf it was working properly but now my webserver got updated from php3 to
php4 and my page is not working anymore at all.
>I get now a "parse error on line xxx" but xxx represents no line at all ,
it's the last line of my html code where no php is in at all ...
>
>Any ideas what it could be ?
>thank you very much
>
>Marc Dondlinger (aka HiGhPwR)
>highpwr@quakeXtreme.com / highpwr@quake.lu
>http://www.quakeXtreme.com /
>http://www.quake.lu
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net