Error on joomla login

  • negate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 3 weeks ago - 15 years 3 weeks ago #1 by negate
Error on joomla login was created by negate
First of all just want to thank everyone involved in this great component.

I have read and doubled checked all install procedures.

I had one problem with install, and had to add the code below in joomdle.php to get all the system checks in joomla

"return true;
return ($request_ip == $moodle_ip);"

Users can log into moodle but when they log into joomla the following error is displayed

"Forbidden

You don't have permission to access /moodle//auth/joomdle/land.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

The url is appended with the following

/moodle//auth/joomdle/land.php?username=ruan&token=*removed*&use_wrapper=0&create_user=0&wantsurl=http%3A%2F%2Feducation.info.com%2F
Last edit: 15 years 3 weeks ago by negate.

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

More
15 years 3 weeks ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Error on joomla login
Hi.

Maybe you have some htaccess file or something, preventing access to that location?

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

  • negate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 3 weeks ago - 15 years 3 weeks ago #3 by negate
Replied by negate on topic Re: Error on joomla login
I noticed now that the joomdle connecter user I created in moodle has the same email adress as a user in my joomla website. Could this have affected the linking of joomla and moodle?

I deleted that user from joomla and added the joomdle connecter user from the joomdle compononet in joomla.

My htaccess does not restrict access to the location, it's very standards I'm using hostgator.
Last edit: 15 years 3 weeks ago by negate.

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

More
15 years 3 weeks ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Error on joomla login
No, the error reported can't have anything to do with duplicate emails....

Just try to open the url directly in the browser (site.com/moodle//auth/joomdle/land.php) and see what happens.

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

  • negate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 3 weeks ago #5 by negate
Replied by negate on topic Re: Error on joomla login
Doing that directly I get the following error and I then get redirected to the moodle site

Incorrect access detected, this server may be accessed only through " education.infoandtruth.com/moodle " address, sorry.
Please notify server administrator.

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

More
15 years 3 weeks ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: Error on joomla login
So, it seems you have moodle configured in an adress (with www) and the you configured Joomdle to use another one (without www).
Change Joomdle config and it should work.

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

  • negate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 2 weeks ago - 15 years 2 weeks ago #7 by negate
Replied by negate on topic Re: Error on joomla login
Both config in joomla and moodle were without the www. I added the www in joomdle config and I also added it in authentication on moodle. Got the same error on login. I did however get another error when I tried logging out with the www added:

"Incorrect access detected, this server may be accessed only through " education.infoandtruth.com/moodle " address, sorry.
Please notify server administrator." <-- this after I changed it to www.

I cant find in moodle where the moodle adress is defined with the www?

Removing the www from both config locations and I only get the login error.

I doubled checked accesing education.infoandtruth.com/moodle//auth/joomdle/land.php directly, and when I go to this adress I get redirected to the joomla site without errors.

Can this problem be related to the fact the the site is hosted on a sub-domain? I have not yet moved the site to its final domain as im still developing.

Looking at my FTP I saw a "moodledata" in the root of my public_html folder. Shouldnt this be in my subdomain?
Last edit: 15 years 2 weeks ago by negate.

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

  • negate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 2 weeks ago #8 by negate
Replied by negate on topic Re: Error on joomla login
Hi I found the problem, I used a facebook module to log into the site. If I log in normally I get no error messeages :-)

Now I need to figure out ho to see topics on my joomla site

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

More
15 years 2 weeks ago #9 by Chris
Replied by Chris on topic Re: Error on joomla login
Yes, there is currently no facebook login module that integrates with Joomdle.

For your topics, as long as you have the two connected properly, showing topics is just a matter of creating a menu item that points to the course topics.

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