web-интерфейс 008

Технические вопросы по UTM 5.0
eret
Сообщения: 10
Зарегистрирован: Вт ноя 09, 2010 13:40

Сообщение eret »

Вылезало URFA error: finish: state != URFA_STATE_OUTPUT

После чтения вышеуказанной доки добавил в utm5.cfg
urfa_lib_file=/netup/utm5/lib/utm5_core/liburfa-user.so.
Как говорил штирлиц "Дуло исчезло"



Вот как то так.

Pei0t
Сообщения: 258
Зарегистрирован: Чт дек 13, 2007 20:48

Сообщение Pei0t »

edison писал(а):Еще такие вот ошибки:
URFA error: call: recvPacket failed
URFA error: send: state != URFA_STATE_INPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: finish: state != URFA_STATE_OUTPUT
URFA error: call: recvPacket failed
URFA error: send: state != URFA_STATE_INPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: finish: state != URFA_STATE_OUTPUT

Что это значит как это сделать работающим.
Это типа купите еще УРФА клиента за НННН баксов?

Смотрим urfa.php
находим там функцию recvPacket и видим
$fields = unpack("Ccode/Cver/nsize",$header);

что за интересный путь Ccode/Cver/nsize ???
Такого пути нет у меня по крайней мере...
Решилась проблемка? Имеем вебку на отдельном сервере, вверху страницы вылазиет следующее:

Код: Выделить всё

URFA error: call: recvPacket failed
URFA error: send: state != URFA_STATE_INPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: finish: state != URFA_STATE_OUTPUT
URFA error: call: recvPacket failed
URFA error: send: state != URFA_STATE_INPUT
URFA error: get: state != URFA_STATE_OUTPUT
URFA error: finish: state != URFA_STATE_OUTPUT

gravis
Сообщения: 562
Зарегистрирован: Ср мар 16, 2005 15:31
Откуда: Село Красноярск

Сообщение gravis »

edison писал(а):Еще такие вот ошибки:
Смотрим urfa.php
находим там функцию recvPacket и видим
$fields = unpack("Ccode/Cver/nsize",$header);

что за интересный путь Ccode/Cver/nsize ???
Такого пути нет у меня по крайней мере...
меня чуть не убило =)
не засоряйте пожалуйста людям мозг своей безграмотностью
это не путь, а формат преобразования

Pei0t
Сообщения: 258
Зарегистрирован: Чт дек 13, 2007 20:48

Сообщение Pei0t »

По поводу ошибки, которую я писал выше, нехватало в extensions.ini openssl. Что собственно было в док-ии:

Код: Выделить всё

В зависимости от типа ОС и версии интерпретатора PHP, может понадобиться установка и настройка расширений OpenSSL и PCRE для PHP.

Аватара пользователя
TiRider
Сообщения: 568
Зарегистрирован: Сб июн 07, 2008 12:43

Сообщение TiRider »

Добивающая до дебилизма документация. И интерфейс...

Pei0t
Сообщения: 258
Зарегистрирован: Чт дек 13, 2007 20:48

Сообщение Pei0t »

TiRider писал(а):Добивающая до дебилизма документация. И интерфейс...
Интерфейс ещё куда нишло, лучше чем была, но документация да..

Аватара пользователя
TiRider
Сообщения: 568
Зарегистрирован: Сб июн 07, 2008 12:43

Сообщение TiRider »

Весь день сегодня бился, чтобы новый веб-интерфейс привентить... Вроде все операции сделал, а ошибки валят и валят. Снова сырую шнягу выпустили...

Код: Выделить всё

Strict Standards: Declaration of LoginModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/00_login.php on line 12

Strict Standards: Declaration of UserModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/00_user.php on line 13

Strict Standards: Declaration of LoginHotspotModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/01_login_hotspot.php on line 12

Strict Standards: Declaration of LoginCardModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/03_login_card.php on line 12

Strict Standards: Declaration of NewMessagesModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/10_new_messages.php on line 12

Strict Standards: Declaration of TrafficReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/30_traffic_report.php on line 13

Strict Standards: Declaration of ServiceReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/31_service_report.php on line 12

Strict Standards: Declaration of PaymentsReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/32_payments_report.php on line 12

Strict Standards: Declaration of InvoicesModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/33_invoices.php on line 12

Strict Standards: Declaration of TelephonyReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/34_telephony_report.php on line 12

Strict Standards: Declaration of DHSReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/35_dhs_report.php on line 12

Strict Standards: Declaration of BlockingReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/36_blocking_report.php on line 12

Strict Standards: Declaration of FundsFlowReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/37_funds_flow_report.php on line 12

