Error in scripts/rpc-example.pl?

Hi all, I'm new to this list, so it seemed quite ok to introduce myself with a solution to this issue. First: Check that the SOAP::User and SOAP::Password configuration values are set. You can do this by logging in with your admin user Select Admin from the main menu. Select Misc->SysConfig In Group Selection: Select Framework and click Show From the results: Select Core::SOAP Enable and set the values for SOAP User and Password. Retry to run the rpc-example.pl with the just configured soap user and password If than the TicketCreateNumber still shows no number make sure that your apache user has write access to the otrs/var/log/TicketCounter.log Good luck Freerk
Hi Eduardo,
hmm... thats really strange. It looks like an problem in SOAP::Lite. But I do not have any idea. :-/
-Martin
On Nov 21, 2007, at 9:47 PM, Eduardo Raffoul wrote:
Hi Mr. Edenhofer,
I just installed SOAP::Lite via CPAN, changed this lines in /scripts/rpc-example.pl
use SOAP::Lite('autodispatch', proxy => 'http://localhost/otrs/rpc.pl' ); my $User = 'root at localhost'; my $Pw = 'root';
and doesn't works out. The apache log says this:
[Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1 ] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:28 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4.
But i can't see anything wrong in the refered file.
2007/11/21, Martin Edenhofer <me at otrs.com>: Hi Eduardo,
is there some information in the OTRS log? Maybe authentication problems on the rpc.pl on the OTRS server site.
Greetings,
-Martin
On Nov 21, 2007, at 4:20 PM, Eduardo Raffoul wrote:
Hi everybody,
I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc- example.pl i got empty returns in the variables; in other words, i got this:
[eraffoul at pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is:
Any idea?? _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
≈_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
participants (1)
-
Freerk Kalsbeek