Joomdle 1.0 Installation

Error Can not find data record in database table external_fu

More
9 years 9 months ago #11 by Irfan
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.

More
9 years 9 months ago #12 by Antonio Durán
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.

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

More
9 years 9 months ago #13 by Irfan
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

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

More
9 years 9 months ago #14 by Antonio Durán
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.

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

More
9 years 9 months ago #15 by Antonio Durán
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:
Code:
$request = xmlrpc_encode_request("joomdle_".$method, array (), array ('encoding' => 'utf8'));
By:
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.

More
9 years 9 months ago #16 by fabricio
Hi Antonio,

You solve my problem with the last red check, but you open the red check in another place... kkkk, look the picture:

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

More
9 years 9 months ago #17 by fabricio
Very nice,

At PHP 5.6, 5.5 and 5.4 it is beautifull ... The error occurs at PHP 7.0.

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

More
9 years 9 months ago #18 by Antonio Durán
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?

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

More
9 years 9 months ago #19 by fabricio
Hello Antonio,

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.

More
9 years 9 months ago #20 by Antonio Durán
Try opening this url in your browser:
http://YOUR_SITE/components/com_joomdle/connection_test.php

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