Also, before going too far in this, note that the current version of OTRS
is migrating to the new GenericAgent interface rather than the rpc.pl
http://forums.otterhub.org/viewtopic.php?f=53&p=102145#p102087

I mention this only because your interface may change relative to upgrade
of OTRS, so anything you find to fix may be superseded when upgrading OTRS.


On Fri, Jul 25, 2014 at 10:08 AM, Gerald Young <cryth...@gmail.com> wrote:

> Thank you for that. Note that what you've provided doesn't really retrieve
> tickets. (At least, not as I'me familiar with the API).
>
>
> On Fri, Jul 25, 2014 at 10:02 AM, Marwan Rabbâa <wagha...@gmail.com>
> wrote:
>
>> Thanks for reaching me.
>>
>> I have effectively googled my question before asking the mailing list.
>>
>> Since I have noting in the logs, the googled answers I've found was not
>> very helpful
>>
>>
>> 2014-07-25 14:52 GMT+02:00 Gerald Young <cryth...@gmail.com>:
>>
>> What have you gleaned from searching the error?
>>> https://www.google.com/search?q=can%27t+use+string+as+a+hash+ref+otrs+core
>>>
>>>
>>>
>>> On Fri, Jul 25, 2014 at 8:33 AM, Marwan Rabbâa <wagha...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am running OTRS 3.1.21 on a debian 7. I use RPC calls to contact my
>>>> OTRS and retrieve my tickets. With my PHP I made a search
>>>>
>>>> ********************************************************
>>>> $client = new SoapClient(null, array('location'  =>
>>>>   "${url}/otrs/rpc.pl",
>>>>   'uri'       => "Core",
>>>>   'trace'     => 1,
>>>>   'login'     => 'XXXXXXXXXXX',
>>>>   'password'  => 'XXXXXXXXXXX',
>>>>   'style'     => SOAP_RPC,
>>>>   'use'       => SOAP_ENCODED,
>>>> ));
>>>> $data = $client->__soapCall("Dispatch", array($username, $password,
>>>>   "CustomerUserObject", "CustomerSearch",
>>>>   "Search", "*",
>>>> ));
>>>> ********************************************************
>>>>
>>>> Sometimes (it is not regular) I have a PHP soap fault.
>>>> ********************************************************
>>>> Can't use string ("Core") as a HASH ref while "strict refs"
>>>> ********************************************************
>>>>
>>>> and no information in logs.
>>>>
>>>> Has anybody meet this problem ?
>>>>
>>>> Regards,
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>
>
---------------------------------------------------------------------
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

Reply via email to