ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Леонидов" <leonidov.vladimir@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] PHP и Apache2
Date: Sun, 11 Nov 2007 06:00:10 +0300
Message-ID: <423a41ab0711101900pb8a1d82yee7f9cc169f2d49b@mail.gmail.com> (raw)
In-Reply-To: <4736379B.7060307@rambler.ru>

11.11.07, Di<denyago@rambler.ru> написал(а):
> >> 1) 1.php
> >> <? echo("Hello!"); ?>
> >> 2) 2.php
> >> <?php echo("Hello!"); ?>

Точно, не заметил :)                                    ^^^^^ - тут
пропущена кавычка
Тогда 2-й работает, а 1-й нет

> А что говорится в логах?
> tail /var/log/httpd2/error_log - к примеру...

[Sun Nov 11 05:55:08 2007] [error] [client 127.0.0.1] PHP Notice:
Undefined variable: gzipuse in /var/www/apache2/html/index.php on line
5
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Notice:
Undefined variable: gzipuse in /var/www/apache2/html/index.php on line
5
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Warning:
session_start(): Cannot send session cookie - headers already sent by
(output started at /var/www/apache2/html/functions.php:40) in
/var/www/apache2/html/index.php on line 10
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Warning:
session_start(): Cannot send session cache limiter - headers already
sent (output started at /var/www/apache2/html/functions.php:40) in
/var/www/apache2/html/index.php on line 10
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] PHP Fatal error:
 Call to undefined function ip() in /var/www/apache2/html/index.php on
line 16
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not
exist: /var/www/apache2/html/\\"$q[1]\\", referer: http://localhost/
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not
exist: /var/www/apache2/html/.$ee[1]., referer: http://localhost/
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not
exist: /var/www/apache2/html/\\"$zamena\\", referer: http://localhost/
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not
exist: /var/www/apache2/html/$logo, referer: http://localhost/
[Sun Nov 11 05:55:37 2007] [error] [client 127.0.0.1] File does not
exist: /var/www/apache2/html/templates/$templ_name, referer:
http://localhost/

Короче говоря, он не хочет воспринимать переменные должным образом.

  reply	other threads:[~2007-11-11  3:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 17:59 Владимир Леонидов
2007-11-10 22:30 ` Di
2007-11-10 22:49   ` Владимир Леонидов
2007-11-10 22:58     ` Di
2007-11-11  3:00       ` Владимир Леонидов [this message]
2007-11-11 13:28         ` Di
2007-11-12  6:23 ` Алексей Шенцев
2007-11-12  7:48   ` Владимир Леонидов
2007-11-12  7:56     ` Алексей Шенцев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=423a41ab0711101900pb8a1d82yee7f9cc169f2d49b@mail.gmail.com \
    --to=leonidov.vladimir@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git