I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Moderator: crythias

Locked
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

I have changed the Edit Config Settings in Framework -> Frontend::Agent LoginURL from default to some .php and it is now navigating to that link.
Due to this agent panel http://1.1.1.3/otrs/index.pl stop working. Eventhough customer panel is working.
Please tell me how to revert so that agent panel start working
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

Please help me its urgent
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by crythias »

Add the following to Config.pm:

Code: Select all

$Self->{LoginURL}='';
Optionally, restart apache (if it's not working for you).
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

I have added $Self->{LoginURL}=' '; this in Kernel/config.pm but not working while it is give internal sarve error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

when I have checked error_log than I found these errors

[Tue Mar 03 10:19:55 2015] [error] Can't locate object method "Get" via package "Kernel::Config" at /opt/otrs//Kernel/System/Web/InterfaceAgent.pm line 73.\n
[Tue Mar 03 10:19:55 2015] [debug] mod_deflate.c(687): [client 10.10.10.101] Zlib: Compressed 612 to 377 : URL /otrs/index.pl
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

crythias wrote:Add the following to Config.pm:

Code: Select all

$Self->{LoginURL}='';
Optionally, restart apache (if it's not working for you).
not working give an error :(
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by crythias »

Please post Config.pm
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

crythias wrote:Please post Config.pm

Code: Select all

# --
# Kernel/Config.pm - Config file for OTRS kernel
# Copyright (C) 2001-2013 xxx, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
#  Note:
#
#  -->> Most OTRS configuration should be done via the OTRS web interface
#       and the SysConfig. Only for some configuration, such as database
#       credentials and customer data source changes, you should edit this
#       file. For changes do customer data sources you can copy the definitions
#       from Kernel/Config/Defaults.pm and paste them in this file.
#       Config.pm will not be overwritten when updating OTRS.
# --

package Kernel::Config;

use strict;
use warnings;
use utf8;

sub Load {
    my $Self = shift;

    # ---------------------------------------------------- #
    # database settings                                    #
    # ---------------------------------------------------- #

    # The database host
    $Self->{'DatabaseHost'} = 'localhost';

    # The database name
    $Self->{'Database'} = "otrs";

    # The database user
    $Self->{'DatabaseUser'} = "otrs";

    # The password of database user. You also can use bin/otrs.CryptPassword.pl
    # for crypted passwords
    $Self->{'DatabasePw'} = '08LLmSwk8E36b80v';

    # The database DSN for MySQL ==> more: "perldoc DBD::mysql"
    $Self->{'DatabaseDSN'} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost}";

    # The database DSN for PostgreSQL ==> more: "perldoc DBD::Pg"
    # if you want to use a local socket connection
#    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
    # if you want to use a TCP/IP connection
#    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";
    # if you have PostgresSQL 8.1 or earlier, activate the legacy driver with this line:
#    $Self->{DatabasePostgresqlBefore82} = 1;

    # The database DSN for Microsoft SQL Server - only supported if OTRS is
    # installed on Windows as well
#    $Self->{DatabaseDSN} = "DBI:ODBC:driver={SQL Server};Database=$Self->{Database};Server=$Self->{DatabaseHost},1433";

    # The database DSN for Oracle ==> more: "perldoc DBD::oracle"
#    $ENV{ORACLE_HOME} = '/u01/app/oracle/product/10.2.0/client_1';
#    $ENV{NLS_DATE_FORMAT} = 'YYYY-MM-DD HH24:MI:SS';
#    $ENV{NLS_LANG} = "american_america.utf8";

#    $Self->{DatabaseDSN} = "DBI:Oracle:sid=OTRS;host=$Self->{DatabaseHost};port=1522;";

    # ---------------------------------------------------- #
    # fs root directory
    # ---------------------------------------------------- #
    $Self->{Home} = '/opt/otrs';
    $Self->{LoginURL}='';
    # ---------------------------------------------------- #
    # insert your own config settings "here"               #
    # config settings taken from Kernel/Config/Defaults.pm #
    # ---------------------------------------------------- #
    $Self->{SessionUseCookie} = 0;
    # $Self->{CheckMXRecord} = 0;

    # ---------------------------------------------------- #

    # ---------------------------------------------------- #
    # data inserted by installer                           #
    # ---------------------------------------------------- #
    # $DIBI$

$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth';
$Self->{CustomerPanelLoginURL} = 'http://10.10.5.15/bebonet';
$Self->{CustomerPanelLogoutURL} = 'http://10.10.5.15/bebonet/logout.php';
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
    #                                                      #
    # end of your own config options!!!                    #
    #                                                      #
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
}

# ---------------------------------------------------- #
# needed system stuff (don't edit this)                #
# ---------------------------------------------------- #

use base qw(Kernel::Config::Defaults);

# -----------------------------------------------------#

1;
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

grathi wrote:
crythias wrote:Please post Config.pm

Code: Select all

# --
# Kernel/Config.pm - Config file for OTRS kernel
# Copyright (C) 2001-2013 xxx, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
#  Note:
#
#  -->> Most OTRS configuration should be done via the OTRS web interface
#       and the SysConfig. Only for some configuration, such as database
#       credentials and customer data source changes, you should edit this
#       file. For changes do customer data sources you can copy the definitions
#       from Kernel/Config/Defaults.pm and paste them in this file.
#       Config.pm will not be overwritten when updating OTRS.
# --

package Kernel::Config;

use strict;
use warnings;
use utf8;

sub Load {
    my $Self = shift;

    # ---------------------------------------------------- #
    # database settings                                    #
    # ---------------------------------------------------- #

    # The database host
    $Self->{'DatabaseHost'} = 'localhost';

    # The database name
    $Self->{'Database'} = "otrs";

    # The database user
    $Self->{'DatabaseUser'} = "otrs";

    # The password of database user. You also can use bin/otrs.CryptPassword.pl
    # for crypted passwords
    $Self->{'DatabasePw'} = '08LLmSwk8E36b80v';

    # The database DSN for MySQL ==> more: "perldoc DBD::mysql"
    $Self->{'DatabaseDSN'} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost}";

    # The database DSN for PostgreSQL ==> more: "perldoc DBD::Pg"
    # if you want to use a local socket connection
#    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
    # if you want to use a TCP/IP connection
#    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";
    # if you have PostgresSQL 8.1 or earlier, activate the legacy driver with this line:
#    $Self->{DatabasePostgresqlBefore82} = 1;

    # The database DSN for Microsoft SQL Server - only supported if OTRS is
    # installed on Windows as well
#    $Self->{DatabaseDSN} = "DBI:ODBC:driver={SQL Server};Database=$Self->{Database};Server=$Self->{DatabaseHost},1433";

    # The database DSN for Oracle ==> more: "perldoc DBD::oracle"
#    $ENV{ORACLE_HOME} = '/u01/app/oracle/product/10.2.0/client_1';
#    $ENV{NLS_DATE_FORMAT} = 'YYYY-MM-DD HH24:MI:SS';
#    $ENV{NLS_LANG} = "american_america.utf8";

#    $Self->{DatabaseDSN} = "DBI:Oracle:sid=OTRS;host=$Self->{DatabaseHost};port=1522;";

    # ---------------------------------------------------- #
    # fs root directory
    # ---------------------------------------------------- #
    $Self->{Home} = '/opt/otrs';
    $Self->{LoginURL}='';
    # ---------------------------------------------------- #
    # insert your own config settings "here"               #
    # config settings taken from Kernel/Config/Defaults.pm #
    # ---------------------------------------------------- #
    $Self->{SessionUseCookie} = 0;
    # $Self->{CheckMXRecord} = 0;

    # ---------------------------------------------------- #

    # ---------------------------------------------------- #
    # data inserted by installer                           #
    # ---------------------------------------------------- #
    # $DIBI$

$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth';
$Self->{CustomerPanelLoginURL} = 'http://10.10.5.15/bebonet';
$Self->{CustomerPanelLogoutURL} = 'http://10.10.5.15/bebonet/logout.php';
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
    #                                                      #
    # end of your own config options!!!                    #
    #                                                      #
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
}

# ---------------------------------------------------- #
# needed system stuff (don't edit this)                #
# ---------------------------------------------------- #

use base qw(Kernel::Config::Defaults);

# -----------------------------------------------------#

1;
grathi wrote: I have integrated CAS server for single user authentication
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by crythias »

grathi wrote:not working give an error
If you were to tell this to your boss or mom, what would they say to you? "What error did you get?"
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

when I have checked error log than I find these errors
[Tue Mar 03 10:19:55 2015] [error] Can't locate object method "Get" via package "Kernel::Config" at /opt/otrs//Kernel/System/Web/InterfaceAgent.pm line 73.\n
[Tue Mar 03 10:19:55 2015] [debug] mod_deflate.c(687): [client 10.10.10.101] Zlib: Compressed 612 to 377 : URL /otrs/index.pl
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by crythias »

Did you restart apache?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
grathi
Znuny newbie
Posts: 38
Joined: 14 Jan 2015, 10:21
Znuny Version: 2.3.4

Re: I have changed Edit Config Settings in Framework -> Frontend::Agent LoginURL

Post by grathi »

yes I did it.
Locked