R0.23 No Longer Supported

[Solved] Trouble getting started

  • ajlinn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 1 month ago - 16 years 1 month ago #1 by ajlinn
[Solved] Trouble getting started was created by ajlinn
Hi,

Joomla Version 1.5.15
Moodle 1.9.8+ Build: 20100331
joomdle v 0.23a

I am trying to install the joomdle component – at this stage I just want to see what I can get it can do! The installation of everything went fine! However I am having trouble. I have added the Course Categories to the Joomla "user menu" to see/demo the details pulled across from moodle to joomla.

After registering on my Joomla test site and clicking on the activation link in the email I am brought through to the Joomla site. However when I log in for the 1st time a get 404 Not Found:
From the following URL:
gaa.suildesign.com/gaa.suildesign.com/mo...pper=0&create_user=1

If I remove the 1st gaa.suildesign.com from the above URL it logs me in fine and I can see the link to the Course Categories in my User Menu, however when I select the link I see no details… I would have expected the “Miscellaneous” anyway as it contains my one sample course in my test Moodle installation.

I have checked the list of users in the Moodle admin and none of my new test users that I set up via Joomla have been created in Moodle.

Also every time I try to login in Joomla I am brought to a blank screen
gaa.suildesign.com/index.php
When I refresh, I see the index screen as expected but no login has taken place.

Everything seems to be set up ok I have a feeling that I have Moodle URL
gaa.suildesign.com/moodle or something in the wrong place!

Any help would be greatly appreciated
Regards
ajlinn
Last edit: 16 years 1 month ago by Antonio Durán.
The topic has been locked.
More
16 years 1 month ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Trouble getting started
Hi.

First thing we should know is if anything is working, to know if there are problems with XML-RPC or another general requirement.

Esasiest thing is to start with joomdle_courses module: I see you have it published on the front page, but I don't see any courses listed there.

So, why the test course is not there?

First, check that XML-RPC is enabled in PHP (you can check in the joomla backend, system info, php info). It could be that you are not throwing any errors because of configuration...
The topic has been locked.
More
16 years 1 month ago #3 by Antonio Durán
Replied by Antonio Durán on topic Re: Trouble getting started
I forgot: I assume you entered gaa.suildesign.com/moodle in the component configuration, right?
The topic has been locked.
  • ajlinn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 1 month ago #4 by ajlinn
Replied by ajlinn on topic Re: Trouble getting started
Hi antonio,
Thanks for getting back to me.

"... entered gaa.suildesign.com/moodle in the component configuration"
It was set to that origionally, then I changed it to moodle, which is what it would have been set to when you were on the site, but I've changed it back now.

See below of all the php xml settings I could find on the PHP Information & Relevant PHP Settings, I think it all up and running?


Relevant PHP Settings
Setting Value

Safe Mode: Off
Open basedir: /var/www/vhosts/suildesign.com/subdomains/gaa/httpdocs:/tmp
Display Errors: Off
Short Open Tags: On
File Uploads: On
Magic Quotes: Off
Register Globals: Off
Output Buffering: Off
Session Save Path: /var/lib/php/session
Session Auto Start: 0
XML Enabled: Yes
Zlib Enabled: Yes
Disabled Functions: None
Mbstring Enabled: Yes
Iconv Available: Yes
WYSIWYG Editor: Editor - No Editor


PHP Version 5.2.6

PHP Information

dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.31

libxml
libXML support active
libXML Version 2.6.31
libXML streams enabled

SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.39 $
Schema support enabled

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.31

xmlreader
XMLReader enabled

xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
homepage xmlrpc-epi.sourceforge.net
open sourced by Epinions.com

xmlwriter
XMLWriter enabled


Joomal/administrator
Plugin manager:

User - Joomla! Enabled
User - Joomdlehooks Enabled
Xmlrpc - Joomdle Enabled
XML-RPC - Joomla Enabled
XML-RPC - Blogger API Enabled

Thanks again for your help on this - the module looks great (based on the demo) and something I could get a lot use from.
The topic has been locked.
More
16 years 1 month ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: Trouble getting started
Ok, so the XML-RPC library is enabled.

The strange thing is taht you don't get any errors :(

The quickest way to know where the problem can be is to add some debug.

Open modules/mod_joomdle_courses/mod_joomdle_courses.php and after:
$file = file_get_contents($moodle_xmlrpc_server_url, false, $context);

Add:
echo "File:";
print_r ($file);
The topic has been locked.
  • ajlinn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 1 month ago #6 by ajlinn
Replied by ajlinn on topic Re: Trouble getting started
Hi ,
Thanks again for your help.

The file string is empty!
moodle_xmlrpc_server_url = gaa.suildesign.com/moodle/mnet/xmlrpc/server.php. I checked and the file exists.
"if (is_array ($cursos))" returns false.

Is there anything else I can do to get you useful information about my case?

regards
The topic has been locked.
More
16 years 1 month ago #7 by Antonio Durán
Replied by Antonio Durán on topic Re: Trouble getting started
I guess that really in the moodle_xmlrpc_server_url, http:// is included, right?
The topic has been locked.
  • ajlinn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 1 month ago #8 by ajlinn
Replied by ajlinn on topic Re: Trouble getting started
It wasn't but I've added it now.

moodle_xmlrpc_server_url http:\\gaa.suildesign.com/moodle/mnet/xmlrpc/server.php
The file value is still null however and no courses displayed in the Moodle Courses.
The topic has been locked.
More
16 years 1 month ago #9 by Antonio Durán
Replied by Antonio Durán on topic Re: Trouble getting started
did you really use \\ (instead of //) or just changed because of forum formatting?
The topic has been locked.
  • ajlinn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 1 month ago #10 by ajlinn
Replied by ajlinn on topic Re: Trouble getting started
Humm -- yes I did. Sorry and thank you all at once.

I can see my course now in the Moodle Courses.

Also the register and login to Joomla works, so thanks again for that.

I was reading yesterday in one of the posts about the user login and syncing of the user details. It was clear from your posts that users do not get created in Moodle when they register for Joomla as Moodle is a subset of Joomla when the two systems are interfaced with Joomdle.

How do I assign a new registered user to a course ... or better still allow them select the course that they want to sign up for?

regards.
The topic has been locked.