Malformed UTF-8 character

Post Reply
maustec
Znuny newbie
Posts: 3
Joined: 10 Apr 2012, 22:48
Znuny Version: 3.3.12

Malformed UTF-8 character

Post by maustec »

Saludos a todos y todas. :)

He trasladado mi servidor OTRS 3.3.12 de Windows a Linux (basandome en la guía oficial), actualmente el sistema está corriendo correctamente sobre Centos 6.7 (64bits), los servicios httpd y mysqld se resetean y funcionan correctamente siempre, pero....

Me aparece un error al ejecutar el comando: "otrs.CheckDB" y/o "otrs.DeleteCache" (me aparece igual en WIN que en LIN)

otrs.CheckDB.pl: Malformed UTF-8 character (unexpected end of string) in substitution (s///) at /opt/otrs/Kernel/Config/Defaults.pm line 1963.
Trying to connect to database
DSN: DBI:mysql:database=bbddotrs;host=127.0.0.1
DatabaseUser: otrs


otrs.DeleteCache.pl: Malformed UTF-8 character (unexpected end of string) in substitution (s///) at /opt/otrs/Kernel/Config/Defaults.pm line 1963.
Deleting cache... Done.


La línea (1963) es la siguiente:

Code: Select all

                $Self->{$Key} =~ s/\<OTRS_CONFIG_(.+?)\>/$Self->{$1}/g;
y está incluida en estas lineas de código dentro del archivo "/opt/otrs/Kernel/Config/Defaults.pm"

Code: Select all

# do not use ZZZ files
    if ( !$Param{Level} ) {

        # replace config variables in config variables
        for my $Key ( sort keys %{$Self} ) {
            next if !defined $Key;
            if ( defined $Self->{$Key} ) {
                $Self->{$Key} =~ s/\<OTRS_CONFIG_(.+?)\>/$Self->{$1}/g;
            }
            else {
                print STDERR "ERROR: $Key not defined!\n";
            }
        }
    }

    return $Self;
    
¿Alguien tiene idea de por donde van los tiros?
¡Agradeceré cualquier idea!

Gracias de antemano!
Post Reply