Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
02-05-2014, 03:05 AM,
#1
Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
When trying to research API Function Reference (From the manual) I get the following error

Fatal error: Call to a member function kindOf() on a non-object in /home/content/78/11672978/html/weberpdev/xmlrpc/lib/xmlrpc.inc on line 3310

I know it might be shocking that I am trying to read the manual Smile
Reply
02-05-2014, 04:11 AM,
#2
RE: Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
If this is the latest code then you will have. As I have pointed out before on these forums there has been a trend recently of adding blank lines after the ?>

I think there is one at the end of api/api_php.php, try removing that blank line and it should then work.

Putting empty lines at the end of files can cause problems when no characters can be sent before the headers are sent, though it got ignored last time I mentioned it. PHP can be setup to ignore when it is just one character return, however that is just covering up sloppy coding.
Reply
02-05-2014, 06:15 AM,
#3
RE: Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
No Blank Line. Could be another hidden character elsewhere.
Reply
02-05-2014, 06:22 AM,
#4
RE: Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
Ok, what version of the code are you using?
Reply
02-05-2014, 06:29 AM,
#5
RE: Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
4.11.2
Reply
02-05-2014, 06:54 AM,
#6
RE: Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
Interesting.

Can you set DebugLevel to 2 at line 26 of doc/Manual/ManualAPIFunctions.php

Then you will get a lot of debug info out. Rather than clutter up the forums can you copy and paste the entire debug output to me on tim.schofield1960@gmail.com

Thanks
Tim
Reply
02-05-2014, 07:11 AM,
#7
RE: Fatal error: Call to a member function kindOf() APIP Functions in MnanualContents.ph
Thanks Tim!
Turning the Debug level up solved my problem by pointing out the real error. In the future I will use that feature I was previously unaware of to do some heavier lifting on my side.
The real issue is:
My instance is running in a secure area. So whatever is going on in the background (possibly with http communication outside of my browser) can't supplier the browser credentials. If I turn off the server authentication the script works. OK - good to know.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)