Craig Brass Systems Forum: don't know host to use it - Craig Brass Systems Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

don't know host to use it

#1
User is offline   Brothers 

  • Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 16-July 08
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
0

#2
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
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
0

#3
User is offline   Brothers 

  • Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 16-July 08
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?
0

#4
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
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
0

#5
User is offline   Andrew Gillard 

  • Staff - Lead Developer
  • Pip
  • Group: Developers
  • Posts: 97
  • Joined: 04-March 07
  • Gender:Male
  • Location:Basingstoke, United Kingdom
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.
Andrew Gillard
Lead Developer - Craig Brass Systems
0

#6
User is offline   israelito 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 18-September 08
Is it possible to make kayako's search box to look for topics on the SMF's knowledge base with this API?
0

#7
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
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
0

#8
User is offline   Trim 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-October 08

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?
0

#9
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
You should access http://www.yourdomain.com/helpdesk/integrationapi/

The integrationapi folder should be placed INSIDE the Kayako root folder.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
0

#10
User is offline   Trim 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-October 08
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.



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?
0

#11
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
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.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
0

#12
User is offline   Trim 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 16-October 08
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.


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.
0

#13
User is offline   Andrew Gillard 

  • Staff - Lead Developer
  • Pip
  • Group: Developers
  • Posts: 97
  • Joined: 04-March 07
  • Gender:Male
  • Location:Basingstoke, United Kingdom
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.
Andrew Gillard
Lead Developer - Craig Brass Systems
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users