----- Original Message -----
From: "Karol" <kr77(a)o2.pl>
To: "lista użytkowników LMS" <lms(a)lists.lms.org.pl>
Sent: Wednesday, May 02, 2007 1:04 AM
Subject: Re: [lms] Wiadomosci nie dzialaja
>>sprawdz czy jest wolne miejsce na dysku i pamieci troche glupie ale ...
>>wlacz sobie wyswietlanie bledow przy php wtedy bedziezz mial dokladnie od
>>smego php bledy
>>w srodkowej czesci wycinku widac ze regula juz jest
>>"iptables: Chain already exists"
>>moim zdaniem dozuc regule ktora najpierw czysci tego typu reguly a pozniej
>>dodaje je na nowo
Jest 305 MB wolnego miejsca, zuzycie pamieci tez niskie.
Ok włączyłem wyświetlanie błędów.
Ten błąd wyskakuję każdej stronie na górze ekranu panelu administracyjnego
LMS:
Notice: Undefined index: popup in /var/www/htdocs/lms/index.php on line 204
Sprawdziłem za co odpowiada ta linia w index.php:
203: $error = NULL; // initialize error variable needed for (almost) all
modules
204: $layout['popup'] = $_GET['popup'];
A zamiast wiadomości klientowi wyskakuja te błędy:
Notice: Undefined index: config_templates_dir in
/var/www/htdocs/winetka/index.php on line 90
Notice: Undefined index: smarty_dir in /var/www/htdocs/winetka/index.php on
line 91
Notice: Undefined index: smarty_compile_dir in
/var/www/htdocs/winetka/index.php on line 92
Notice: Undefined index: smarty_templates_dir in
/var/www/htdocs/winetka/index.php on line 93
Notice: Use of undefined constant RT_NEW - assumed 'RT_NEW' in
/var/www/htdocs/winetka/index.php on line 138
Notice: Use of undefined constant RT_OPEN - assumed 'RT_OPEN' in
/var/www/htdocs/winetka/index.php on line 138
Notice: Use of undefined constant RT_RESOLVED - assumed 'RT_RESOLVED' in
/var/www/htdocs/winetka/index.php on line 138
Notice: Use of undefined constant RT_DEAD - assumed 'RT_DEAD' in
/var/www/htdocs/winetka/index.php on line 138
linie te odpowiadają kolejno za:
85: // Check for configuration vars and set default values
90: $CONFIG['directories']['config_templates_dir'] = (!
$CONFIG['directories']['config_templates_dir'] ?
$CONFIG['directories']['sys_dir'].'/config_templates' :
$CONFIG['directories']['config_templates_dir']);
91: $CONFIG['directories']['smarty_dir'] = (!
$CONFIG['directories']['smarty_dir'] ?
(is_readable('/usr/share/php/smarty/libs/Smarty.class.php') ?
'/usr/share/php/smarty/libs' : $CONFIG['directories']['lib_dir'].'/Smarty')
: $CONFIG['directories']['smarty_dir']);
92: $CONFIG['directories']['smarty_compile_dir'] = (!
$CONFIG['directories']['smarty_compile_dir'] ?
$CONFIG['directories']['sys_dir'].'/templates_c' :
$CONFIG['directories']['smarty_compile_dir']);
93: $CONFIG['directories']['smarty_templates_dir'] = (!
$CONFIG['directories']['smarty_templates_dir'] ?
$CONFIG['directories']['sys_dir'].'/templates' :
$CONFIG['directories']['smarty_templates_dir']);
136: // Initialize LMS class
138: $LMS = new LMS($DB, $SESSION, $CONFIG);
Niestety nic mi te błędy nie mówią co jest nie tak :(
HELP!!! :(
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
jak zorganizowac konfiguracje modulu tc dla wiekszej ilosci interfejsow?
wan=eth0
lan=eth1
lan2=eth2
czy moze ktos uzyczyc gotowych rozwiazan?
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
sprawdz czy jest wolne miejsce na dysku i pamieci troche glupie ale ...
wlacz sobie wyswietlanie bledow przy php wtedy bedziezz mial dokladnie od
smego php bledy
w srodkowej czesci wycinku widac ze regula juz jest
"iptables: Chain already exists"
moim zdaniem dozuc regule ktora najpierw czysci tego typu reguly a pozniej
dodaje je na nowo
----- Original Message -----
From: "Łukasz C." <c86(a)op.pl>
To: <lms(a)lists.lms.org.pl>
Sent: Monday, April 30, 2007 9:17 PM
Subject: [lms] Wiadomosci nie dzialaja
Witam, nie wiem co się stało ale Wiadomości przestały mi działać.
JEszcze nie dawno używałem tej opcji i było wszystko OK.
W czym może być problem ? :(
moja wersja LMS 1.8.1 Shyla (1.757.2.8/1.13.2.2)
logi z apache/error_log
[Mon Apr 30 20:11:53 2007] [error] PHP Notice: Use of undefined constant
RT_DEAD - assumed 'RT_DEAD' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:12:49 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:12:49 2007] [error] PHP Notice: Undefined variable:
searchargs in /usr/share/lms/lib/LMS.class.php on line 543
[Mon Apr 30 20:12:49 2007] [error] PHP Notice: Undefined variable: sqlsarg
in /usr/share/lms/lib/LMS.class.php on line 559
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 580
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 581
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 582
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 586
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 605
[Mon Apr 30 20:12:53 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:12:53 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:01 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:01 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:06 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:08 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
iptables: Chain already exists
Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/eth0/LMS-eth0
Sending on Socket/eth0/LMS-eth0
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index:
config_templates_dir in /var/www/htdocs/winetka/index.php on line 90
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index: smarty_dir
in /var/www/htdocs/winetka/index.php on line 91
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index:
smarty_compile_dir in /var/www/htdocs/winetka/index.php on line 92
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index:
smarty_templates_dir in /var/www/htdocs/winetka/index.php on line 93
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_NEW - assumed 'RT_NEW' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_OPEN - assumed 'RT_OPEN' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_RESOLVED - assumed 'RT_RESOLVED' in /var/www/htdocs/winetka/index.php on
line 13
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_DEAD - assumed 'RT_DEAD' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index:
config_templates_dir in /var/www/htdocs/winetka/index.php on line 90
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index: smarty_dir
in /var/www/htdocs/winetka/index.php on line 91
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index:
smarty_compile_dir in /var/www/htdocs/winetka/index.php on line 92
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index:
smarty_templates_dir in /var/www/htdocs/winetka/index.php on line 93
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_NEW - assumed 'RT_NEW' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_OPEN - assumed 'RT_OPEN' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_RESOLVED - assumed 'RT_RESOLVED' in /var/www/htdocs/winetka/index.php on
line 13
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_DEAD - assumed 'RT_DEAD' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:19:09 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:19:09 2007] [error] PHP Notice: Undefined variable:
searchargs in /usr/share/lms/lib/LMS.class.php on line 543
[Mon Apr 30 20:19:09 2007] [error] PHP Notice: Undefined variable: sqlsarg
in /usr/share/lms/lib/LMS.class.php on line 559
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 580
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 581
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 582
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 586
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 605
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
Czy nikt mi nie jest w stanie pomóc ?
Jeszcze tydzień temu wiadomości działały bez problemu, przedwczoraj chciałem
ich użyć ale zamiast wiadomości administracyjnej wyświetla się tylko pusta
strona...
pewnie przez te błędy PHP. Żadnych drastycznych zmian na serwerze nie
robiłem, można powiedzieć ze samo się to stało :(.
Skąd te błędy mogły się wziąć? Jak naprawić wysyłanie wiadomości do
użytkowników.. od czego mam zacząć ?
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
Witam, nie wiem co się stało ale Wiadomości przestały mi działać.
JEszcze nie dawno używałem tej opcji i było wszystko OK.
W czym może być problem ? :(
moja wersja LMS 1.8.1 Shyla (1.757.2.8/1.13.2.2)
logi z apache/error_log
[Mon Apr 30 20:11:53 2007] [error] PHP Notice: Use of undefined constant
RT_DEAD - assumed 'RT_DEAD' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:12:49 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:12:49 2007] [error] PHP Notice: Undefined variable:
searchargs in /usr/share/lms/lib/LMS.class.php on line 543
[Mon Apr 30 20:12:49 2007] [error] PHP Notice: Undefined variable: sqlsarg
in /usr/share/lms/lib/LMS.class.php on line 559
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 580
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 581
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 582
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 586
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:12:50 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 605
[Mon Apr 30 20:12:53 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:12:53 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:01 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:01 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:06 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:13:08 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
iptables: Chain already exists
Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/eth0/LMS-eth0
Sending on Socket/eth0/LMS-eth0
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index:
config_templates_dir in /var/www/htdocs/winetka/index.php on line 90
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index: smarty_dir
in /var/www/htdocs/winetka/index.php on line 91
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index:
smarty_compile_dir in /var/www/htdocs/winetka/index.php on line 92
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Undefined index:
smarty_templates_dir in /var/www/htdocs/winetka/index.php on line 93
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_NEW - assumed 'RT_NEW' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_OPEN - assumed 'RT_OPEN' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_RESOLVED - assumed 'RT_RESOLVED' in /var/www/htdocs/winetka/index.php on
line 13
[Mon Apr 30 20:13:14 2007] [error] PHP Notice: Use of undefined constant
RT_DEAD - assumed 'RT_DEAD' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index:
config_templates_dir in /var/www/htdocs/winetka/index.php on line 90
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index: smarty_dir
in /var/www/htdocs/winetka/index.php on line 91
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index:
smarty_compile_dir in /var/www/htdocs/winetka/index.php on line 92
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Undefined index:
smarty_templates_dir in /var/www/htdocs/winetka/index.php on line 93
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_NEW - assumed 'RT_NEW' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_OPEN - assumed 'RT_OPEN' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_RESOLVED - assumed 'RT_RESOLVED' in /var/www/htdocs/winetka/index.php on
line 13
[Mon Apr 30 20:13:28 2007] [error] PHP Notice: Use of undefined constant
RT_DEAD - assumed 'RT_DEAD' in /var/www/htdocs/winetka/index.php on line 138
[Mon Apr 30 20:19:09 2007] [error] PHP Notice: Undefined index: popup in
/var/www/htdocs/lms/index.php on line 204
[Mon Apr 30 20:19:09 2007] [error] PHP Notice: Undefined variable:
searchargs in /usr/share/lms/lib/LMS.class.php on line 543
[Mon Apr 30 20:19:09 2007] [error] PHP Notice: Undefined variable: sqlsarg
in /usr/share/lms/lib/LMS.class.php on line 559
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 580
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 581
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 582
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 584
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 586
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 590
[Mon Apr 30 20:19:10 2007] [error] PHP Notice: Undefined index: 29 in
/usr/share/lms/lib/LMS.class.php on line 605
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
Pomarudzilem, pomarudzilem i dziala
Jak ktos, chce, to sie moge podzielic.
--
Sarenka
"Do not treat your live too serious. You wont survive it!"
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
> A wydrukuj sobie te oba ci±gi jako hexy i porównaj, prawdopodobnie s± w
> innym kodowaniu.
Tego sie domyslam.. Ale co z tym zrobic...
Haslo mam wpisane w latin2, stronka ING jest w latin2, tylko siê cos po
drodze dzieje.
Jak w vi zrobie se enc=latin2 i podam mu pl znaki, to nadal amm rozny wynik,
ani¿eli strona wyrzuca (a tez jest w latin2). Zebybylo ciekawiej, jak
zmienie kodowanie w oknie przegladarki to sie skrypty na niej wywalaja...
A - no i Encoding::Guess nie potrzfil mi podac kodowania ci±gu, jaki
podaje...
--
Sarenka
"Do not treat your live too serious. You wont survive it!"
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
Dnia 30-04-2007, pon o godzinie 16:38 +0200, Sarenka napisał(a):
> Probowalem juz sie bawic w setlocale(LC_ALL, "pl_PL") w skrypcie, ale to nic
> nie zmienia...
>
> Dla przykładu, gdy podaje ciąg aa, to z JS i Perla mam wynik
> JS: 735fbc0b482e89be17fa32452a37447f459642be
> PL: 735fbc0b482e89be17fa32452a37447f459642be
>
> a gdy "ąą"
> JS: 55cbdd94106820275e02567af1e1f8e0d8760901
> PL: f3e1cadacd41eef949c7155dbae80eaf1f37245a
>
A wydrukuj sobie te oba ciągi jako hexy i porównaj, prawdopodobnie są w
innym kodowaniu.
--
Pozdrawiam,
Artur
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
Upalem sie, zeby robic dzialajace cashimport dla ING i... utknalem.
Mam juz mieszanie hasla z ich losowymi literkai, ale przed wys³aniem hasla
przepuszcaja je jeszcze przez hex_hmac_sha1 (skrypt SHA1 napisany w js
wziety stad: http://pajhome.org.uk/crypt/md5/)
Probuje do tego uzyc Digest::HMAC_SHA1, ale mam z im problem. Poki ci±gnie
nie zawiera PLiterek, to wszystko jest ok - z JS i z perla dostaje taki sam
wynik.
Gorzej, ze zawsze w tablicy podanej przez strone banku sa jakies "ogonki" -
wtedy wyniki sa calkiem rozne.
System to Gentoo, wyjscie komendy locale:
LANG=pl_PL
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=pl_PL
Probowalem juz sie bawic w setlocale(LC_ALL, "pl_PL") w skrypcie, ale to nic
nie zmienia...
Dla przyk³adu, gdy podaje ci±g aa, to z JS i Perla mam wynik
JS: 735fbc0b482e89be17fa32452a37447f459642be
PL: 735fbc0b482e89be17fa32452a37447f459642be
a gdy "±±"
JS: 55cbdd94106820275e02567af1e1f8e0d8760901
PL: f3e1cadacd41eef949c7155dbae80eaf1f37245a
Wiem, ze OT, ale moze sie ktos z szanownych czytajacych juz tym bawil?
--
Sarenka
"Do not treat your live too serious. You wont survive it!"
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms
Witam.
Właśnie wykonałem instalcję LMS 1.8.9.
Przy próbie wejścia na LMS dostaję komunikaty w logacha apacha:
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_connect() [<a href='function.pg-connect'>function.pg-connect</a>]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 59
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 86
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 86
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 86
[Mon Apr 30 15:35:26 2007] [error] [client 192.168.1.4] PHP Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /var/www/lms/lib/LMSDB_driver_postgres.class.php on line 79
[Mon Apr 30 15:35:56 2007] [error] [client 192.168.1.4] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/lms/lib/common.php on line 177
Wygląda jakby LMS miał problem z połączeniem się z bazą ale w pliku pg_hba.conf dodałem wpisy typu:
local all all trust
host all all 127.0.0.1 255.255.255.255 trust
Nie pomogło. Przez psql łączę się z bazą bez problemu. Co to może być?
Pozdrawiam
_______________________________________________
lms mailing list
lms(a)lists.lms.org.pl
http://lists.lms.org.pl/mailman/listinfo/lms