- Posts: 14
Joomdle 1.0 Installation
Joomla URL seems to be misconfigured in Joomdle auth plugin
- Miloud Eloumri
- Topic Author
- Offline
- New Member
-
Less
More
8 years 2 months ago #21
by Miloud Eloumri
Replied by Miloud Eloumri on topic Joomla URL seems to be misconfigured in Joomdle auth plugin
Hi Antonio,
Thanks a lot for all your responses. I am happy to let you know that my problem is solved.
I used different installation in a different server and all worked good including Joomdle integration.
I was wondering and really wanted to know why I was getting this <head /> in the Joomdle-Moodle system check XML file in my previous server and installation. Guess what! I found why this happened and fixed the problem and so <head /> is no more there.
In case anybody having similar <head /> problem the fix is very simple, but kind of hidden and some how seems not realted, but it is the casue of the problem. This problem was caused by Apache cache. So in httpd.conf there is :
Include conf/pagespeed.conf
Include conf/pagespeed_libraries.conf
If not commented just comment them and restart Apache or your server.
# Include conf/pagespeed.conf
# Include conf/pagespeed_libraries.conf
and problem solved.
Thanks again.
Thanks a lot for all your responses. I am happy to let you know that my problem is solved.
I used different installation in a different server and all worked good including Joomdle integration.
I was wondering and really wanted to know why I was getting this <head /> in the Joomdle-Moodle system check XML file in my previous server and installation. Guess what! I found why this happened and fixed the problem and so <head /> is no more there.
In case anybody having similar <head /> problem the fix is very simple, but kind of hidden and some how seems not realted, but it is the casue of the problem. This problem was caused by Apache cache. So in httpd.conf there is :
Include conf/pagespeed.conf
Include conf/pagespeed_libraries.conf
If not commented just comment them and restart Apache or your server.
# Include conf/pagespeed.conf
# Include conf/pagespeed_libraries.conf
and problem solved.
Thanks again.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
8 years 2 months ago #22
by Antonio Durán
Replied by Antonio Durán on topic Joomla URL seems to be misconfigured in Joomdle auth plugin
Hi Miloud.
I am glad you managed to get it working.
Thank you very much for taking the time to explain the solution, as I am sure it can help others. I have added your comments to the wiki. I hope that's ok:
www.joomdle.com/wiki/System_health_check#Raw_replies
For next release, I will also try adding an option in Joomdle to disable pagespeed for Joomdle web services, so you don't need to disable it.
I am glad you managed to get it working.
Thank you very much for taking the time to explain the solution, as I am sure it can help others. I have added your comments to the wiki. I hope that's ok:
www.joomdle.com/wiki/System_health_check#Raw_replies
For next release, I will also try adding an option in Joomdle to disable pagespeed for Joomdle web services, so you don't need to disable it.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
8 years 2 months ago #23
by Antonio Durán
Replied by Antonio Durán on topic Joomla URL seems to be misconfigured in Joomdle auth plugin
Hi again.
I did some research on pagespeed, and I think I will directly add code to disable it on web service calls to Joomla, as it will always add the head tag to accomodate any needed pagespeed-related headers.
So, if you want to try it out you can enable pagespeed in apache config again.
Then, edit file: moodle/auth/joomdle/auth.php
In function: function _get_xmlrpc_url
Before the return line, add:
This will let you keep using pagespeed for your site, just disabling it for web service calls.
I did some research on pagespeed, and I think I will directly add code to disable it on web service calls to Joomla, as it will always add the head tag to accomodate any needed pagespeed-related headers.
So, if you want to try it out you can enable pagespeed in apache config again.
Then, edit file: moodle/auth/joomdle/auth.php
In function: function _get_xmlrpc_url
Before the return line, add:
Code:
// Disable pagespeed mod for web service calls
$joomla_xmlrpc_server_url .= '&PageSpeed=Off';
This will let you keep using pagespeed for your site, just disabling it for web service calls.
Please Log in or Create an account to join the conversation.
- Miloud Eloumri
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
8 years 2 months ago #24
by Miloud Eloumri
Replied by Miloud Eloumri on topic Joomla URL seems to be misconfigured in Joomdle auth plugin
Hi Antonio,
Thank you.
Yes, it is okay to add my comment to the wiki.
Also, I re-enabled page speed and modified moodle/auth/joomdle/auth.php as you suggested and it worked.
Thank you.
Yes, it is okay to add my comment to the wiki.
Also, I re-enabled page speed and modified moodle/auth/joomdle/auth.php as you suggested and it worked.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
8 years 2 months ago #25
by Antonio Durán
Replied by Antonio Durán on topic Joomla URL seems to be misconfigured in Joomdle auth plugin
Great, thanks for the feedback. We just released Joomdle 1.2 with the change included.
Please Log in or Create an account to join the conversation.
- Miloud Eloumri
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
8 years 2 months ago #26
by Miloud Eloumri
Replied by Miloud Eloumri on topic Joomla URL seems to be misconfigured in Joomdle auth plugin
Thanks for the Joomdle 1.2 update.
Please Log in or Create an account to join the conversation.