[Closed] XML-RPC(404): Unknown error - Joomdle User Search

  • Ron Wells
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 years 8 months ago - 13 years 6 months ago #1 by Ron Wells
Joomla 2.5.6
Joomdle 0.82
Moodle 2.3.1
Connect Method cURL
Additional Data Source :JomSocial
Shop Integration: Hikashop
Profile Types XIPT
System Check - All green check marks
____________________________________

Receiving Error: XML-RPC Error (404): Unknown error with blank screen when I try to do a search in component Joomdle -> Users. I am not seeing any additional error reports in the error.php file (public html folder or admin joomdle component folder). Also nothing is reported with debug turned on.

Any idea what may be causing this? I can page through to other users i.e. 20 at a time. This only happens when I perform a search while in the User screen of the Joomdle component.

Thanks,
Ron
Last edit: 13 years 6 months ago by Chris.

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

  • Ron Wells
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 years 8 months ago - 13 years 8 months ago #2 by Ron Wells
Here is Firebug Error for page:
www.mydomain.com/administrator/index.php...m_joomdle&view=users
________________


No Javascript on this page

If <script> tags have a "type" attribute, it should equal "text/javascript" or "application/javascript". Also scripts must be parsable (syntactically correct).

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.
Last edit: 13 years 8 months ago by Ron Wells.

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

More
13 years 8 months ago #3 by Antonio Durán
Thanks for the tip.

I checked and can confirm a problem with search function. I fixed it for next release.

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

  • Ron Wells
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 years 7 months ago #4 by Ron Wells
Antonio - is it a quick code modification that I could do on my side or more involved? With over 1000 students and parents, we are needing to sync multiple times a day as our enrollment changes. Paging through everyone to find the student is taking quite a while...

Thanks for the help,
Ron

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

More
13 years 7 months ago #5 by Iliya
Hi!
I have same error, but joomla give me XML-RPC Error (0) error.
I hope, that you fix it soon.

Thank you!

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

More
13 years 7 months ago #6 by Antonio Durán
Hi.

It think you only need to change one line in auth.php on moodle side, function get_moodle_users_number.

Change:
Code:
AND((username like $search) OR (email like $search) OR (firstname like $search) OR (lastname like $search))");

By:
Code:
AND((username like '%$search%') OR (email like '%$search%') OR (firstname like '%$search%') OR (lastname like '%$search%'))");

I think that's the only thing I changed for fixing this. If it still does not work, let me know and I will try to take a deeper look.

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

More
13 years 7 months ago #7 by Iliya
It's working now!

Big thanks! :)

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

  • Ron Wells
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
13 years 7 months ago #8 by Ron Wells
It is fixed! ...small "thank you" donation on its way...

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

More
13 years 7 months ago #9 by Antonio Durán
Thank you Ron, it's really appreciated!

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

  • Ivan
  • New Member
  • New Member
More
13 years 6 months ago #10 by Ivan
Hi,
I'm getting the same error message exactly there, performing user search from component admin interface.

I edited the line in file you've suggested but error is still there.

Any suggestions how to debug? Thanks.

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