Joomla and Moodla XML-RPC Error (404) - php

I'm working on doing integration between Moodle 2.x and Joomla 2.5.x using the Joomdle, but when user try to register in the joomla, the system show this error message
XML-RPC Error (404): Unknown error

I faced the same problem after upgrading the joomdle.
You can check the following post-
http://www.joomdle.com/wiki/Upgrading
Remove old auth/joomdle folder and put new one in place Visit Moodle
Notifications Go to Administration -> Plugins-> Web Services ->
External Services, select Joomdle and go to Functions, to add any new
one that the new version may have.
The part I was missing is to add functions.And because of this I was getting XML-RPC Error (404): Unknown error.
I followed this-
Plugins->External Services->Joomdle->Functions->add
and select all functions started from joomdle as shown in below post.
http://www.joomdle.com/wiki/Installing_Joomdle_in_Moodle_2#Add_functions_to_service
Hope this will help someone.

Related

Error "Couldn't reach API" when I try to log in

I install Directus CMS via git clone successful. In the database 15 tables were created. In /config folder my projectkey.php file were created too.
After installation I want to login with my credentials and get the error "Couldn't reach API".
In PHP Error log -> no entry
In Directus log -> no entry
REST calls:
authenticate/ -> Code 200; Response: data/user
projectkey/ -> Code 200; Response: data/api
ping/ -> Code 200; Response: Pong
In a working instance I have seen that in API Call projectkey/ are more properties. For example data/server is missing in my instance.
Does anyone have any idea what this could be?
Version 8.5.X solved my problem
I had the same error and found the solution in the project's corresponding issue:
Check that you're using HTTPS on webservers and local... that is a new requirement added in 8.7.2 due to a cookie policy change by Chrome et al. If it STILL is an issue, please open a new ticket with exact/specific information. Thanks! šŸ‘
Also, just as a reminder, this is a VERY generic error and could shown for several different root causes. More specific error handling/codes is something we're adding in v9.
Enabling SSL fixed it for me.

Errors while upgrading joomla 2.5 to 3.x.x

I attempted to upgrade from joomla 2.5.11 to 3.2.3 which is latest right now. First of all I checked and upgraded all extensions - CB, k2, kunena, xmap (I did not upgrade xmap as I got errors so I left it, little one not important) to latest by going extensions manager -> update tab. Then going components-> joomla-> update update to 3.2.3. The update finished but I got an error about remember.php and could not access admin panel.
Getting suggestions from Fatal error when updating joomla from 3.1.1 to 3.2.2 , I uploaded a joomla 3.2.3 package's remember.php file in /plugins/system/remember/ folder backing up previous file.
But I got another error -
Fatal error: Call to undefined method RuntimeException::get() in
/home/techhe97/public_html/libraries/joomla/error/error.php on line
797
So, can't access admin panel all the way.

removing reference to googlesitemaps in silverstripe

I've recently moved a silverstripe site to a new server. Since then it's bringing up the error:
Fatal error: Class 'SiteTreeDecorator' not found in /home/priorysc/public_html/googlesitemaps/code/GoogleSitemapDecorator.php on line 9
I try removing the googlesitemaps folder, but then it just brings up the error that it can't find the googlesitemaps _config file. Is there any way I can remove the reference to googlesitemaps, or failing that just get the thing to work?
I'm a fairly verse php coder but I don't know that much about silverstripe as it's just been dumped on me.
Anyone know? I'm tearing my hair out over this!
-James
SiteTreeDecorator was a class that existed in v2.4 of SilverStripe, the fact that the error is saying it doesn't exist tells me you're running v3.0 or higher. Double check which version of SilverStripe you're running, then update the 'googlesitemaps' module to the appropriate version:
SilverStripe v3.0: https://github.com/silverstripe-labs/silverstripe-googlesitemaps/tree/1.1
SilverStripe v3.1: https://github.com/silverstripe-labs/silverstripe-googlesitemaps/tree/master

Call to undefined method sfApplyApplyForm::isCaptchaEnabled

Iā€™m getting a funny error after I deploy a fully working symfony project to my web host (hostgator). Everything works fine on my localhost.
Hereā€™s the error:
500 | Internal Server Error | sfException
Call to undefined method sfApplyApplyForm::isCaptchaEnabled.
Hereā€™s what Iā€™m using:
Symfony 1.4
Doctrine 2.0
sfForkedDoctrineApplyPlugin - for
registering new users with:
sfDoctrineGuardPlugin - for
authentication
I get the error when I click the ā€œRegisterā€ link.
Obviously, the form is Captcha enabled. Iā€™ve tried turning it off in config/app settings with no change in error. Iā€™ve also confirmed that my public and private keys are correct and registered... Iā€™ve even updated them with no change in error msg.
A search on Google brings up nothing helpful.
Any ideas about where to begin troubleshooting?
To correct this problem I just copied the isCaptiaEnabled() method from the plugin to the model class where I embedded the plugin form. I believe I had to also copy a couple of other methods over as well. But as soon as I did that, the errors never came back.

Login "An Error has Occurred"

I am having an issue when upgrading from Facebook's PHP SDK version 2.1.2 to 3.1.1 in anticipation for the Oct 1, 2011 cutoff. The url appears to have changed:
FROM
https://www.facebook.com/login.php?api_key=MY_KEY
TO
https://www.facebook.com/dialog/oauth?client_id=MY_KEY
Everytime I generate the new URL I keep receiving "An error occurred with Website. Please try again later."
I have searched the wiki/faq on Github page for sdk, but haven't found anything.
Anyone else having this issue?
I had this exact same problem while converting a Connect application. I figured it out! Connect used the application KEY (which is alphanumeric). The new API / oAuth requires the application ID (which is shorter and numeric). An invalid application ID consistently returns this generic error. Hope this helps.
Just in case someone else has this same issue you can also try disabling sandbox mode on your app's config settings on facebook. My scenario was that I could login using facebook but no one else could.

Categories