- Posts: 129
Weird errors
- Lisa Norman
- Topic Author
- Offline
- Premium Member
-
[11-Mar-2017 15:23:16 America/Denver] PHP Warning: file_get_contents( www.mysite.com/moodle//webservice/xmlrpc...ver.php?wstoken=xxxx ): failed to open stream: HTTP request failed! in /home3/username/public_html/administrator/components/com_joomdle/helpers/content.php on line 106
[11-Mar-2017 16:05:38 America/Denver] PHP Warning: file_get_contents( www.mysite.com/moodle//webservice/xmlrpc...ver.php?wstoken=xxxx ): failed to open stream: HTTP request failed! in /home3/username/public_html/administrator/components/com_joomdle/helpers/content.php on line 106
[12-Mar-2017 15:43:38 America/Denver] PHP Warning: file_get_contents( www.mysite.com/moodle//webservice/xmlrpc...ver.php?wstoken=xxxx ): failed to open stream: HTTP request failed! in /home3/username/public_html/administrator/components/com_joomdle/helpers/content.php on line 106
(edited to hide client site private info)
We are on PHP 5.6.29
Joomla 3.6.5
Moodle 3.2.1+ (Build: 20170209)
Joomdle 1.0.8
Have you seen this before? Do you know what I should begin looking for?
Is it possible our Moodle is too big? (Database over 1Gb)
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7909
Requests to Moodle web services are failing,. If this was working before, something must have changed in the server:
- URLs
- Security software
....
First thing, try opening in the browser: www.mysite.com/moodle//webservice/xmlrpc...ver.php?wstoken=xxxx
Please Log in or Create an account to join the conversation.
- Lisa Norman
- Topic Author
- Offline
- Premium Member
-
- Posts: 129
faultCode23604497faultStringCan not find data record in database table external_functions. | ERRORCODE: invalidrecord
I'm also seeing:
Undefined index: cat_name in /home3/mysite/public_html/components/com_joomdle/views/detail/tmpl/default.php on line 130
Undefined index: fullname in /home3/mysite/public_html/components/com_joomdle/views/detail/tmpl/default.php on line 131
While 90% of the errors are Joomdle related, I'm also seeing:
PHP Notice: Undefined index: email in /home3/mysite/public_html/components/com_users/models/reset.php on line 243
Which is clearly NOT Joomdle related.
You mentioned security software. We did move to SSL in December.
Initially I was thinking this was the Moodle database that was too large, but now I'm realizing that these all seem to be Joomla related. I'm alarmed by the size of the error log (and that I didn't catch it sooner!).
What table is this external_functions error pointing at?
I appreciate any help you can give me.
Please Log in or Create an account to join the conversation.
- Lisa Norman
- Topic Author
- Offline
- Premium Member
-
- Posts: 129
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7909
> You mentioned security software. We did move to SSL in December.
Did you change Joomdle config after going SSL? Do you know if it stopped working at that time?
> Could this be a sign that our site is overloading the server?
I don't think so. This seems like a problem with Joomdle or Moodle configuration.
I told you:
> First thing, try opening in the browser: www.mysite.com/moodle//webservice/xmlrpc...ver.php?wstoken=xxxx
Have you tried it?
Please Log in or Create an account to join the conversation.
- Lisa Norman
- Topic Author
- Offline
- Premium Member
-
- Posts: 129
Lisa Norman wrote: Sorry for the delay... this was my first free moment. I tried to go to that page and get:
faultCode23604497faultStringCan not find data record in database table external_functions. | ERRORCODE: invalidrecord
I'm also seeing:
Undefined index: cat_name in /home3/mysite/public_html/components/com_joomdle/views/detail/tmpl/default.php on line 130
Undefined index: fullname in /home3/mysite/public_html/components/com_joomdle/views/detail/tmpl/default.php on line 131
While 90% of the errors are Joomdle related, I'm also seeing:
PHP Notice: Undefined index: email in /home3/mysite/public_html/components/com_users/models/reset.php on line 243
Which is clearly NOT Joomdle related.
You mentioned security software. We did move to SSL in December.
Initially I was thinking this was the Moodle database that was too large, but now I'm realizing that these all seem to be Joomla related. I'm alarmed by the size of the error log (and that I didn't catch it sooner!).
What table is this external_functions error pointing at?
I appreciate any help you can give me.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7909
That seems all right, so problem must be somewhere else.
What I see in the error log is a double slash in moodle url, so I guess you have a trailing slash in Moodle URL in Joomdle configuration in Joomla. Try removing it to see if that helps.
Also, does system check show any other errors?
Please Log in or Create an account to join the conversation.
- Lisa Norman
- Topic Author
- Offline
- Premium Member
-
- Posts: 129
Which I probably introduced into the system when we moved to ssl...
I've taken it out. Hopefully that'll make it all better. I completely missed that.
THANK YOU!!!
(Oh -- and no, no system check errors at all. I've had all green checks the whole time and clients not reporting any problems. If a user hadn't tried to post a non-standard character to the database in Moodle and sent me an odd error report, I never would have noticed the giant error logs!)
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7909
The logs indicate some connections are failing, but I don't know for which actions (as you haven't noticed any issues).
A deeper look to logs would be needed, to try to find the situations where error is triggered.
Please Log in or Create an account to join the conversation.
- Lisa Norman
- Topic Author
- Offline
- Premium Member
-
- Posts: 129
I'm still getting a couple of undefined index warnings in Joomla, but nothing like the tons of errors I was getting with the slash...
Please Log in or Create an account to join the conversation.