RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

ved Jamal Aruna -
Antal besvarelser: 5

Hi,

i have tried networking two moodle sites on the same server(version 1.9) with the same configuration according to the Mnet documentation and each time i try to roam from the "network servers" block of moodle A to moodle B i get the error: RPC auth/mnet/user_authorise:XML Parse error in payload: not well-formed (invalid token) At line number: 8 Which reads:ERROR 3:3:XML Parse error in payload: not well-formed (invalid token) At line number: 8 Which reads:

can someone please help!

thank you

Gennemsnitsbedømmelse: -
I svar til Jamal Aruna

Re: RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

ved David Mudrák -
Billede af Core developers Billede af Documentation writers Billede af Moodle HQ Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers Billede af Plugins guardians Billede af Testers Billede af Translators
Hello,

turn Debugging mode to the most verbose level and check the web server's error log.

d.
I svar til David Mudrák

Re: RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

ved Jamal Aruna -

Thanks David

i turned debugging on and i got the following errors

Stack trace:
  • line 1664 of lib/deprecatedlib.php: call to debugging()
  • line 287 of auth/mnet/auth.php: call to error()
  • line 32 of auth/mnet/land.php: call to auth_plugin_mnet->confirm_mnet_session()

i dont have access to the cpanel web server error log.

Anything else i can do please?

Thank you!!

I svar til Jamal Aruna

Re: RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

ved David Mudrák -
Billede af Core developers Billede af Documentation writers Billede af Moodle HQ Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers Billede af Plugins guardians Billede af Testers Billede af Translators
If both sites share the same host server name, make sure they both have different cookie prefix defined in Administration ► Server ► Session Handling. Otherwise, I have no idea why the error is thrown. It is caused by a session user mismatch.

d.
I svar til David Mudrák

Re: RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

ved Jamal Aruna -

Thanks David,

i have tried using two different hosts now and am still getting same error even with the new download of moodle 1.9(1.9.10+(build:20110125)).The installation and testing was even done on 2 different browsers.1 browser each for each server.what else can i do please?

Thank you

Jamal

I svar til Jamal Aruna

Re: RPC XML Parse error in payload:not well-formed (invalid token) At line number: 8

ved John Andrewartha -

It sound like a old token is stuck in the DB.  You can try deleting the hosts and renewing the certificates then, re enabling each host.

That Should force a clean up and I hope fix your problem.