bug przy wysylaniu mejlingu z opcją %last_10_in_a_table
Witam, Przy wysylaniu mejlingu z umieszczeniem zmiennej %last_10_in_a_table , dostaję następujący blad apacza : [...] PHP Fatal error: Call to a member function GetAll() on a non-object in /mnt/share/sites/domena.com.pl/subdomains/lms/html/modules/messageadd.php on line 146, referer: https://lms.domena.com.pl/?m=messageadd [...] Fragment tego pliku to : [...] if($last10_array = $DB->GetAll('SELECT comment, time, value FROM cash WHERE customerid = ? ORDER BY time DESC LIMIT 10', array($data['id']))) [...] Wersja LMS: 1.11.10 Kri (1.1026/1.30) Wersja LMSDB: 1.11.10 Kri (1.52/1.57) Wersja MySQL: 5.0.51a-24+lenny4 Wersja PHP: 5.2.6-1+lenny9 Wersja Smarty: 2.6.26 Ktoś może wie o co chodzi ? pozdrawiam Wojtek -- Wojciech Ziniewicz http://www.rfc-editor.org/rfc/rfc2324.txt
On Mon, 17 Jan 2011 19:36:55 +0100, Wojciech Ziniewicz wrote:
Witam, Przy wysylaniu mejlingu z umieszczeniem zmiennej %last_10_in_a_table , dostaję następujący blad apacza :
[...] PHP Fatal error: Call to a member function GetAll() on a non-object in /mnt/share/sites/domena.com.pl/subdomains/lms/html/modules/messageadd.php on line 146, referer: https://lms.domena.com.pl/?m=messageadd [...]
Fragment tego pliku to :
[...] if($last10_array = $DB->GetAll('SELECT comment, time, value FROM cash WHERE customerid = ? ORDER BY time DESC LIMIT 10', array($data['id'])))
Sprawdź z LMS->DB->GetAll(...)
[...]
Wersja LMS: 1.11.10 Kri (1.1026/1.30) Wersja LMSDB: 1.11.10 Kri (1.52/1.57) Wersja MySQL: 5.0.51a-24+lenny4 Wersja PHP: 5.2.6-1+lenny9 Wersja Smarty: 2.6.26
Ktoś może wie o co chodzi ?
pozdrawiam Wojtek
-- Wojciech Ziniewicz http://www.rfc-editor.org/rfc/rfc2324.txt _______________________________________________ lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
-- Pozdrawiam Tomasz Chiliński, Chilan
On Mon, 17 Jan 2011 19:36:55 +0100, Wojciech Ziniewicz wrote:
PHP Fatal error: Call to a member function GetAll() on a non-object in /mnt/share/sites/domena.com.pl/subdomains/lms/html/modules/messageadd.php on line 146, referer: https://lms.domena.com.pl/?m=messageadd
http://cvs.lms.org.pl/viewvc/Development/lms/modules/messageadd.php?r1=1.13&r2=1.14 -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
uczestnicy (3)
-
A.L.E.C -
Tomasz Chiliński -
Wojciech Ziniewicz