Craig Brass Systems Forum: kayako Integration API:- Fatal error: Call to a member function geteventdata() - Craig Brass Systems Forum

Jump to content

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

kayako Integration API:- Fatal error: Call to a member function geteventdata()

#1
User is offline   remyavava 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 16-July 08
Hi,
I am getting this error while integrating Kayako API
Fatal error: Call to a member function geteventdata() on a non-object in includes/functions.php

My kayako version is 3.20.02

I am using the Native PHP Class to get the submitted tickets. The error occurs when i included "integrationapi/lib/api.class.php".
I am using symfony framework
0

#2
User is offline   Andrew Gillard 

  • Staff - Lead Developer
  • Pip
  • Group: Developers
  • Posts: 97
  • Joined: 04-March 07
  • Gender:Male
  • Location:Basingstoke, United Kingdom
You get that error as soon as you include api.class.php? You don't call any methods of the CBS_KayakoAPI class?

Does the error message tell you which line number of includes/functions.php the error occurred on?
Andrew Gillard
Lead Developer - Craig Brass Systems
0

#3
User is offline   Andrew Gillard 

  • Staff - Lead Developer
  • Pip
  • Group: Developers
  • Posts: 97
  • Joined: 04-March 07
  • Gender:Male
  • Location:Basingstoke, United Kingdom
I've just posted a new topic about setting a PHP error handler that includes a backtrace so we can investigate the problem in more detail. Please follow those instructions and post the result in this thread, then we can hopefully figure out what's wrong smile.gif
Andrew Gillard
Lead Developer - Craig Brass Systems
0

#4
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
If anyone else is having problems, try replacing the api.class.php file with the one attached.

Attached File(s)


Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
0

#5
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
Internally, we have been trying to develop something using this and the developer has found that it occurs only when nusoap.php is included at the same time as trying to do api.class.php.

Maybe this will help you fix the problem.
Craig Brass
Managing Director and Chief Software Architect - Craig Brass Systems
0

#6
User is offline   Craig Brass 

  • Staff - Managing Director and Chief Software Architect
  • PipPipPip
  • Group: Management
  • Posts: 349
  • Joined: 17-January 07
Ok, my last post was incorrect. It is actually an issue with functions in the two pieces of software conflicting. If this happens, you must use the SOAP API.
Craig Brass
Managing Director and Chief Software Architect - 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