[otrs] Re: Problems with attachments on 2.0.1

2005-08-29 Thread Rainer Hasenzagl

There is an fix available on OTRS CVS System:
Download the new Version of Generic.pm (Ver. 1.192)
 
Downloadable via OTRS CVS System: http://otrs.org/cvs/
 
 
"Alastair Houghton" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]...> On 11 Aug 2005, at 16:20, Elmar Germann wrote:> >> Hi Alastair,> We've just upgraded to OTRS 2.0.1, and we're seeing problems with  >>> the attachment support.  Specifically, when we try to download or  >>> view attachments via the AgentTicketAttachment action, they get  >>> truncated.  I've checked in the database with a test attachment  >>> and the lengths are correct there.>>> Does anyone have any idea what might be wrong?>>> I can't explain why (seems to me like a bug in perl), but this  >> patch fixed t
 he
 problem at my installation: otrs/Kernel/Output/HTML/Generic.pm>> 1701c1701,1702>> < $Output .= "filename=\"$Param{Filename}\"\n";>> ---> #$Output .= "filename=\"$Param{Filename}\"\n";>>> $Output .= "filename=\"".substr($Param{Filename}, 0, length >>> ($Param{Filename}))."\"\n"; > I think you've just put me on the right track, although I'm not  > convinced by your fix (I suspect you've inadvertently introduced a  > typo or perhaps commented out the "Content-Length:" line below.)> > Looking at a protocol trace, it's the Content-Length: header that is  > erroneous; commenting it out fixes the problem (although it isn't  > ideal because the Content-Length: header is useful).> > OK, it's as I tho
 ught...
 the length() function is computing a UTF-8  > length, not a byte count; the fix is to change the line that says> > $Output .= "Content-Length: ".length($Param{Content})."\n";> > to say> > $Output .= "Content-Length: ".bytes::length($Param{Content})."\n";> > Everything seems to be working correctly after this change.> > Here's a unidiff:> > --- Generic.pm~ 2005-07-23 12:08:45.0 +0100> +++ Generic.pm  2005-08-11 17:12:42.0 +0100> @@ -1699,7 +1699,7 @@>  $Output .= '; ';>  }>  $Output .= "filename=\"$Param{Filename}\"\n";> -    $Output .= "Content-Length: ".length($Param{Content})."\n";> +    $Output .= "Content-Length:
 ".bytes::length($Param{Content})."\n";>  $Output .= "Content-Type: $Param{ContentType}\n\n";>  # fix for firefox HEAD problem>  if (!$ENV{REQUEST_METHOD} || $ENV{REQUEST_METHOD} ne 'HEAD') {> > Kind regards,> > Alastair.> > --> http://www.alastairs-place.net> > > ___> OTRS mailing list: otrs - Webpage: http://otrs.org/> Archive: http://lists.otrs.org/pipermail/otrs> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs> Support oder Consulting für Ihr OTRS System?> => http://www.otrs.de/>
		Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] Malformed UTF-8 character in procmail-2005-08 log

2005-08-29 Thread Rainer Hasenzagl
I get this error if anyone sends an mail to otrs.
 
Malformed UTF-8 character (unexpected non-continuation byte 0xdf, immediately after start byte 0xfc) in substitution (s///) at /opt/otrs/Kernel/System/Ticket/Article.pm line 101.
 
If I reply and he/she sends angain, this error is not logged.
 
What can this be??
		Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] Re: .procmailrc not executed in SUSE 9.3

2005-08-29 Thread Rainer Hasenzagl

Hi Christoph,
 
I set the permissions with "chmod 755 /opt/otrs" to drwxr-xr-x and it works!
 
The problem is solved!!
 
Many thx!!
 
 
"Christoph Kaulich" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]...> Am Montag, 29. August 2005 11:42 schrieb Rainer Hasenzagl:>> Hello all,>>  >> As we moved to a new Hardware, we installed a fresh SUSE 9.3 Linux and OTRS > 2.0.2 Tarball.>> Now we get the problem, that the .procmailrc is not exectued from User otrs.>> If I place a global procmail.rc file in /etc/, this file will be executed.>> Postfix is pipeing the mail to procmail --> I can see it in the mail log.>>  >> On the old hardware with SUSE 9.0 and OTRS 1.3.2 (SUSE RPM) it works fine.>>  >> So what can be wrong with the new SUSE or maybe procmail??>>  > > You have to set /opt/otrs to drwxr-xr-x instead 
 of
 drwxrwxr-x as > SetPermissions.sh is doing it.> Mabye one should post an bug report.> > > Christoph> ___> OTRS mailing list: otrs - Webpage: http://otrs.org/> Archive: http://lists.otrs.org/pipermail/otrs> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs> Support oder Consulting fr Ihr OTRS System?> => http://www.otrs.de/>
		Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] .procmailrc not executed in SUSE 9.3

2005-08-29 Thread Rainer Hasenzagl
Hello all,
 
As we moved to a new Hardware, we installed a fresh SUSE 9.3 Linux and OTRS 2.0.2 Tarball.
Now we get the problem, that the .procmailrc is not exectued from User otrs.
If I place a global procmail.rc file in /etc/, this file will be executed.
Postfix is pipeing the mail to procmail --> I can see it in the mail log.
 
On the old hardware with SUSE 9.0 and OTRS 1.3.2 (SUSE RPM) it works fine.
 
So what can be wrong with the new SUSE or maybe procmail??
 
Can anyone help me pls... Thx!
		Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] Re: Problem with attachments using default charset UTF-8

2005-08-29 Thread Rainer Hasenzagl
The problem has been solved with Generic.pm Version 1.192.
Downloadable via OTRS CVS System: http://otrs.org/cvs/
 
Thx to Martin Edenhofer how has corrected this problem.
 
 
"Matthias Müller" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]...> Rainer Hasenzagl wrote:> >>  >> If I switch the default charset from 'iso-8859-1' to 'UTF-8' in OTRS >> config (Config.pm), I cannot open any attachment (sent by an >> customer). (e.g. Adobe PDF- or Microsoft Word File or any other)>>  >> If I switch back to 'iso-8859-1' everything works fine.>> So, I suggest that it is not an DB problem --> I save all attachments >> in the DB (MySQL)>>  > > There seems to be a problem in otrs or Perl to distinguis between utf-8 > strings and binary Data in special situations.> Since utf-8 is expanding special chacters to 2 or 3 bytes, every binary > data gets corrupted when th
 is is
 done accidentially.> In the db the data is only a blob and character set are not relevant, so > everything comes out as it went in.> We had a similar problem. When using utf-8 encoding we could not > foreward articels with binary attachments, since the base64 encoder did > not accept the Data and failed with "Wide character found".> We switched to iso-8859-1 and it works.> Sorry this is only an explanation, but no solution, since debugging this > problem is not easy.> > > > ___> OTRS mailing list: otrs - Webpage: http://otrs.org/> Archive: http://lists.otrs.org/pipermail/otrs> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs> Support oder Consulting für Ihr OTRS System?
 >
 => http://www.otrs.de/>

		Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] Getting Error Module " not found

2005-08-25 Thread Rainer Hasenzagl

Hi all!
 
Me is an Admin in OTRS, and I want to update Agent accounts.
(We use OTRS 2.0.1 with LDAP authentication for our Agents and DB authentication for the customers.)
After updating the fields, and a click on the Update Button, the following error is displayed:
 
 
 





Error: Module '' not found! 





Comment:


publish   Error:



 Message: Module '' not found!

 Traceback (8275): 
   Module: Kernel::Modules::AdminUser::Run (v1.29 ) Line: 81
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.7) Line: 687
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 48
   Module: (eval) (v1.80) Line: 202
   Module: ModPerl::RegistryCooker::run (v1.80) Line: 202
   Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 168
   Module: ModPerl::Registry::handler (v1.99) Line:
 30


" name=comment>   

Traceback:
ERROR: OTRS-CGI-99 Perl: 5.8.6 OS: linux Time: Thu Aug 25 17:32:47 2005Message: Module '' not found!Traceback (8275):    Module: Kernel::Modules::AdminUser::Run (v1.29 ) Line: 81   Module: Kernel::System::Web::InterfaceAgent::Run (v1.7) Line: 687   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 48   Module: (eval) (v1.80) Line: 202   Module: ModPerl::RegistryCooker::run (v1.80) Line: 202   Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 168   Module: ModPerl::Registry::handler (v1.99) Line: 30
Where could be the problem?
In OTRS 1.3.2 I never had this problem.
 
Hope you can help me?!
 
Regards
Rainer H.
		Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] AgentCostumer.pm vs. AgentTicketCustomer.pm

2005-08-25 Thread Rainer Hasenzagl
I use OTRS Ver. 2_0_1 + CVS updated Modules.
 
If I do an search for Customer ID: e.g. 123456 I get all closed, opend, . tickets.
I then select the Customers ID, the result is an error:
 





Error: Module 'Kernel::Modules::AgentCustomer' not found! 










   

Traceback:
ERROR: OTRS-CGI-99 Perl: 5.8.6 OS: linux Time: Thu Aug 25 14:09:55 2005Message: Module 'Kernel::Modules::AgentCustomer' not found!Traceback (5838):    Module: Kernel::System::Web::InterfaceAgent::Run (v1.7) Line: 204   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 48   Module: (eval) (v1.80) Line: 202   Module: ModPerl::RegistryCooker::run (v1.80) Line: 202   Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 168   Module: ModPerl::Registry::handler (v1.99) Line: 30
I tested the same again but do not select the Customer ID.
I've selected the Ticket ID e.g. 11 and then the Customer ID --> it worked!!!
 
Recently I found out, that the URL's are different at these 2 tests:
Searchlist: http:///otrs/index.pl?Action="">
TicketZoom: http:///otrs/index.pl?Action="">
 
 
Has anyone an idee? Bug?!Gesendet von Yahoo! Mail: http://mail.yahoo.de Noch schneller mailen? Yahoo! Messenger: http://de.messenger.yahoo.com___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

[otrs] Problem with attachments using default charset UTF-8

2005-08-23 Thread Rainer Hasenzagl
Hello!
 
If I switch the default charset from 'iso-8859-1' to 'UTF-8' in OTRS config (Config.pm), I cannot open any attachment (sent by an customer). (e.g. Adobe PDF- or Microsoft Word File or any other)
 
If I switch back to 'iso-8859-1' everything works fine.
So, I suggest that it is not an DB problem --> I save all attachments in the DB (MySQL)
 
What can be wrong?
 
Can anyone help me pls?!Gesendet von Yahoo! Mail: http://mail.yahoo.de Noch schneller mailen? Yahoo! Messenger: http://de.messenger.yahoo.com___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/