- Posts: 7906
Tips & Tricks
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
4 weeks 2 days ago #11
by Antonio Durán
Replied by Antonio Durán on topic Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
Maybe the link is not correct because we used relative paths.... check with:
cd public_html
ls -al cours
If that is correct, maybe you need to add the sites folder, move the files and recreate the link.
cd public_html
ls -al cours
If that is correct, maybe you need to add the sites folder, move the files and recreate the link.
Please Log in or Create an account to join the conversation.
- rbi
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
4 weeks 2 days ago #12
by rbi
Replied by rbi on topic Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
Hi,
First, thanks again for your support.
I added a parent folder for both. It triggers now the Moodle site as a web site without a sub-domain. So that is good, thanks.
But, for the last 5 hours I am turning in circles. In effect, the first thing that happened is that I was unabled to login on Moodle manually because I had disabled that on Moodle on my first installation. I've tried to enable the manual login without success, including using phpmyadmin. So, I decided to suppress entirely my Moodle installation to restart fresh again.
Now Moodle is executing fine from mysite.com/cours
I've erased Cache and cookies all over.
The first thing I did is to reconfigure Joomdle with a new token, that I provided to Moodle. I actived the web services in Moodle, as well as the Joomdle Moodle plugins, and Joomla moodle plugins..
Two problems:
First, thanks again for your support.
I added a parent folder for both. It triggers now the Moodle site as a web site without a sub-domain. So that is good, thanks.
But, for the last 5 hours I am turning in circles. In effect, the first thing that happened is that I was unabled to login on Moodle manually because I had disabled that on Moodle on my first installation. I've tried to enable the manual login without success, including using phpmyadmin. So, I decided to suppress entirely my Moodle installation to restart fresh again.
Now Moodle is executing fine from mysite.com/cours
I've erased Cache and cookies all over.
The first thing I did is to reconfigure Joomdle with a new token, that I provided to Moodle. I actived the web services in Moodle, as well as the Joomdle Moodle plugins, and Joomla moodle plugins..
Two problems:
- The first four Joomdle system checks are OK. I am missing the Moodle auth token that I cannot see how to find in Moodle. I cannot remember how I did the first time and I do not find the explanation in your documentation on how to retrieve it in Moodle.
- In Joomla admin panel, when I click Joomdle -> Users I get the error: An error has occurred. 0 Cannot access offset of type string on string
Please Log in or Create an account to join the conversation.
- rbi
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
4 weeks 1 day ago #13
by rbi
Replied by rbi on topic Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
Hi,
The second issue related to "An error has occurred. 0 Cannot access offset of type string on string" is due to .htaccess. When I recreate it with Admin tools it works. But then the Moodle site stops working with showing error 403 forbidden on home page.
The second issue related to "An error has occurred. 0 Cannot access offset of type string on string" is due to .htaccess. When I recreate it with Admin tools it works. But then the Moodle site stops working with showing error 403 forbidden on home page.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
4 weeks 1 day ago #14
by Antonio Durán
Replied by Antonio Durán on topic Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
Hi.
The users screen won't work properly if system check is not passing, so we can wait on that one.
For the other one:
> I cannot remember how I did the first time and I do not find the explanation in your documentation on how to retrieve it in Moodle.
On installation, the token is created automatically, and you need to get it from Moodle:
Go to Site administration → Server → Web services → Manage tokens and copy the token for the Joomdle service.
I see that this info is correct in the Quickstart page in the docs, but missing in the general configuration one. I will add it.
The users screen won't work properly if system check is not passing, so we can wait on that one.
For the other one:
> I cannot remember how I did the first time and I do not find the explanation in your documentation on how to retrieve it in Moodle.
On installation, the token is created automatically, and you need to get it from Moodle:
Go to Site administration → Server → Web services → Manage tokens and copy the token for the Joomdle service.
I see that this info is correct in the Quickstart page in the docs, but missing in the general configuration one. I will add it.
Please Log in or Create an account to join the conversation.
- rbi
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
4 weeks 1 day ago #15
by rbi
Replied by rbi on topic Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
I restarted all from scratch, slowly and methodically, with the symlink - without a sub-domain. I have now the whole thing running under one domain and the Joomla wrapper for Joomdle is operational.
I know that the last issue I had, that I mentioned to you, was due to the Joomdle token for joomla.
I need to fine tune the .htaccess generated from Admin tools. Very tricky. I welcome people on the forum to propose sugestions on what is to be tuned related to .htacces from Admin Tools generator in order to secure the Moodle part. I think the best is to create a specific .htacces at the root of the Moddle site.
Thanks for your support.
I know that the last issue I had, that I mentioned to you, was due to the Joomdle token for joomla.
I need to fine tune the .htaccess generated from Admin tools. Very tricky. I welcome people on the forum to propose sugestions on what is to be tuned related to .htacces from Admin Tools generator in order to secure the Moodle part. I think the best is to create a specific .htacces at the root of the Moddle site.
Thanks for your support.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
4 weeks 19 hours ago #16
by Antonio Durán
Replied by Antonio Durán on topic Joomla Wrapper content blocked - ERR_BLOCKED_BY_RESPONSE
Great to know that you got it working. It also took some time for me the first time I tried to set it up, I am glad I could help.
As for Admin Tools: I have not used it for Moodle, so I don't know if it can help or if it is just better to exclude Moodle from it.
As for Admin Tools: I have not used it for Moodle, so I don't know if it can help or if it is just better to exclude Moodle from it.
Please Log in or Create an account to join the conversation.