[Closed] J3.2 Joomdle Content Plugin - Page not displayed

More
12 years 5 months ago - 12 years 5 months ago #1 by Akir
Error J3.2

Insert in body article text: {joomdlecourse id=1}

Page is not displayed if the plugin is enabled.
If the plugin is disabled, the page is displayed.
Last edit: 12 years 5 months ago by Chris.

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

More
12 years 5 months ago #2 by Antonio Durán
Thanks for the info.

To fix it, edit plugins/content/joomdle_content_course/joomdle_content_course.php, function onContentPrepare.
Replace:
Code:
$pluginParams = new JParameter( $plugin->params );
By:
Code:
$pluginParams = $this->params;

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

More
12 years 5 months ago #3 by Akir
After making the changes: XML-RPC Error (404): Unknown error

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

More
12 years 5 months ago #4 by Antonio Durán
Usually course id=1 does not exist. Try another one.
Anyway, to get more info about the error, enable debugging on Moodle.

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

More
12 years 5 months ago #5 by Akir
Insert in body article text: {joomdlecourse id=111}


Result page:

XML-RPC Error (28260048): Invalid response value detected | DEBUG INFO: Error in response - Missing following required key in a single structure: remoteid | ERRORCODE: invalidresponse

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

More
12 years 5 months ago #6 by Antonio Durán
That is not the ID you need to use. It is the database course ID (the one you see in the address bar when you are in a course in Moodle)

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

More
12 years 5 months ago #7 by Akir
It works for me. Thanks.

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