
Hallo Zuammen, ich habe OTRS von Vers. 2.1.4 auf 2.2.1 upgedatet. Das einzige was nicht funktioniert ist die Kundensuche mit MySQL Backend. Wenn ich die Konfiguration für die Kundensuche in der MySQL DB in der Config.pm einfüge bekomme ich folgenden Fehler: Got no MainObject! at /opt/otrs-2.2.1/bin/cgi-bin/../../Kernel/System/DB.pm line 84. In diesem Moment funktioniert gar nichts mehr. Entferne ich die Konfiguration für Kundensuche aus der Config.pm, funktioniert das System wieder. Die Config sieht wie folgt aus: ######### ltur- DB # CustomerUser # (customer user database backend and settings) $Self->{CustomerUser2} = { Name => 'Database Backend', Module => 'Kernel::System::CustomerUser::DB', Params => { # if you want to use an external database, add the # required settings # DSN => 'DBI:odbc:yourdsn', DSN => 'DBI:mysql:database=ltur;host=localhost', User => 'otrs', Password => '+++++++', Table => 'otrsuser', }, # customer uniq id CustomerKey => 'USPROF', # customer # CustomerID => 'USCOUN', # CustomerValid => 'valid_id', CustomerUserListFields => ['USVNAM', 'USNNAM', 'USEMAILS'], # CustomerUserListFields => ['login', 'first_name', 'last_name', 'customer_id', 'email'], #Alte Suchliste vom 09.01.2007 # CustomerUserSearchFields => ['USCOUN', 'USVNAM', 'USNNAM', 'USDIMA','USSNAM'], # neue Suchliste: CustomerUserSearchFields => ['USCOUN'], CustomerUserSearchPrefix => '', CustomerUserSearchSuffix => '*', CustomerUserSearchListLimit => 250, CustomerUserPostMasterSearchFields => ['USEMAILS'], CustomerUserNameFields => ['USVNAM'], CustomerUserEmailUniqCheck => 0, # # show now own tickets in customer panel, CompanyTickets # CustomerUserExcludePrimaryCustomerID => 0, # # generate auto logins # AutoLoginCreation => 0, # # generate auto login prefix # AutoLoginCreationPrefix => 'auto', # # admin can change customer preferences # AdminSetPreferences => 1, # # just a read only source ReadOnly => 1, Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly [ 'UserCOUN', 'Agenturkuerzel', 'USCOUN', 1, 0, 'var', '', 0 ], [ 'UserCOUNTER', 'Agentur', 'USSNAM', 1, 0, 'var', '', 0 ], [ 'UserFirstname', 'Firstname', 'USVNAM', 1, 1, 'var', '', 0 ], [ 'UserLastname', 'Lastname', 'USNNAM', 1, 1, 'var', '', 0 ], [ 'UserLogin', 'Username', 'USPROF', 1, 1, 'var', '', 0 ], # [ 'UserPassword', 'Password', 'pw', 0, 0, 'var', '', 0 ], [ 'UserCustomerID', 'CustomerID', 'USCOUN', 0, 1, 'var', '', 0 ], [ 'UserMTYP', 'AP/Mitarbeiter', 'USMTYP', 1, 0, 'var', '', 0 ], [ 'UserVTYP', 'Angestellt', 'USVTYP', 1, 0, 'var', '', 0 ], [ 'UserUSDTMV', 'Bei LTUR seit', 'USDTMV', 1, 0, 'var', '', 0 ], # [ 'UserVTYP', 'Angestellt', 'USVTYP', 1, 0, 'var', '', 0 ], [ 'UserDIMA', 'DIMA', 'USDIMA', 1, 0, 'var', '', 0 ], [ 'UserUSKRZWHL', 'Kurzwahl', 'USKRZWHL', 1, 0, 'var', '', 0 ], [ 'UserUSKTEL', 'Telefon', 'USSHPTEL', 1, 0, 'var', '', 0 ], # [ 'UserUSTELEFON', 'Telefon', 'USTELEFON', 1, 0, 'var', '', 0 ], [ 'UserEmail', 'Email', 'USEMAILS', 1, 1, 'var', '', 0 ], [ 'UserUSIPADR', 'IP-Adresse', 'USIPADR', 1, 0, 'var', '#" onclick="javascript:window.open(\'http://wug.mcbad.net:81/map.asp?map=Shop-$Data{"UserCOUN"}.ini\');', 0 ], [ 'UserUSIPADR2', 'BUBI Version', 'USCOUN', 1, 0, 'var', '#" onclick="javascript:window.open(\'http://ftp2.ltur.int/Auswertung/otrs.php?cnt=$Data{"UserCOUN"}\');', 0 ], # [ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int', '', 0 ], ], }; Kann mir jemand sagen, wo das Problem liegt, bzw. was konkret getan werden muß, damit der Fehler nicht mehr auftritt? L'TUR Tourismus AG - Europe's No. 1 for Last-Minute-Travel - with 160 Shops in six European countries L'TUR Tourismus AG, Augustaplatz 8, 76530 Baden-Baden, Vorsitzender des Aufsichtsrats: Dr. Volker Boettcher,Vorsitzender des Vorstands: Karlheinz Koegel Vorstand: Markus Faller (Sprecher), Stefan Dapper, Christoph Fuehrer, Kai Klitzke, Thomas Meyer, Markus Orth Registergericht: Amtsgericht Mannheim HRB 201600 *** Legal Disclaimer *** Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail und der darin enthaltenen Informationen sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Hallo,
ich habe OTRS von Vers. 2.1.4 auf 2.2.1 upgedatet.
Das einzige was nicht funktioniert ist die Kundensuche mit MySQL Backend. Wenn ich die Konfiguration für die Kundensuche in der MySQL DB in der Config.pm einfüge bekomme ich folgenden Fehler:
Got no MainObject! at /opt/otrs-2.2.1/bin/cgi-bin/../../Kernel/System/DB.pm line 84.
In diesem Moment funktioniert gar nichts mehr. Entferne ich die Konfiguration für Kundensuche aus der Config.pm, funktioniert das System wieder.
ich hatte das gleiche Problem, scheint ein Bug im OTRS zu sein. Um das Problem zu beheben musst Du lediglich in otrs/Kernel/System/CustomerUser/DB.pm in Zeile 72 folgendes einfügen: MainObject => $Param{MainObject}, Mit freundlichem Gruß, Elmar Germann. -- Global Village GmbH Tel +49 2855 9651 0 GF Marcus Faure Mehrumer Str. 16 Fax +49 2855 9651 110 Amtsgericht Duisburg HRB9987 D-46562 Voerde eMail info@globvill.de Ust-Id DE180295363

