[Closed]XML-RPC Error (623): Calling parameters do not match

  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 2 months ago - 15 years 2 months ago #1 by Lisa Norman
Uh oh.

I'm working on a Moodle/Joomla integration for a client. The site is supposed to go live in March.

I noticed the newer version (.5) and decided to upgrade before continuing with the visual integration. Now I'm getting an error in Joomla whenever I try to look at the Joomdle Users page.

Joomla 1.5.22
Moodle 2.0
Joomdle R0.5

It was working...except that I'd noticed an issue with the Joomla admin users not being converted to Moodle users. One problem seemed to be that the usernames in Joomla started with a capital letter while Moodle will only accept lower case.

This XML-RPC Error (623): Calling parameters do not match signature <-- that's a problem. Any help would be appreciated!

an update: When I go to edit a user profile in Moodle and click save, it says that it has saved the changes...but they don't actually save. I'm wondering if this is related.
Last edit: 15 years 2 months ago by Chris.
The topic has been locked.
More
15 years 2 months ago #2 by Antonio Durán
Hi.

Some questions:
- when you upgraded to R0.5, did you upgrade Moodle side too?
- When to you get the 623 error?
The topic has been locked.
More
15 years 2 months ago #3 by Antonio Durán
Also, do you have any additional data source set?
The topic has been locked.
  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 2 months ago #4 by Lisa Norman
I do not have any additional data sources set.

As for updating the Moodle side. I *think* I did. I replaced the auth folders and put the "enrol" inside the enrol folder. I also put the contents of the blocks folder...somewhere. I can't remember if that one had a readme inside that said where to put it or not. I remember that one did and the other two did not. The one that did, I put where it said to. The others...I found one in the documentation, if I'm remembering correctly. I do remember that there was one that I put where I thought it went. When I went to notifications, two showed as "non-standard" but when I went to check and see if they were in the right places in the menus, seemingly working -- they were.

Is it possible that I've done something horribly wrong? Oh yes. I'm new with Moodle and still learning the file structure.

When I read through the documentation on installation, it only shows where to put one of the plug-ins. Unless I'm reading it wrong...

Sorry. After the original Joomdle .4 install everything worked. I could add users, etc. Now I can't even add a new user. Any help will be appreciated. I'm thinking of uninstalling Joomdle completely and re-installing .4. Just not sure if that is a good idea either.
The topic has been locked.
More
15 years 2 months ago #5 by Antonio Durán
Hi.

Don't think that you did anything wrong. This is most likely that you have found a bug.

The main question to know where to look for is: when do you get the 623 error? What actions do you make it trigger it?
The topic has been locked.
  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 2 months ago #6 by Lisa Norman
To get the error:

Go into Joomla admin. Click on Joomdle - users. That's when I'd get the error. I did not get it the first time. The first time I got it when clicking on a user. After that, I got it whenever I went to the screen.

?? And today I don't get the error. (when I went to reproduce the steps and make sure nothing had changed.)

What I did yesterday when I couldn't add users: Through phpmyadmin, I checked, defragmented and optimized both the jos_users and mdl_user tables. (Yes, despite my inability with Moodle I do have some background with database programs...)

(side-note: in Joomdle, my Joomla super-admins do not have the ability to be added to Joomdle or Moodle -- no check box available. Is that normal?)

Since there is no error today...
  • Logged into Joomla site as myself -- super admin with "Deleyna" as username. This logs me in as Moodle "deleyna"...which I do find a little...odd.
  • Went to my profile settings - edit profile.
  • (side note: just noticed that the preference for "when editing text..." is there. I looked for it specifically yesterday and it WAS NOT THERE. No, I'm not crazy. I had a screen-shot that I was following and it wasn't there. Now it is.)
  • Made a change - and updated fine.
  • Went to edit text and there's no HTML editor loading. (admin user is able to edit with the editor...)
  • Went back to my profile to see if the "when editing text" setting was wrong. Noted that what I had changed had changed back, so it isn't saving changes into the table.
  • Added a new user (deleyna2) in Moodle.
  • Added that new user into Joomla and Joomdle using the Joomdle control panel.
  • Promoted user to super-admin in Moodle.
  • Unable to log in into Moodle -- moodle is in wrapper and I'm still logged into Joomla as Deleyna.
  • Promoted deleyna2 to super-admin in Joomla. Note -- not enabled in Joomla and password missing. Fixed this.
  • Logged out of Joomla (wrapper).
  • Logged in via the Joomla wrapper. (Joomla log-in)
  • Now changes stick to profile. However, still can't get the HTML editor.

I think if I could get to where I could edit with an editor, I might be happy now. What I don't understand is why things still seem to be changing -- can't do it, then can, that sort of thing.

And now the error is gone although yesterday (before table maintenance) it was consistent. I didn't go back and re-try the Joomla end after doing that because the changes in the moodle user profile were not sticking.

Thoughts?
The topic has been locked.
  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 2 months ago #7 by Lisa Norman
Hm. After I posted that message, I found an email from the site welcoming deleyna2 with a random password, even though I'd entered one when I created the account in Moodle. When I couldn't log in, I'd gone back through "Deleyna" into Joomla and re-entered the password in Joomla.

I think there's something there...a clue?
The topic has been locked.
  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 2 months ago #8 by Lisa Norman
BTW -- I also logged out and logged in to Moodle directly (no wrapper) and still do not get the HTML editor. Changes do seem to stick in the edit profile area, though...

side note -- catching a plane in 15 min. (Thought you were gone for the weekend!) Will log back on tonight and happily perform any other tests. I'm also willing to give you access to the client's site if you need it.

I really was hoping you were going to tell me I'd done something stupid so I could fix it. Bug sounds so much more...deadline-missing. (grin)
The topic has been locked.
More
15 years 2 months ago #9 by Antonio Durán
Really strange behaviour to get errors one day and not the next...

As you say, it is normal for admins not to have a checkbox: they are not supposed to use Joomdle SSO.

So, firt thing: don't use admins to test.

To test SSO: create a new normal user in Joomla and see if it ges created in Moodle.

Also, I didn't ask before, but I guess Joomdle system check is all Ok, right?

Don't know what you are talking about with the html editor, sorry.
The topic has been locked.
  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 years 2 months ago #10 by Lisa Norman
Oh yes! System check has been fine throughout.

I'm thinking that cleaning the user tables is what actually resolved the error.

Thanks for the explanation about the admins. I can accept that.

I'm going to test this again, but if I remember correctly I can create users in Moodle now but the password doesn't store. They get a random password. That may even be a Moodle setting somewhere. Somewhere...

The html editor is the editor that pops up over a text box when you are editing a block of text like creating a course. It is supposed to be TinyMCE. My admin account gets it, but the others do not. There is a user related field to use the editor or not. Before I optimized the tables, that field was not showing. Afterwards, it is. However, the editor is still not showing. I can live without it.

Will get back to you after more testing.
The topic has been locked.