Re: no errors ?
| From: | Paul Nicholson | Date: | Thu, 03 Oct 2002 15:18:13 +0000 |
| Subject: | Re: no errors ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118759@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
Check these three ini settings,
log_errors
display_errors
error_log
My guess is the you have log_errors on, display_errors off, & error_log as
your apache access log.
HTH!
~Pauly
On Thursday 03 October 2002 04:20 am, gamin wrote:
> Yes,
>
> Short tags should be On, cause
>
> <?
> phpinfo();
> ?>
>
> results in the exptected page.
>
> Still unable to understand why this is happening, here are some of the
> following code snippets with the errors:
>
> <?php
> somejunk;
> somemorejunk;
> anotherlineofjunk;
> ?>
>
> NO ERROR REPORTED FROM PHP
>
> [results in the Apache/access.log] 127.0.0.1 - - [03/Oct/2002:13:33:49
> +0530] "GET /real/1.php HTTP/1.1" 200 5
> -------
> <?php
> somejunk;
> somemorejunk;
> anotherlineofjunk;
> ?>
>
> Parse error: parse error, unexpected T_STRING in c:\program files\apache
> group\apache\htdocs\real\1.php on line 2
>
> [results in the Apache/access..log] 127.0.0.1 - - [03/Oct/2002:13:36:08
> +0530] "GET /real/1.php HTTP/1.1" 200 161
> -------
> I hope this provides enough information to someone who can tell what is
> going wrong.
>
> thx
>
> gamin.
- --
~Paul Nicholson
Design Specialist @ WebPower Design
"The web....the way you want it!"
paul@webpowerdesign.net
"It said uses Windows 98 or better, so I loaded Linux!"
Registered Linux User #183202 using Register Linux System # 81891
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9nF+5DyXNIUN3+UQRAoHwAKCFSQRiKmtqoK/JpH8sjzES4SergQCeJsG+
ixl5HmQnDPeKopG2T6IyKuU=
=jz2k
-----END PGP SIGNATURE-----