Hallo Liste, anbei die Fehlermeldung, die kommt wenn ein Ticket auf dem Exchange zur Abholung bereit liegt. Wenn diese Fehlermeldung kam, kommt danach nur noch "no messages on server". Ich habe noch nicht auf dem Exchange schauen können, aber sieht so aus, als ob OTRS die mails abruft und dann ins Nirvana schickt?! Hier die Fehlermeldung (OTRS 2.1.7): Unrecognized escape \F passed through in regex; marked by <-- HERE in m/\F <-- HERE TE.de/ at /opt/otrs/Kernel/System/PostMaster/Filter/Match.pm line 58. Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE ed.uni-tuebingen.de/ at /opt/otrs/Kernel/System/PostMaster/Filter/Match.pm line 58. Malformed UTF-8 character (unexpected non-continuation byte 0x68, immediately after start byte 0xf6) in pattern match (m//) at /opt/otrs/Kernel/System/PostMaster/Filter/Match.pm line 58. ERROR: OTRS-PM3-07 Perl: 5.8.8 OS: linux Time: Fri Aug 10 10:12:02 2007 Message: No TypeID for BELL not defined found! Traceback (30192): Module: Kernel::System::Ticket::PriorityLookup (v1.233.2.2) Line: 3571 Module: Kernel::System::Ticket::TicketCreate (v1.233.2.2) Line: 348 Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 152 Module: Kernel::System::PostMaster::Run (v1.60) Line: 246 Module: main::FetchMail (v1.23) Line: 206 Module: /opt/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125 Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/System/Ticket.pm line 379. DBD::mysql::db do 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 ' 1, 0, 1186733522, 0, 1, '2007-08-10 10:12:02', 1, '2007-08-10 10:12:02', 1)' at line 1 at /opt/otrs/Kernel/System/DB.pm line 372. ERROR: OTRS-PM3-07 Perl: 5.8.8 OS: linux Time: Fri Aug 10 10:12:02 2007 Message: 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 ' 1, 0, 1186733522, 0, 1, '2007-08-10 10:12:02', 1, '2007-08-10 10:12:02', 1)' at line 1, SQL: 'INSERT INTO ticket (tn, title, create_time_unix, queue_id, ticket_lock_id, user_id, responsible_user_id, group_id, ticket_priority_id, ticket_state_id, ticket_answered, escalation_start_time, timeout, valid_id, create_time, create_by, change_time, change_by) VALUES ('2007081007000389', '[support] test', 1186733522, 3, 1, 1, 1, 1, , 1, 0, 1186733522, 0, 1, '2007-08-10 10:12:02', 1, '2007-08-10 10:12:02', 1)' Traceback (30192): Module: Kernel::System::Ticket::TicketCreate (v1.233.2.2) Line: 387 Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 152 Module: Kernel::System::PostMaster::Run (v1.60) Line: 246 Module: main::FetchMail (v1.23) Line: 206 Module: /opt/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125 ERROR: OTRS-PM3-07 Perl: 5.8.8 OS: linux Time: Fri Aug 10 10:12:02 2007 Message: create db record failed!!! Traceback (30192): Module: Kernel::System::Ticket::TicketCreate (v1.233.2.2) Line: 428 Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 152 Module: Kernel::System::PostMaster::Run (v1.60) Line: 246 Module: main::FetchMail (v1.23) Line: 206 Module: /opt/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125 Message 1/1 (ticket@192.168.168.21) Connection to 192.168.168.21 closed. Mit freundlichen Grüßen / Best Regards Tim Böhmert

Hallo zusammen, leider bekam ich noch keine Hilfe bezüglich meines Problems! Hier eine aktuelle Fehlermeldung von eben gerade. Es wurde kein Ticket erstellt. Was kann das Problem sein? Bitte um Hikfe! Kennt das denn niemand hier von den Profis? Unrecognized escape \F passed through in regex; marked by <-- HERE in m/\F <-- HERE TE.de/ at /opt/otrs/Kernel/System/PostMaster/Filter/Match.pm line 58. Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE ed.uni-tuebingen.de/ at /opt/otrs/Kernel/System/PostMaster/Filter/Match.pm line 58. Malformed UTF-8 character (unexpected non-continuation byte 0x68, immediately after start byte 0xf6) in pattern match (m//) at /opt/otrs/Kernel/System/PostMaster/Filter/Match.pm line 58. ERROR: OTRS-PM3-07 Perl: 5.8.8 OS: linux Time: Mon Aug 13 11:10:02 2007 Message: No TypeID for BELL not defined found! Traceback (23402): Module: Kernel::System::Ticket::PriorityLookup (v1.233.2.2) Line: 3571 Module: Kernel::System::Ticket::TicketCreate (v1.233.2.2) Line: 348 Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 152 Module: Kernel::System::PostMaster::Run (v1.60) Line: 246 Module: main::FetchMail (v1.23) Line: 206 Module: /opt/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125 Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/System/Ticket.pm line 379. DBD::mysql::db do 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 ' 1, 0, 1186996202, 0, 1, '2007-08-13 11:10:02', 1, '2007-08-13 11:10:02', 1)' at line 1 at /opt/otrs/Kernel/System/DB.pm line 372. ERROR: OTRS-PM3-07 Perl: 5.8.8 OS: linux Time: Mon Aug 13 11:10:02 2007 Message: 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 ' 1, 0, 1186996202, 0, 1, '2007-08-13 11:10:02', 1, '2007-08-13 11:10:02', 1)' at line 1, SQL: 'INSERT INTO ticket (tn, title, create_time_unix, queue_id, ticket_lock_id, user_id, responsible_user_id, group_id, ticket_priority_id, ticket_state_id, ticket_answered, escalation_start_time, timeout, valid_id, create_time, create_by, change_time, change_by) VALUES ('2007081307000052', '[Support] TEST', 1186996202, 3, 1, 1, 1, 1, , 1, 0, 1186996202, 0, 1, '2007-08-13 11:10:02', 1, '2007-08-13 11:10:02', 1)' Traceback (23402): Module: Kernel::System::Ticket::TicketCreate (v1.233.2.2) Line: 387 Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 152 Module: Kernel::System::PostMaster::Run (v1.60) Line: 246 Module: main::FetchMail (v1.23) Line: 206 Module: /opt/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125 ERROR: OTRS-PM3-07 Perl: 5.8.8 OS: linux Time: Mon Aug 13 11:10:02 2007 Message: create db record failed!!! Traceback (23402): Module: Kernel::System::Ticket::TicketCreate (v1.233.2.2) Line: 428 Module: Kernel::System::PostMaster::NewTicket::Run (v1.58) Line: 152 Module: Kernel::System::PostMaster::Run (v1.60) Line: 246 Module: main::FetchMail (v1.23) Line: 206 Module: /opt/otrs/bin/PostMasterPOP3.pl (v1.23) Line: 125 Message 1/1 (ticket@192.168.168.21) Connection to 192.168.168.21 closed. Mit freundlichen Grüßen / Best Regards Tim Böhmert
participants (3)
-
Elmar Germann
-
j.hasenkamp@ltur.de
-
Tim Böhmert