- Posts: 7
courses display error
- marta
- Topic Author
- Offline
- New Member
-
Less
More
13 years 9 months ago - 13 years 9 months ago #1
by marta
courses display error was created by marta
Hi,
I have just installed joomdle but I get this message:
Warning: file_get_contents(/public_html/moodle/webservice/xmlrpc/server.php?wstoken=) [function.file-get-contents]: failed to open stream: No such file or directory in /home/zd1966zg/public_html/administrator/components/com_joomdle/helpers/content.php on line 137
and:
Warning: Invalid argument supplied for foreach() in /home/zd1966zg/public_html/administrator/components/com_joomdle/views/courseapplications/view.html.php on line 118
It also doesn't show courses.
Help, please
I have just installed joomdle but I get this message:
Warning: file_get_contents(/public_html/moodle/webservice/xmlrpc/server.php?wstoken=) [function.file-get-contents]: failed to open stream: No such file or directory in /home/zd1966zg/public_html/administrator/components/com_joomdle/helpers/content.php on line 137
and:
Warning: Invalid argument supplied for foreach() in /home/zd1966zg/public_html/administrator/components/com_joomdle/views/courseapplications/view.html.php on line 118
It also doesn't show courses.
Help, please
Last edit: 13 years 9 months ago by marta.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
13 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: courses display error
It seems you did not completed the configuration:
- URL for Moodle site seems wrong
- No token in URL
- URL for Moodle site seems wrong
- No token in URL
Please Log in or Create an account to join the conversation.
- marta
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
13 years 8 months ago #3
by marta
Replied by marta on topic Re: courses display error
uf, I just tackled the problem
I see where I have to put auth token
I suppose I get it when I connect it with Moodle and authorize it?
I came to this step, but I don't understand wahat/which files to upload to moodle to get for autorization:
www.joomdle.com/wiki/Installing_Joomdle_in_Moodle_2
I see where I have to put auth token
I suppose I get it when I connect it with Moodle and authorize it?
I came to this step, but I don't understand wahat/which files to upload to moodle to get for autorization:
www.joomdle.com/wiki/Installing_Joomdle_in_Moodle_2
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
13 years 8 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: courses display error
You need to upload and unzip the auth_joomdle.zip file.
Please Log in or Create an account to join the conversation.
- marta
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
13 years 8 months ago #5
by marta
Replied by marta on topic Re: courses display error
ok, I did all the connections joomdle - moodle as said, I even did shop intergration.
but error
Warning: file_get_contents(/public_html/moodle/webservice/xmlrpc/server.php?wstoken=35211a938f7cbd935f3aecfae023e382) [function.file-get-contents]: failed to open stream: No such file or directory in /home/zd1966zg/public_html/administrator/components/com_joomdle/helpers/content.php on line 137
still remains. the worst thin is that is displayed on all pages.
what am I doing wrong?
this is a line in question:
$file = file_get_contents($moodle_xmlrpc_server_url , false, $context);
in file content.php (line 137)
but error
Warning: file_get_contents(/public_html/moodle/webservice/xmlrpc/server.php?wstoken=35211a938f7cbd935f3aecfae023e382) [function.file-get-contents]: failed to open stream: No such file or directory in /home/zd1966zg/public_html/administrator/components/com_joomdle/helpers/content.php on line 137
still remains. the worst thin is that is displayed on all pages.
what am I doing wrong?
this is a line in question:
$file = file_get_contents($moodle_xmlrpc_server_url , false, $context);
in file content.php (line 137)
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
13 years 8 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Re: courses display error
what do you have in moodle URL config in Joomdle options? It seems it's wrong.
Please Log in or Create an account to join the conversation.
- marta
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
13 years 8 months ago #7
by marta
Replied by marta on topic Re: courses display error
fixed it on site
Thank you
but still shows in admin
Thank you
but still shows in admin
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
13 years 8 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Re: courses display error
how do you fix it on the site? It should be fixed everywhere at the same time.
Also, you did not reply my question.
Also, you did not reply my question.
Please Log in or Create an account to join the conversation.
- marta
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
13 years 8 months ago #9
by marta
Replied by marta on topic Re: courses display error
yes, the url was wrong so i changed it.
what do you mean everywhere?
what do you mean everywhere?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
13 years 8 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic Re: courses display error
in admin and frontend. You said it was only fixed in frontend.
Where are you seeing the error? and what error?
Where are you seeing the error? and what error?
Please Log in or Create an account to join the conversation.