Joomdle at localhost returns blank page

  • John Evergrey
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 9 months ago #1 by John Evergrey
Joomdle at localhost returns blank page was created by John Evergrey
Hello guys,

first of all, thank you for this magnificent product! It can really make my life easier :).

I am trying to test this product out but I am getting weird errors. I was not able to test this product on my web server because the owner company refuses to activate XML-RPC. So I am testing on localhost using XAMPP.

Both the Joomla 1.6.3 and Moodle 2.0.3 are running like a charm. I have rigged the hosts file so the address to Joomla is: testing.com/backup and to Moodle it's testing.com/backup/moodle

When I configure the URL, moodle version and token and I try to do the system check, all I get is either a blank page or a fatal error which says the limit for this action is over.

I know there is something I am doing wrong, but what is it? Can someone help me? Thank you for your answers.

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

More
14 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomdle at localhost returns blank page
Hi.

I guess you are on Windows, so I would bet on a DNS problem resolving localhost.

Look into your host file (location dependes on windows version) and check that you don't have any line like this:
::1 localhost

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

  • John Evergrey
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 9 months ago #3 by John Evergrey
Replied by John Evergrey on topic Re: Joomdle at localhost returns blank page
Thank you for your answer.

There was line like this: # ::1 localhost
so I deleted it, but still the problem persists.

I also ruled out a firewall issue because I tried it with my firewall off. I am not sure what else I can do.

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

More
14 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomdle at localhost returns blank page
Don't know either. I have never worked in Windows on localhost myself, so I am not sure of any other quirks that may appear...

As it is a time out problem, it seems like a connection problem (like joomla cannot connect to moodle). I don't know the reason for that.

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

More
14 years 9 months ago #5 by Chris
What is your windows version? Are you using localhost or 127.0.0.1

I had problems with one of my windows and resolved it by creating a "testing.com" domain and then in my localhost redirecting testing.com to 127.0.0.1.

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

  • John Evergrey
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 9 months ago #6 by John Evergrey
Replied by John Evergrey on topic Re: Joomdle at localhost returns blank page
Thank you very much for your answers!! I made it work. I installed WAMP and it worked. Now I can honestly say that this is a component with great potential :)

But for my purposes I would like to make it even more suitable for the work I am currently working on.

I am trying to show users grades which works fine. Now there are two columns -> name of the test and the grade. Is it possibly to somehow add the date that test was taken and even to show the feedback?

Thank you for your answers and keep up the great, magnificent work!

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

More
14 years 9 months ago #7 by Chris
Hi there,

If possible, this would require some custom coding. Antonio is away for a few weeks so I will not be able to give you any estimates or specifics to the coding changes.

If you able to hack the code yourself, let us know and it maybe something that we could include in future versions to avoid you have to worry about new joomdle versions whipping out your changes.

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

  • John Evergrey
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 9 months ago #8 by John Evergrey
Replied by John Evergrey on topic Re: Joomdle at localhost returns blank page
hi,

i think i have found the source files for this to happen. But I am not sure how to transfer the date and time variables from moodle to work in joomla.

It is located in the moodle/auth/joomlde/helpers/externallib.php and the section starts at line 567. There is this code:

array(
'itemname' => new external_value(PARAM_TEXT, 'item name'),
'finalgrade' => new external_value(PARAM_TEXT, 'final grade'),
)

but i am not sure if this is the right place to tell joomla where to look for other variables from moodle.

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

More
14 years 9 months ago #9 by Chris
Sorry I am really not able to help in this area. The best I could do is open the code and just try entering the statements, but that sounds exactly what you are doing.

If you do not get it after a short while, let me know and when I have some free time, I'll playing around with the code to see if I can find it too :)

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

  • John Evergrey
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 9 months ago #10 by John Evergrey
Replied by John Evergrey on topic Re: Joomdle at localhost returns blank page
Hi,

it seems that i will need your help after all. All my attempts resulted in errors because I don't know which is linked to what in the code. Therefore I would really appreciate your help in achieving this.

I believe that if you can display the date somehow and you tell me how. Then I can make all of the changes I need myself.

Thank you for your answers and thank you for your work!!!

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