- Posts: 7
Joomdle 1.0 Installation
Error Can not find data record in database table external_fu
- Irfan
- Offline
- New Member
-
Less
More
9 years 9 months ago #11
by Irfan
Replied by Irfan on topic Error Can not find data record in database table external_fu
It looks like PHP version is the issue. We changed the php version to 5.6.22 from the cpanel (php configuration) provided by hosting provider and it worked for us. It also worked on 5.6.19.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 9 months ago #12
by Antonio Durán
Replied by Antonio Durán on topic Error Can not find data record in database table external_fu
You all are using Moodle 3.1 right?
I would think that the problems with PHP may come from the new implementation of the xmlrpc server in Moodle, as that's the inly thing that's really changed, and I never saw this problem before.
I am using 5.5.9 in this machine, and it works fine.
I would think that the problems with PHP may come from the new implementation of the xmlrpc server in Moodle, as that's the inly thing that's really changed, and I never saw this problem before.
I am using 5.5.9 in this machine, and it works fine.
Please Log in or Create an account to join the conversation.
- Irfan
- Offline
- New Member
-
Less
More
- Posts: 7
9 years 9 months ago #13
by Irfan
Replied by Irfan on topic Error Can not find data record in database table external_fu
Yes, it's 3.1 in my case. I have also posted this question on Moodle forum but did not get anything right now.
moodle.org/mod/forum/discuss.php?d=322332&parent=1351388
moodle.org/mod/forum/discuss.php?d=322332&parent=1351388
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 9 months ago #14
by Antonio Durán
Replied by Antonio Durán on topic Error Can not find data record in database table external_fu
Probably yoy won't get anything there, as it is an old thread.
Maybe you can try one thing. Try the tesing instructions in this issue:
tracker.moodle.org/projects/MDL/issues/M...?filter=reportedbyme
with different PHP versions. That way we can know if the problem is with Moodle itself, and we could report it so they can fix it.
Don't care about the special chars stuff, it's just that it shows how to test web service easily.
Maybe you can try one thing. Try the tesing instructions in this issue:
tracker.moodle.org/projects/MDL/issues/M...?filter=reportedbyme
with different PHP versions. That way we can know if the problem is with Moodle itself, and we could report it so they can fix it.
Don't care about the special chars stuff, it's just that it shows how to test web service easily.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 9 months ago #15
by Antonio Durán
Replied by Antonio Durán on topic Error Can not find data record in database table external_fu
Hi again.
I finally found the time to set up a new PHP 7 system, and could replicate the problem you were having.
It seems the fix is easy, so you can try to do it if you want.
Just edit one file: /administrator/components/com_joomdle/helpers/content.php
In function: get_request
Change in each line:
By:
Notice the only change is to add - to change utf8 to utf-8.
You need to do this in all similar lines (6 of them).
I finally found the time to set up a new PHP 7 system, and could replicate the problem you were having.
It seems the fix is easy, so you can try to do it if you want.
Just edit one file: /administrator/components/com_joomdle/helpers/content.php
In function: get_request
Change in each line:
Code:
$request = xmlrpc_encode_request("joomdle_".$method, array (), array ('encoding' => 'utf8'));
Code:
$request = xmlrpc_encode_request("joomdle_".$method, array (), array ('encoding' => 'utf-8'));
Notice the only change is to add - to change utf8 to utf-8.
You need to do this in all similar lines (6 of them).
Please Log in or Create an account to join the conversation.
- fabricio
- Offline
- New Member
-
Less
More
- Posts: 6
9 years 9 months ago #16
by fabricio
Replied by fabricio on topic Error Can not find data record in database table external_fu
Please Log in or Create an account to join the conversation.
- fabricio
- Offline
- New Member
-
Less
More
- Posts: 6
9 years 9 months ago #17
by fabricio
Replied by fabricio on topic Error Can not find data record in database table external_fu
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 9 months ago #18
by Antonio Durán
Replied by Antonio Durán on topic Error Can not find data record in database table external_fu
Thanks for the info.
However, in my PHP 7.0, I get all green ticks, so this may be caused by something else.
Are you testing with the same installation, only changing PHP version?
However, in my PHP 7.0, I get all green ticks, so this may be caused by something else.
Are you testing with the same installation, only changing PHP version?
Please Log in or Create an account to join the conversation.
- fabricio
- Offline
- New Member
-
Less
More
- Posts: 6
9 years 9 months ago #19
by fabricio
Replied by fabricio on topic Error Can not find data record in database table external_fu
Hello Antonio,
That's exactly what I did !!! I just changed the version of PHP.
Thank you again,
Fabricio .
That's exactly what I did !!! I just changed the version of PHP.
Thank you again,
Fabricio .
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 9 months ago #20
by Antonio Durán
Replied by Antonio Durán on topic Error Can not find data record in database table external_fu
Try opening this url in your browser:
http://YOUR_SITE/components/com_joomdle/connection_test.php
http://YOUR_SITE/components/com_joomdle/connection_test.php
Please Log in or Create an account to join the conversation.