Sebastian Kachel wrote:
mam problem po upgrade z lms-notify-sms, zwraca mi taki błąd: /usr/sbin/lms-notify-sms lms-notify-sms, version 1.10.2 Roham (C) Copyright 2001-2007 LMS Developers Using file /etc/lms/lms.ini as config. DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''^(\+48|0|)(88[08]|50[0-9]|6[09][0-9])[0-9]{6} LIMIT 1 ) AS phone FROM ' at line 3 at /usr/sbin/lms-notify-sms line 159. DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''^(\+48|0|)(88[08]|50[0-9]|6[09][0-9])[0-9]{6} LIMIT 1 ) AS phone FROM ' at line 3 at /usr/sbin/lms-notify-sms line 159.
a spróbuj w linii 132 dać: $regexp = "phone REGEXP '^(\\\\+48|0)?(88[08]|50[0-9]|6[09][0-9])[0-9]{6}$'"; no i jaka wersja mysql? -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl _______________________________________________ lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms