Joomdle 1.0 Installation

USERS Tab - error 0

  • Clearmind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #1 by Clearmind
USERS Tab - error 0 was created by Clearmind
Hello,

I notice after my install that I cannot view the USERS section of Joomdle.
I receive the following error:
0 Error decoding JSON data: Syntax error

Joomla - 3.6.5
Joomdle - 1.1.2
PHP - 5.6.5
Joomdle auth version in Moodle - 1.1.2

System Check - all green

Any help would be appreciated!

Steve

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

More
8 years 11 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic USERS Tab - error 0
Hi.

I don't know why that could happen. Noboy reported a similar problem before.

Do you have anything selected in "Additional Data Source" in Joomdle config in Joomla?

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

  • Clearmind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago - 8 years 11 months ago #3 by Clearmind
Replied by Clearmind on topic USERS Tab - error 0
Hi there!

Thanks for the response! Appreciated.

I'll list the settings I have:
GENERAL CONFIG
using cURL
SSO = no (not in production yet)
Redirectless logout = no
Auto-create Users = yes
Auto-delete Users = yes

USER PROFILES
Additional Data Sources = Joomla Profile (I changed the data source to NONE, but still seeing the same error.)
All other settings set to NONE except
Teachers Group - Set to my parent User Group for Teachers
Students Group - Set to my parent User Group for Students

I was using Joomla itself to provide all student/teacher resources, so the Teacher & Student Groups are empty groups as I have multiple groups to divide my teachers/classes/Kunena Forum access/files/videos etc. Those groups that DO contains students are all sub-groups of the main STUDENTS parent group.

Could this way of grouping cause the issue?

If I update a user profile manually, the user is automatically added to Moodle, so the connection works. But I can't do any bulk user manipulation from the Joomla interface like bulk import to Moodle.
Thanks for any help! Right now I'm a free user. Let me know if this is something that would be better worked on with a subscription?

Cheers!
Last edit: 8 years 11 months ago by Clearmind.

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

More
8 years 11 months ago - 8 years 11 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic USERS Tab - error 0
> Additional Data Sources = Joomla Profile (I changed the data source to NONE, but still seeing the same error.)

Thing is I checked Joomdle code, and we only have a few calls to json_decode function, and none of them seems to be the one failing in your case.
One of the places where it is used is when you select Joomla Profile as additional data source, but you say error persists if you disable this...

Are you able to set up a test site where you can try to replicate the problem? Just trying to rule out potential conflicts with other extensions...
Right now, only think I could do is debug directly on the site, as I have no idea why this error could come.

> Could this way of grouping cause the issue?

No, that should have nothing to do.
Last edit: 8 years 11 months ago by Antonio Durán.

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