I've been having issues with the iPhone Handle 1.1.1 Package, it seems like it doesn't create the json.pl file.
If i try the following command, i just get a 502 Bad Gateway page
Code: Select all
http://HOSTNAME/OTRSPATH/json.pl?User=test&Password=test
I've got OTRS 3.1.12 running a on ubuntu 12.04 VPS with 512MB ram & nginx, mysql etc.
Below is whatever the package install outputs:
Code: Select all
root@s2:/home/otrs/otrs# sudo bin/otrs.PackageManager.pl -a install -p /root/iPhoneHandle-1.1.1.opm
Notice: Install /home/otrs/otrs/bin/cgi-bin/json.pl (755)!
Notice: Install /home/otrs/otrs/Kernel/Config/Files/iPhone_Deprecated.xml (644)!
Notice: Install /home/otrs/otrs/Kernel/Config/Files/iPhone.xml (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/Checkbox.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/Date.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/DateTime.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/Dropdown.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/Multiselect.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/Text.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/Backend/TextArea.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/DynamicField/iPhone/iPhoneBackend.pm (644)!
Notice: Install /home/otrs/otrs/var/packagesetup/iPhoneHandle.pm (644)!
Notice: Install /home/otrs/otrs/Kernel/System/iPhone.pm (644)!
Notice: Install /home/otrs/otrs/doc/en/iPhoneHandle.pdf (644)!
Code:
# define function name
my $FunctionName = 'CodeInstall';
# create the package name
my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};
# load the module
if ( $Self->{MainObject}->Require($CodeModule) ) {
# create new instance
my $CodeObject = $CodeModule->new( %{$Self} );
if ($CodeObject) {
# start method
if ( !$CodeObject->$FunctionName(%{$Self}) ) {
$Self->{LogObject}->Log(
Priority => 'error',
Message => "Could not call method $FunctionName() on $CodeModule.pm."
);
}
}
# error handling
else {
$Self->{LogObject}->Log(
Priority => 'error',
Message => "Could not call method new() on $CodeModule.pm."
);
}
}
Subroutine Load redefined at /home/otrs/otrs-3.1.12/Kernel/Config/Files/ZZZAAuto.pm line 5.
Subroutine Load redefined at /home/otrs/otrs-3.1.12/Kernel/Config/Files/ZZZAuto.pm line 5.
Any help is appreciated!
Best regards,
Reeckz