[SOLVED] Login failures in Joomla plus no http connections

  • Bob Hoskins
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 8 months ago - 12 years 7 months ago #1 by Bob Hoskins
Joomla 3.1.5 / php 5.4.17 / mysql 5.1.7 / centos 6.4 / moodle 2.5.1

I have double checked my joomdle installation twice - both moodle and joomla are set up correctly as far as I can tell. I have successfully used joomdle before (with joomla 2.5) on a different server.

Health check says everything is OK, including Joomdle web services, except for joomdle-moodle connectivity and moodle-joomdle connectivity.

Problem: With joomdle enabled in joomla, I cannot login to joomla's front end. I get a 500 error from this page: mrevans.info/moodle/auth/joomdle/land.php . If I disable joomdle, login to joomla, enable joomdle, and try to logout I get a 500 error from this page: mrevans.info/moodle/auth/joomdle/land_logout.php .

I can sync users from joomla to moodle and I can login to moodle directly.

What can I do to try to solve this problem?

Thanks.
Last edit: 12 years 7 months ago by Bob Hoskins. Reason: Problem solved
The topic has been locked.
More
12 years 8 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Login failures in Joomla plus no http connections
Check server logs to see what is causing the Error 500.
The topic has been locked.
  • Bob Hoskins
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago #3 by Bob Hoskins
I looked at the error logs and found that all failures were due to files/directories being "writeable by group".

I used chmod to fix this as follows:

directories to 755
files to 644

in moodle/auth/joomdle


After this, health check is all green and no more errors.

For anyone unsure how to use chmod to do this, check out this link:

superuser.com/questions/91935/how-to-chm...-no-file-recursively



Thanks for a great extension!
The topic has been locked.
More
12 years 7 months ago - 12 years 7 months ago #4 by Antonio Durán
Thanks for sharing back your results.

I noticed this happened to me once, so I will try to fix permissions in the package for next release.
Last edit: 12 years 7 months ago by Antonio Durán.
The topic has been locked.