Strict Standards: Declaration of TariffsModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/40_tariffs.php on line 12

Strict Standards: Declaration of ServicesModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/41_services.php on line 12

Strict Standards: Declaration of TariffHistoryModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/42_tariff_history.php on line 12

Strict Standards: Declaration of RentsoftModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/43_rentsoft.php on line 16

Strict Standards: Declaration of PaymentModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/50_payment.php on line 12

Strict Standards: Declaration of PaymentDocumentModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/51_payment_document.php on line 12

Strict Standards: Declaration of AccountAdditionalModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/account_additional.php on line 13

Strict Standards: Declaration of AccountsModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/accounts.php on line 12

Strict Standards: Declaration of ChronopayModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/chronopay.php on line 14

Strict Standards: Declaration of ChronopayFailModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/chronopay_fail.php on line 12

Strict Standards: Declaration of FundsFlowModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/funds_flow.php on line 13

Strict Standards: Declaration of HotspotModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/hotspot.php on line 12

Strict Standards: Declaration of InvoiceDocumentModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/invoice_doc.php on line 12

Strict Standards: Declaration of SendMessageModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/message.php on line 12

Strict Standards: Declaration of MessagesModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/messages.php on line 12

Strict Standards: Declaration of SentMessagesModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/messages_sent.php on line 12

Strict Standards: Declaration of MobiMoneyModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/mobi_money.php on line 14

Strict Standards: Declaration of PasswordModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/password.php on line 12

Strict Standards: Declaration of PasswordServiceModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/password_service.php on line 12

Strict Standards: Declaration of PromisedPaymentModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/promised_payment.php on line 13

Strict Standards: Declaration of ServiceModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/service.php on line 12

Strict Standards: Declaration of TariffModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/tariff.php on line 12

Strict Standards: Declaration of TrafficDateReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/traffic_date_report.php on line 13

Strict Standards: Declaration of TrafficIPReportModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/traffic_ip_report.php on line 13

Strict Standards: Declaration of UserDetailsModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/user_details.php on line 13

Strict Standards: Declaration of UserEditModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/user_edit.php on line 13

Strict Standards: Declaration of VoluntarySuspensionModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/v_block.php on line 13

Strict Standards: Declaration of WebCredsModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/web_creds.php on line 14

Strict Standards: Declaration of WebMoneyModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/web_money.php on line 14

Strict Standards: Declaration of WebMoneyFailModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/web_money_fail.php on line 12

Strict Standards: Declaration of WebMoneySuccessModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/web_money_success.php on line 12

Strict Standards: Declaration of YandexMoneyModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/yandex_money.php on line 14

Strict Standards: Declaration of LogoutModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/zz_logout.php on line 12

Strict Standards: Declaration of LogoutHotspotModule::init() should be compatible with that of Module::init() in /usr/local/www/cabinet/data/modules/zz_logout_hotspot.php on line 12
Веселушки однако... модули не правил.

Аватара пользователя
TiRider
Сообщения: 568
Зарегистрирован: Сб июн 07, 2008 12:43

Сообщение TiRider »

Товарищи, ап!

Кто подскажет куда копнуть?

Pei0t
Сообщения: 258
Зарегистрирован: Чт дек 13, 2007 20:48

Сообщение Pei0t »

TiRider писал(а):Товарищи, ап!

Кто подскажет куда копнуть?
Проверьте версию пхп, модули

serjk
NetUP Team
Сообщения: 719
Зарегистрирован: Пн авг 14, 2006 08:56

Сообщение serjk »

TiRider писал(а):Товарищи, ап!

Кто подскажет куда копнуть?
поставьте

error_reporting = E_ALL в php.ini

вероятно, у вас стоит что-то вроде

error_reporting = E_ALL | E_STRICT

virus
Сообщения: 2
Зарегистрирован: Вт сен 04, 2007 10:45

Сообщение virus »

Добрый день. Всё делал по инструкции. Страница авторизации появилась, при вводе логина/пароля скидывает на ошибку в браузере "Состояние перенаправления". После нажатия F5 отображает статистику. При нажатии на выход - такая же беда.

В логе аппача:

[Thu Mar 24 16:33:02 2011] [error] [client 10.2.2.76] PHP Notice: Undefined index: system in /var/www/html/index.php on line 33
[Thu Mar 24 16:33:02 2011] [error] [client 10.2.2.76] PHP Notice: Undefined index: system in /var/www/html/index.php on line 36

Подскажите пожалуйста куда копать.

FC 14 32x64
Apache 2.2.16
PHP 5.3.3

Ответить