Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
564 views
in Q2A Core by

Hi,

I was testing NoahY's Q2A android app, I was getting following error.

org.xmlrpc.android.XMLRPCException: org.xmlpull.v1.XmlPullParserException: END_TAG expected (position:END_DOCUMENT null@14740:51 in java.io.InputStreamReader@5291007c) 

When I looked into server's error-log it further pointed me to this error -

PHP Notice:  Undefined index: lasthandle in /home/[path-to-qa]/qa-include/qa-app-format.php on line 123

So, I changed the line 123 from this - 

if (isset($useridhandle['lastuserid']) && $useridhandle['lasthandle'])

to

if (isset($useridhandle['lastuserid']) && @$useridhandle['lasthandle'])

and it's working (except that I can't see any images, i dont know why).

But,  I guess "@" is only suppressing error not fixing it's cause.

How to find and correct, what causing it?

Also I had to do this change in core (a-app-format.php). Is there any way to do this without changing the core?

Thanks.

Q2A version: 1.6.3

Please log in or register to answer this question.

...