Ok, so here is another problem:
Once I login using Elgg, go to tools>Vanilla Forum, I reach the main page for Vanilla. Since this is a fresh install, there are no discussions listed.
On the top left corner, there is a textual link for "Start a new discussion", but noce I click on it, it take me to a page and I get an error:
"You cannot take part in the discussions because you are not signed in."
So, I do not believe that Vanilla is registering the initial login action via Elgg. Is there a fix for this? I read an older post, but apparently there was not final resolution:
http://community.elgg.org/mod/groups/topicposts.php?topic=263986&group_guid=140681
Let me know if anyone knows what's up?
Thanks!
Paul
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Kevin Jardine@kevin

Kevin Jardine - 0 likes
- paulespino@paulespino

paulespino - 0 likes
- Kevin Jardine@kevin

Kevin Jardine - 0 likes
- paulespino@paulespino

paulespino - 0 likes
- Kevin Jardine@kevin

Kevin Jardine - 0 likes
- paulespino@paulespino

paulespino - 0 likes
- wildabdat@wildabdat

wildabdat - 0 likes
- Shouvik Mukherjee@shouvik

Shouvik Mukherjee - 0 likes
You must log in to post replies.I've no idea at this point.
You could put error_log() statements in
mod/vanillaforum/vanilla/library/People/People.Class.Authenticator.php
That is the special version of the file that comes with the plugin. It reads the Elgg cookie and (normally) logs the user into Vanilla using that information.
Kevin,
So apparently this is a cookie issue, right?
My Elgg is hosted at http://mydomainname.com/network
and the vanilla forum is at:
http://mydomainname/network/mod/vanillaforum/vanilla/
Do you think that this may be the issue? That the Elgg is not hosted at the root?
What do you think? It seems that I may be the only one experiencing this.
thanks!
I tested the code with subdirectories (I develop on localhost) and it worked fine for me.
So it could be a cookie issue on your server, but I'm not sure that the subdirectory matters.
Could you use error_log() to determine if the code is acquiring and decrypting the cookie?
Kevin,
I opened the file mentioned:
mod/vanillaforum/vanilla/library/People/People.Class.Authenticator.php
But I was unable to figure you if I just need to crop in the error_log() anywhere...
Do you have a suggestion for what line # I should add this into?
Let me know :)
I suggest you log the $username after
$username = $elgg_user['username'];
(line 156)
Kevin,
I opened the file mentioned:
mod/vanillaforum/vanilla/library/People/People.Class.Authenticator.php
But I was unable to figure you if I just need to crop in the error_log() anywhere...
Do you have a suggestion for what line # I should add this into?
Let me know :)
hi check this following link
http://community.elgg.org/mod/groups/topicposts.php?topic=469872&group_guid=140681
Yes, I experience this problem too. I am on my WAMP server.