* [Sysadmins] проблема с раскодировкой
@ 2010-05-19 10:32 Andrii Dobrovol`s`kii
2010-05-19 10:37 ` Дмитрий Дегтярев
2010-05-19 11:05 ` Nikolay A. Fetisov
0 siblings, 2 replies; 4+ messages in thread
From: Andrii Dobrovol`s`kii @ 2010-05-19 10:32 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]
Всем привет,
Тут у меня php скрипт отказывается работать после переезда с 2.4 на
4.0 бранч. Раньше работало а сейчас показывает форму ввода логина и
пароля и дальше ни на шаг. В логе вижу такое сообщение об ошибке:
index.php?eror=%CD%E5%EF%F0%E0%E2%E8%EB%FC%ED%FB%E9%20%E2%E2%EE%E4%20%EB%EE%E3%E8%ED%E0!HTTP/1.0"
200 2340
Вот только прочесть его не в состоянии... И строку прекодировки тоже
подобрать для iconv не получилось. Подскажите как это прочесть...
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************************************************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] проблема с раскодировкой
2010-05-19 10:32 [Sysadmins] проблема с раскодировкой Andrii Dobrovol`s`kii
@ 2010-05-19 10:37 ` Дмитрий Дегтярев
2010-05-19 11:05 ` Nikolay A. Fetisov
1 sibling, 0 replies; 4+ messages in thread
From: Дмитрий Дегтярев @ 2010-05-19 10:37 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
19.05.2010 16:32, Andrii Dobrovol`s`kii пишет:
> Всем привет,
> Тут у меня php скрипт отказывается работать после переезда с 2.4 на
> 4.0 бранч. Раньше работало а сейчас показывает форму ввода логина и
> пароля и дальше ни на шаг. В логе вижу такое сообщение об ошибке:
> index.php?eror=%CD%E5%EF%F0%E0%E2%E8%EB%FC%ED%FB%E9%20%E2%E2%EE%E4%20%EB%EE%E3%E8%ED%E0!HTTP/1.0"
> 200 2340
> Вот только прочесть его не в состоянии... И строку прекодировки тоже
> подобрать для iconv не получилось. Подскажите как это прочесть...
Кусок лога за одно обращение из браузера...
--
С уважением, Дегтярев Дмитрий
инженер-программист ООО "Невод" г. Пермь
web: http://nevod.ru
тел: (342) 2 196 960
e-mail: ddv@nevod.ru
JID: ddv@nevod.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] проблема с раскодировкой
2010-05-19 10:32 [Sysadmins] проблема с раскодировкой Andrii Dobrovol`s`kii
2010-05-19 10:37 ` Дмитрий Дегтярев
@ 2010-05-19 11:05 ` Nikolay A. Fetisov
2010-05-19 12:44 ` Andrii Dobrovol`s`kii
1 sibling, 1 reply; 4+ messages in thread
From: Nikolay A. Fetisov @ 2010-05-19 11:05 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
В Срд, 19/05/2010 в 13:32 +0300, Andrii Dobrovol`s`kii пишет:
> ... В логе вижу такое сообщение об ошибке:
> index.php?eror=%CD%E5%EF%F0%E0%E2%E8%EB%FC%ED%FB%E9%20%E2%E2%EE%E4%20%EB%EE%E3%E8%ED%E0!HTTP/1.0"
> 200 2340
> Вот только прочесть его не в состоянии... И строку прекодировки тоже
> подобрать для iconv не получилось. Подскажите как это прочесть...
Например, так:
$ php -r 'echo urldecode("%CD%E5<...>%ED%E0!"),"\n";' | \
recode MS-CYR..UTF-8
Неправильный ввод логина!
$
Только не думаю, что это сообщение сильно поможет. Надо смотреть в
error_log или/и в код.
--
С уважением,
Николай Фетисов
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] проблема с раскодировкой
2010-05-19 11:05 ` Nikolay A. Fetisov
@ 2010-05-19 12:44 ` Andrii Dobrovol`s`kii
0 siblings, 0 replies; 4+ messages in thread
From: Andrii Dobrovol`s`kii @ 2010-05-19 12:44 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]
Nikolay A. Fetisov пишет:
> В Срд, 19/05/2010 в 13:32 +0300, Andrii Dobrovol`s`kii пишет:
>> ... В логе вижу такое сообщение об ошибке:
>> index.php?eror=%CD%E5%EF%F0%E0%E2%E8%EB%FC%ED%FB%E9%20%E2%E2%EE%E4%20%EB%EE%E3%E8%ED%E0!HTTP/1.0"
>> 200 2340
>> Вот только прочесть его не в состоянии... И строку прекодировки тоже
>> подобрать для iconv не получилось. Подскажите как это прочесть...
>
> Например, так:
>
> $ php -r 'echo urldecode("%CD%E5<...>%ED%E0!"),"\n";' | \
> recode MS-CYR..UTF-8
> Неправильный ввод логина!
> $
>
Спасибо.
> Только не думаю, что это сообщение сильно поможет. Надо смотреть в
> error_log или/и в код.
>
Туда я конечно тоже заглянул. Там есть свои вопросы. Вы правы.
Просто нужно было понять и эту часть лога.
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************************************************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-19 12:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-19 10:32 [Sysadmins] проблема с раскодировкой Andrii Dobrovol`s`kii
2010-05-19 10:37 ` Дмитрий Дегтярев
2010-05-19 11:05 ` Nikolay A. Fetisov
2010-05-19 12:44 ` Andrii Dobrovol`s`kii
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git