- Posts: 19
How To / General
Blank Moodle content in wrapper
- studiocardo
- Topic Author
- Offline
- New Member
-
Less
More
10 years 8 months ago #1
by studiocardo
Blank Moodle content in wrapper was created by studiocardo
Hey Gents
When i click on an activity in my test lesson, the main content area of the Joomla site flashes briefly with a portion of the Moodle content and then it just went blank...
Joomdle setting:
1. Link Behavior / Open Moodle Link in / Wrapper
2. General Configure / Moodle URL: nina.MYDOMAIN.org/moodle
Moodle Setting:
1. Security / HTTP Security / Allow Frame Embedding, Enabled
What else do I need to check? The only concern I have is that the .htaccess of this dev site specifies www, but the moodle installation can not be reached w/ the www. Would that break the "same domain" rule?
Thank you for your help.
When i click on an activity in my test lesson, the main content area of the Joomla site flashes briefly with a portion of the Moodle content and then it just went blank...
Joomdle setting:
1. Link Behavior / Open Moodle Link in / Wrapper
2. General Configure / Moodle URL: nina.MYDOMAIN.org/moodle
Moodle Setting:
1. Security / HTTP Security / Allow Frame Embedding, Enabled
What else do I need to check? The only concern I have is that the .htaccess of this dev site specifies www, but the moodle installation can not be reached w/ the www. Would that break the "same domain" rule?
Thank you for your help.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
10 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Blank Moodle content in wrapper
Different domain may be the cause.
What are urls from Joomla and Moodle? (you can use mydomain instead of real one)
What are urls from Joomla and Moodle? (you can use mydomain instead of real one)
Please Log in or Create an account to join the conversation.
- studiocardo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
10 years 8 months ago - 10 years 8 months ago #3
by studiocardo
Replied by studiocardo on topic Blank Moodle content in wrapper
Ok... Here's what I have
1. All the work is done in a subdomain called nina.MYdomain.org and moodle is installed in the subfolder of nina, so
/home/public_html/nina/moodle
but there is another folder fro moodledata at the /home/moodledata, which really is just caches, sessions, etc.
2. In Moodle, Dashboard / ▶ Site administration / ▶ Plugins / ▶ Authentication / ▶ Joomdle
The Joomla URL is: nina.mydomain.org
3. in the .htaccess of nina, there rewrite rules are:
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
So all reference nina.mydomain.org is forced to become www.nina.mydomain.org ...
I changed the setting in (2) to www.nina.mydomain.org and it's still the same thing. Something flashes for a second and it went blank.
The Allow Frame Embedding is check in Dashboard / ▶ Site administration / ▶ Security / ▶ HTTP security...
3. the Moodle theme is evolveD, which is 2.9 compliant...
Is there anything else I need to check? I am frustratingly close...
Thank you for your help!
SH
1. All the work is done in a subdomain called nina.MYdomain.org and moodle is installed in the subfolder of nina, so
/home/public_html/nina/moodle
but there is another folder fro moodledata at the /home/moodledata, which really is just caches, sessions, etc.
2. In Moodle, Dashboard / ▶ Site administration / ▶ Plugins / ▶ Authentication / ▶ Joomdle
The Joomla URL is: nina.mydomain.org
3. in the .htaccess of nina, there rewrite rules are:
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
So all reference nina.mydomain.org is forced to become www.nina.mydomain.org ...
I changed the setting in (2) to www.nina.mydomain.org and it's still the same thing. Something flashes for a second and it went blank.
The Allow Frame Embedding is check in Dashboard / ▶ Site administration / ▶ Security / ▶ HTTP security...
3. the Moodle theme is evolveD, which is 2.9 compliant...
Is there anything else I need to check? I am frustratingly close...
Thank you for your help!
SH
Last edit: 10 years 8 months ago by studiocardo. Reason: added theme info
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
10 years 8 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Blank Moodle content in wrapper
Check your Moodle configuration file, to see what you set as Moodle URL.
If it lacks www, add it. You need to have there the Moodle URL you are really going to use.
If it lacks www, add it. You need to have there the Moodle URL you are really going to use.
Please Log in or Create an account to join the conversation.
- studiocardo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
10 years 8 months ago #5
by studiocardo
Replied by studiocardo on topic Blank Moodle content in wrapper
I did. And the problem persists; it flashed some content (menu, specifically) and then it went blank.
For Joomla, I am using Yootheme template. Not sure what difference that might have made.
SH
For Joomla, I am using Yootheme template. Not sure what difference that might have made.
SH
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
10 years 8 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Blank Moodle content in wrapper
Joomla template does not matter.
Did you also add the www in Joomdle config in Moodle?
To be sure that this is a domain related issue, you can also disable wrapper auto-heihgt in Joomdle config in Joomla.
Did you also add the www in Joomdle config in Moodle?
To be sure that this is a domain related issue, you can also disable wrapper auto-heihgt in Joomdle config in Joomla.
Please Log in or Create an account to join the conversation.