Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not show discussiones forum #85

Closed
adminmoodle opened this issue Apr 15, 2016 · 7 comments
Closed

does not show discussiones forum #85

adminmoodle opened this issue Apr 15, 2016 · 7 comments

Comments

@adminmoodle
Copy link

praveendath92/MDroid

i use the app but does not show the forum discussions

I ran from android studio and i got the following in the logcat

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2

@pkpio
Copy link
Owner

pkpio commented Apr 15, 2016

@adminmoodle What's the version of the Moodle site you are using? Forum discussions are not available on older on versions of Moodle.

@adminmoodle
Copy link
Author

@praveendath92 im using version 2.9

@pkpio
Copy link
Owner

pkpio commented Apr 18, 2016

Could you please check if this function is enabled on your Moodle Web services?

@adminmoodle
Copy link
Author

@praveendath92 yes, this function is enable in my moodle,

@adminmoodle
Copy link
Author

@praveendath92 you were right, i changed the function to mod_forum_get_forum_discussions, and now is run correctly

@pkpio
Copy link
Owner

pkpio commented Apr 19, 2016

@adminmoodle Glad to know that it has been resolved 😄

@adminmoodle
Copy link
Author

thanks so much, kind regards :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants