Need help if possible

  • Aiesha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 week ago #1 by Aiesha
Need help if possible was created by Aiesha
I'm using Moodle 2.0 , Joomla 1.5.23 ,Windows 7, XAMPP


I get this error when ever I go to (Components > Joomdle > Users)

Warning: file_get_contents(http://localhost/mnet/xmlrpc/server.php) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\administrator\components\com_joomdle\helpers\content.php on line 135

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\administrator\components\com_joomdle\helpers\content.php on line 135

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\libraries\joomla\session\storage\database.php on line 82

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\libraries\joomla\session\storage\database.php on line 51

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

More
15 years 1 week ago #2 by Chris
Replied by Chris on topic Re: Need help if possible
The error message is reporting that it cannot find the other ...

Also, I notice you are using Windows 7. Did you use the domain names? How did they resolve? Did you use localhost? Windows 7 supports IP version 6 and in the past I had to use the IP address rather than localhost.

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

  • Aiesha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 week ago #3 by Aiesha
Replied by Aiesha on topic Re: Need help if possible
Thanks for the reply.
Am new to moodle,joomla and joomdle...so pls bare with me
Yes I am using Windows 7 .

-When I type " http://localhost/" I get my moodle home page.
-When I type "http://127.0.0.1/" I get

"Incorrect access detected, this server may be accessed only through "http://localhost" address, sorry.Please notify server administrator."

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

  • Aiesha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 week ago #4 by Aiesha
Replied by Aiesha on topic Re: Need help if possible
also when I go to "System Check" "Shop" I get the same error page

Warning: file_get_contents(http://localhost//webservice/xmlrpc/server.php?wstoken=cf7dcd811b7220ef86637a9bfad8ddfc) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\administrator\components\com_joomdle\helpers\content.php on line 135

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\administrator\components\com_joomdle\helpers\content.php on line 135

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\libraries\joomla\session\storage\database.php on line 82

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Users\Owner\Desktop\MoodleWindowsInstaller-latest(2)\server\moodle\joomla\libraries\joomla\session\storage\database.php on line 51

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

More
15 years 1 week ago #5 by Chris
Replied by Chris on topic Re: Need help if possible
Sorry, where are you typing this in? In your browser? In an application?

You should be able to use 127.0.0.1 without causing problems in your browser or applications. What I do for my windows 7 environment (but I am not using XAMPP, I use Uniserver), is define a domain name in my hosts file that I use rather than localhost or 127.0.0.1. Eg. In my local hosts redirect www.testing.com to 127.0.0.1 and then in all my applications I pretend they are installed and served up by testing.com. Of course you could choose any domain name that you think you will not need to access.

Also when entering localhost, are you using just localhost or http:// localhost/ plus whatever directories? Trying putting in the http ....

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

  • Aiesha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 1 week ago #6 by Aiesha
Replied by Aiesha on topic Re: Need help if possible
Yes , I type it in Mozilla Firefox browser. Joomla and Moodle work perfectly . When I installed Joomdle I started getting this error so it must be something to do with joomdle since joomla and moodle work perfectly fine even now.

When I use 127.0.0.1 it doesnt really cause me any problem actually (forgot to mention this)
it shows me this message "Incorrect access detected, this server may be accessed only through "localhost" address, sorry.Please notify server administrator." and after few second it directs me to my moodle's home page ....

Do I really have to define a domain name in my hosts file??...I mean it works perfectly fine...only joomdle seems to have problem...I was thinking maybe I missed an installation step...but I could be wrong since am new...I'll give your suggestion a try and see...

I use just use http:// localhost/ for moodle and http:// localhost/joomla/administrator for joomla...

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

More
15 years 1 week ago #7 by Chris
Replied by Chris on topic Re: Need help if possible
You do not need to define a domain name, these were only suggestions because I was under the impression you localhost was not working for you. If you Joomla and Moodle are working well. And the connection problem is related only to Joomdle then I would start by looking at the connection protocols. I assume you have configured joomdle to use file_get_contents? Do you have php-xml rpc loaded and running? Understand Joomdle system health check, are all points having a green check or is there any red cross?

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

  • Aiesha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 6 days ago #8 by Aiesha
Replied by Aiesha on topic Re: Need help if possible
Yes both Moodle and Joomla work perfetly fine....

Yes I have configured joomdle to use file_get_contents.

php-xml rpc..am not sure where do I find that?

The first time I got the connection done I could see system health check and it had one cross the last one I fogot which one it is...so I did some research and fixed it but after that I cant even open the system health check I get the error message...

Thank you for your help!

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

More
15 years 6 days ago #9 by Chris
Replied by Chris on topic Re: Need help if possible
XML-RPC is a PHP library that is required for connection between applications. Whether it be Joomla, Moodle or other apps. You can check using your PHP Info. If you are not sure about this, log into your Joomla admin and from the help menu (right most item) choose system info. Then php information. There should be 6 references to 'xmlrpc' if it is installed.

You can learn more at the prerequisites page in the joomdle documentation
www.joomdle.com/wiki/Prerequisites

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

  • Aiesha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 6 days ago #10 by Aiesha
Replied by Aiesha on topic Re: Need help if possible
I checked it ..but not sure what am suppose to look for so I have attached the file...

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