- Posts: 28
Joomdle 2.x Installation
Joomdle Web Services
- Dimitris
- Topic Author
- Offline
- Junior Member
-
Less
More
2 years 11 months ago - 2 years 11 months ago #1
by Dimitris
Joomdle Web Services was created by Dimitris
My Settings:
Joomla 4.3.1 (Multi language)
Moodle 4.2+ (https://joomla/moodle)
Joomdle 2.1.0
PHP 8.1.19
Issue:
Joomla->Components->Joomdle->System check result in All check except Joomdle Web Services that fails with description: "Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle"
Checks:
The https url both in Joomdle and Moodle seem to be correct. Tried with www and without. No success.
A. Moodle->Site administration->Plugins->Authentication->Manage authentication are as follows:
1. Joomdle->Enable with Moodle->Joomdle settings as follows:
3. Mnet authentication->Enable
4. Checked that Joomdle connecter has webservice/rest:use
B. Joomla->Components->Joomdle->Configuration as follows:
I don’t know what else to check… Any help would be more than welcome!
Edit: Looking at Joomla Global configuration->Components->Joomdle->Links behaviour I can see the following at the bottom
Note that the same is not shown when in Components->Joomdle->Configuration->Links behaviour
Edit2: When I go Components->Joomdle->Control Panel->Users I get
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/mainpage.com/httpdocs/myjoomlainstallation/administrator/components/com_joomdle/helpers/content.php on line 455
COM_JOOMDLE_WEB_SERVICES_ERROR: Invalid parameter value detected
Joomla 4.3.1 (Multi language)
Moodle 4.2+ (https://joomla/moodle)
Joomdle 2.1.0
PHP 8.1.19
Issue:
Joomla->Components->Joomdle->System check result in All check except Joomdle Web Services that fails with description: "Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle"
Checks:
The https url both in Joomdle and Moodle seem to be correct. Tried with www and without. No success.
A. Moodle->Site administration->Plugins->Authentication->Manage authentication are as follows:
1. Joomdle->Enable with Moodle->Joomdle settings as follows:
- Joomla url : mainpage.com/myjoomlainstallation
- Joomdle’s Joomla authentication token : set correctly
- Connection method: file_get_contents
- Web services protocol: REST
- Joomla default language: en-GB
- Joomla SEF enabled: YES since multi language
3. Mnet authentication->Enable
4. Checked that Joomdle connecter has webservice/rest:use
B. Joomla->Components->Joomdle->Configuration as follows:
- Moodle url: mainpage.com/myjoomlainstallation/moodle
- Moodle auth token: set correctly (taken from Moodle->Site administration->Server->Web services->Manage token->Token)
- Connection method: file_get_contents
- Web services: REST
- Joomla auth token: set by system (and used in Moodle->Joomdle)
I don’t know what else to check… Any help would be more than welcome!
Edit: Looking at Joomla Global configuration->Components->Joomdle->Links behaviour I can see the following at the bottom
Note that the same is not shown when in Components->Joomdle->Configuration->Links behaviour
Edit2: When I go Components->Joomdle->Control Panel->Users I get
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/mainpage.com/httpdocs/myjoomlainstallation/administrator/components/com_joomdle/helpers/content.php on line 455
COM_JOOMDLE_WEB_SERVICES_ERROR: Invalid parameter value detected
Last edit: 2 years 11 months ago by Dimitris . Reason: Added attachment
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
2 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services
Hi.
Please try removing the language settings to see if it makes any difference...I don't think I have tested with Joomla 4 multi-language.
Please try removing the language settings to see if it makes any difference...I don't think I have tested with Joomla 4 multi-language.
Please Log in or Create an account to join the conversation.
- Dimitris
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
2 years 11 months ago #3
by Dimitris
Replied by Dimitris on topic Joomdle Web Services
I've tried that too, no success...
What else could be the cause? I've tried almost everything. I've also lowered PHP but again nothing
Thanks
What else could be the cause? I've tried almost everything. I've also lowered PHP but again nothing
Thanks
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
2 years 11 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services
Check this:
www.joomdle.com/wiki/System_health_check#Raw_replies
Open the file in Moodle, to see if you get any more info about the problem connecting to Joomla.
www.joomdle.com/wiki/System_health_check#Raw_replies
Open the file in Moodle, to see if you get any more info about the problem connecting to Joomla.
Please Log in or Create an account to join the conversation.
- Dimitris
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
2 years 11 months ago - 2 years 11 months ago #5
by Dimitris
Replied by Dimitris on topic Joomdle Web Services
There is no joomla_folder/logs/joomdle_system_check.xml but this is what I get from joomla_folder/administrator/logs/joomdle_system_check.json (there is no .xml file):
{"joomdle_auth":1,"mnet_auth":1,"joomdle_configured":1,"test_data":null,"release":"2.1.0"}
I noticed though that in one of my previous installations with Joomla 3 on WAMP, an .xml file existed.
Now the moodledata_folder/temp/joomdle_system_check.xml also does not exist but there is a moodledata_folder/temp/joomdle_system_check.json which is empty.
Also, my moodledata_folder is one level up the /httpdocs folder but it is set correctly in moodle configuration.
Joomdle: System check shows connection to and from Moodle is ok
Since I don't have any errors changing templates makes no sense?
As for mod_pagespeed refers toolder Joomdle versions
{"joomdle_auth":1,"mnet_auth":1,"joomdle_configured":1,"test_data":null,"release":"2.1.0"}
I noticed though that in one of my previous installations with Joomla 3 on WAMP, an .xml file existed.
Now the moodledata_folder/temp/joomdle_system_check.xml also does not exist but there is a moodledata_folder/temp/joomdle_system_check.json which is empty.
Also, my moodledata_folder is one level up the /httpdocs folder but it is set correctly in moodle configuration.
Joomdle: System check shows connection to and from Moodle is ok
Since I don't have any errors changing templates makes no sense?
As for mod_pagespeed refers toolder Joomdle versions
Last edit: 2 years 11 months ago by Dimitris .
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
2 years 11 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services
> Now the moodledata_folder/temp/joomdle_system_check.xml also does not exist but there is a moodledata_folder/temp/joomdle_system_check.json which is empty.
This is the important part: it seems that the reply from Joomla is empty for some reason.
Are you running any security extensions in Joomla, like Admin Tools or similar?
This is the important part: it seems that the reply from Joomla is empty for some reason.
Are you running any security extensions in Joomla, like Admin Tools or similar?
Please Log in or Create an account to join the conversation.
- Dimitris
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
2 years 11 months ago #7
by Dimitris
Replied by Dimitris on topic Joomdle Web Services
Yeap, I do Admin Tools!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
2 years 11 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services
Ok, try adding com_joomdle to the WAF Exceptions in Admin Tools.
Please Log in or Create an account to join the conversation.
- Dimitris
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
2 years 11 months ago #9
by Dimitris
Replied by Dimitris on topic Joomdle Web Services
Not sure if this is the cause as I am using the free version of Admin Tools and WAF is not applied (I think). WAF is offered only in Pro version.
In order to make sure, I have disabled System-Admin Tools plugin but the issue persists...
In order to make sure, I have disabled System-Admin Tools plugin but the issue persists...
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
2 years 11 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services
Then I guess it is something else.... I cannot think of any more advice to give you from here, sorry.
Last one: when you removed the language settings, did you also disable the SEF option in Joomdle in Moodle? If not, please try.
If you want to use Joomdle professional services, you can send credentials to antonio at joomdle and I will take a look at your site.
Last one: when you removed the language settings, did you also disable the SEF option in Joomdle in Moodle? If not, please try.
If you want to use Joomdle professional services, you can send credentials to antonio at joomdle and I will take a look at your site.
Please Log in or Create an account to join the conversation.