moodle_url [Closed]

  • metutelllc
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago - 11 years 9 months ago #1 by metutelllc
moodle_url [Closed] was created by metutelllc
Hello:

I have recently uploaded a website from my localhost to GoDaddy. Everything seems to be working fine, but I have three problems with the Joomdle integration.

1. I get a warning on my moodle courses module:
Warning: file_get_contents(http://localhost/moodle//webservice/xmlrpc/server.php?wstoken=a688c8840bbc8a4e62c8538070307f02&lang=en): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/metutel24/public_html/administrator/components/com_joomdle/helpers/content.php on line 131

2. It appears that the users are not enrolled in any courses.

3. When my users logout, they are redirected to my localhost website: localhost/mywebsite

I have a feeling the warning (although not an error) is part of the reason the user don't seem to be enrolled. I checked the content.php file, and it seems that I can track the error back to the variable 'moodle_url'. It seems to be pulling in localhost instead of my website. I have checked the config file and I think everything looks correct. Can someone tell me which file gets that variable? I think that it will help me resolve the issue.

Also, please note that the moodle installation went fine - I can easily go to the moodle website: www.metutel.com/moodle . It just seems that my connector is configured improperly.

My website name is www.metutel.com if that helps.

Thanks
Last edit: 11 years 9 months ago by Chris.

Please Log in or Create an account to join the conversation.

  • metutelllc
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #2 by metutelllc
Replied by metutelllc on topic moodle_url
Ok, I got this working.

If you are configuring joomdle on a local site and then uploading to a shared server, it is best to change the Moodle URL in General configuration of Joomdle before importing the database onto the server For some reason I thought that I could just change the settings in the Moodle site administration page once I imported the files, but that obviously didn't work.

Hopefully, if anyone else makes this mistake, my post will help.

Please Log in or Create an account to join the conversation.