hi this inegration thing
You configure the config with ID and password of your admin kayako?
then you upload the folder the way it is in the root of your kayako folder?
that is all?
and what will happen?
thanks
Page 1 of 1
don't know host to use it
#2
Posted 22 July 2008 - 09:07 AM
See http://www.craigbrasssystems.com/forum/ind...hp?showtopic=53 for more details on setting up.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
Managing Director and Chief Software Architect - Craig Brass Systems
#3
Posted 22 July 2008 - 09:24 AM
Yes thanks I did that now what do I expect? how to test it? I suppose when some body who is registered in whmcs goes to kayako he can enter kayako with the same email and password?
#4
Posted 22 July 2008 - 01:00 PM
This is just the API. You will need to create your own integrations with software like WHMCS and you need PHP skills to be able to do this.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
Managing Director and Chief Software Architect - Craig Brass Systems
#5
Posted 23 July 2008 - 09:30 PM
Although you don't need to be a PHP expert to make use of our API - we've done as much of the hard work as possible for you. The SOAP API is slightly more complicated than the native PHP class version, but if you're wanting to access a Kayako installation on the same server as your application you don't need to use SOAP.
The methods that fetch a list of tickets or knowledgebase categories/articles, for example, return a very simple associative array containing all of the details. You just need to echo whichever array elements you want to display, or foreach through the outer array, echoing the inner arrays' elements if the function returns a list of items (e.g. a list of categories or articles, rather than just a single article).
Maybe at some point we'll post an example application, but you will need to have at least basic PHP knowledge to make much use of it regardless.
The methods that fetch a list of tickets or knowledgebase categories/articles, for example, return a very simple associative array containing all of the details. You just need to echo whichever array elements you want to display, or foreach through the outer array, echoing the inner arrays' elements if the function returns a list of items (e.g. a list of categories or articles, rather than just a single article).
Maybe at some point we'll post an example application, but you will need to have at least basic PHP knowledge to make much use of it regardless.
Andrew Gillard
Lead Developer - Craig Brass Systems
Lead Developer - Craig Brass Systems
#6
Posted 18 September 2008 - 09:34 PM
Is it possible to make kayako's search box to look for topics on the SMF's knowledge base with this API?
#7
Posted 19 September 2008 - 11:18 AM
It isn't, but that is a good suggestion. I'll add it to the "For The Future" topic.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
Managing Director and Chief Software Architect - Craig Brass Systems
#8
Posted 29 October 2008 - 03:19 PM
I have the API installed, but I am unsure how to test it. One would think that simply loading http://XXX/intergration/ would spit back something, but I'm greeted with a blank page. Any suggestions?
#9
Posted 29 October 2008 - 05:56 PM
You should access http://www.yourdomain.com/helpdesk/integrationapi/
The integrationapi folder should be placed INSIDE the Kayako root folder.
The integrationapi folder should be placed INSIDE the Kayako root folder.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
Managing Director and Chief Software Architect - Craig Brass Systems
#10
Posted 29 October 2008 - 06:05 PM
QUOTE (Craig Brass @ Oct 29 2008, 01:56 PM) <{POST_SNAPBACK}>
You should access http://www.yourdomain.com/helpdesk/integrationapi/
The integrationapi folder should be placed INSIDE the Kayako root folder.
The integrationapi folder should be placed INSIDE the Kayako root folder.
I do. esupport lives here: /var/www/html
your API lives here: /var/www/html/integrationapi
I thought I had enabled php errors on the server.. they were but their display was being suppressed.
So now I have a bit more info: When I load the index.php or use the example code you supplied in the sticky post I get.
CODE
PHP Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/html/integrationapi/lib/api.class.php on line 39
We are using php5
edit: I trusted the guy who installed it who said it was php5 I just confirmed it's running php4.3.9 so I'm assuming that's where my problem really is. Sorry for the bother.
edit: edit: Actually i don't think it has anything to do with php4. Nothing looks wrong? Any Ideas?
#11
Posted 30 October 2008 - 08:06 AM
It could be that you are using PHP 4.3.x. I think it was designed for 4.4.x.
Also, what version of Kayako are you running.
Also, what version of Kayako are you running.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
Managing Director and Chief Software Architect - Craig Brass Systems
#12
Posted 30 October 2008 - 12:40 PM
QUOTE (Craig Brass @ Oct 30 2008, 04:06 AM) <{POST_SNAPBACK}>
It could be that you are using PHP 4.3.x. I think it was designed for 4.4.x.
Also, what version of Kayako are you running.
Also, what version of Kayako are you running.
I'm using PHP 4.3.9 and Kayako 3.20.02. I wasn't sure the PHP version was to blam. the php manual for using "const" inside of a class didn't really specify if it needed any particular version of php4.
#13
Posted 30 October 2008 - 01:40 PM
The API requires PHP 5 (the "const" keyword in classes was added in PHP 5, as were the "public" and "private" class method modifiers).
Since support for PHP 4 has been discontinued (as of a full ten months ago), you really should have upgraded to PHP 5 by now. PHP 5 makes developers' lives easier, and thanks to the GoPHP5 initiative the number of PHP 5-only applications is rapidly increasing, so the longer you remain using PHP 4, the more issues you will have with software not working.
Since support for PHP 4 has been discontinued (as of a full ten months ago), you really should have upgraded to PHP 5 by now. PHP 5 makes developers' lives easier, and thanks to the GoPHP5 initiative the number of PHP 5-only applications is rapidly increasing, so the longer you remain using PHP 4, the more issues you will have with software not working.
Andrew Gillard
Lead Developer - Craig Brass Systems
Lead Developer - Craig Brass Systems
Share this topic:
Page 1 of 1
Sign In »
Register Now!
Help

Back to top








