----- 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