This error you normally get for not setting up the structure with information
about the session. And that is in the code for ARAPI. So it is really strange
you get that. It would be interesting to see if you get the same if you do not
use the class interface.
Hi jpyllman,
Thank you for your quick reply!
Without the class interface I get the same result.
I think I have some setting wrong because everything works with Java + API 7.0
Please, could you tell me what to check?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The error message more or less means that the internal structure for handling
a session is broken. Nothing the code in PHP can do. It is in the plugin. But
there are several things that could make this incompatible. One is the normal
32/64 -bit problem. By that I mean running 32-bit parts from a 64-bit program.
Another is that on linux the ARAPI file is called libar.so. No version info at
all. And the base functions ARInitialize() is more or less the same from way
back. But NOT the internal structures. So if you have a program compiled for
ARAPI 7.1 you HAVE TO use libar.so from 7.1. Otherwise you can get these kind
of problems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can someone help me with this error please:
Fatal error: BMC Remedy AR System error (Cannot open catalog; Message number =
161)
with this simple script:
Ubuntu11, PHP 5.2.10 with pre-compiled version
php_arapi-0.3.3.so.arapi71.php5-20060613.gz
Thanks, Giase
This error you normally get for not setting up the structure with information
about the session. And that is in the code for ARAPI. So it is really strange
you get that. It would be interesting to see if you get the same if you do not
use the class interface.
Hi jpyllman,
Thank you for your quick reply!
Without the class interface I get the same result.
I think I have some setting wrong because everything works with Java + API 7.0
Please, could you tell me what to check?
Hi,
The error message more or less means that the internal structure for handling
a session is broken. Nothing the code in PHP can do. It is in the plugin. But
there are several things that could make this incompatible. One is the normal
32/64 -bit problem. By that I mean running 32-bit parts from a 64-bit program.
Another is that on linux the ARAPI file is called libar.so. No version info at
all. And the base functions ARInitialize() is more or less the same from way
back. But NOT the internal structures. So if you have a program compiled for
ARAPI 7.1 you HAVE TO use libar.so from 7.1. Otherwise you can get these kind
of problems.
Hi jpyllman,
as suggested, I have update all the library to the same version and now it
works! :)
Thank you very much for your help.
Thanks, Giase