- Posts: 7
Joomdle 1.0 Installation
Joomdle hook User plugin conflicting with another user plugi
- breebee2
- Topic Author
- Offline
- New Member
-
Less
More
8 years 10 months ago #1
by breebee2
Joomdle hook User plugin conflicting with another user plugi was created by breebee2
Hello, I have another user plugin that conflicts with joomdle for WHMCS. If i disable one of the user plugins the other one works and vice versa. Which ever one is in the plugin order first when both enabled will work leaving the other one not working. So far i have tried many things like changing do login, onuserafterlogin for either one to see if they stop conflicting however I suspect that its because both plugins are doing a redirect to authenticate resulting in the secondary plugin not working. The only solution i could think of is to se joomdle SSO redirectless setting on and use cURL however i am unable to get it to work. I have looked in other thread about this issue however i cannot get joomdle to work using redirectless SSO. Any guidence would be appreciated, php tmp folders are set.
NGINX
PHP 7.0
Latest joomla joomdle moodle
NGINX
PHP 7.0
Latest joomla joomdle moodle
Please Log in or Create an account to join the conversation.
- breebee2
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
8 years 10 months ago #2
by breebee2
Replied by breebee2 on topic Joomdle hook User plugin conflicting with another user plugi
Ok I have resolved the issue which many people seem to keep having. The cookie path is NOT relative to joomla and moodle but rather to NGINX or APACHE. For instance this was my settup
joomla = mysite.com/joomla/
moodle= mysite.com/joomla/moodle/
joomla joomdle cookie path:
/moodle/
moodle session handler cookie path:
/joomla/moodle/
So the correct joomla joomdle is also relative to the root of the site not to the instalation so correct cookie path for both moodle and joomla is
joomla joomdle cookie path:
/joomla/moodle/
moodle session handler cookie path:
/joomla/moodle/
To set the cookie path in joomlas joomdle go to components -> joomdle ->configuration
To set the cookie path in moodle go to Moodle->Site Administration->Server->Session Handling
**Remember to add the slashes correctly
joomla = mysite.com/joomla/
moodle= mysite.com/joomla/moodle/
joomla joomdle cookie path:
/moodle/
moodle session handler cookie path:
/joomla/moodle/
So the correct joomla joomdle is also relative to the root of the site not to the instalation so correct cookie path for both moodle and joomla is
joomla joomdle cookie path:
/joomla/moodle/
moodle session handler cookie path:
/joomla/moodle/
To set the cookie path in joomlas joomdle go to components -> joomdle ->configuration
To set the cookie path in moodle go to Moodle->Site Administration->Server->Session Handling
**Remember to add the slashes correctly
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
8 years 10 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Joomdle hook User plugin conflicting with another user plugi
Great to know that you got it working, thanks for the info.
For reference, we have this in the docs for the moodle cookie path field:
This option is only needed for redirect-less SSO. You will need to copy here the value that you can find in the Cookie path setting in Moodle->Site Administration->Server->Session Handling.
For reference, we have this in the docs for the moodle cookie path field:
This option is only needed for redirect-less SSO. You will need to copy here the value that you can find in the Cookie path setting in Moodle->Site Administration->Server->Session Handling.
Please Log in or Create an account to join the conversation.