Skip to Content Skip to Menu

Fatal Error

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 10 months ago #122129 by slabbi
Replied by slabbi on topic Re:Fatal Error
Checked AUP and it uses following code to call the API:
[code:1] uddeIMAPI::«»sendNewMessage( $fromIdUddeim, $userinfo->userid , $message );
[/code:1]
So there is no existing instance and the error occurs. The FAQ describes how to access the API correctly.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

14 years 10 months ago #122256 by mariealline
Replied by mariealline on topic Re:Fatal Error
Okay. Which script is that in? I am not a coder so can you give me a clue here please? lol!

Marie

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 10 months ago #122279 by slabbi
Replied by slabbi on topic Re:Fatal Error
I do not remember. Did a grep over all files and found this line. Please contact the author, so he can fix this. Its quite easy instead of the line above he has to use:

[code:1]$api = new uddeIMAPI();
$api->sendNewMessage( $fromIdUddeim, $userinfo->userid , $message );[/code:1]

Thats all.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum