Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This warning message appears when i configure my smfforum module.
"You are not authenticated in SMF yet. Please login to SMF and test again. You may refresh settings!"
i have log in both drupal and smf.
Comments
Comment #1
vb CreditAttribution: vb commentedIt is not bug. It is a normal feature.
It is a qookie test that module performs to detect if you are authorized by the cookie that SMF or smfforum.module sets when you are logged in.
First of all see comment about smfforum-5.x-1.x-dev.tar.gz February 12, 2007 - 03:14
http://drupal.org/node/112116#comment-199391
The test shows that something wrong with the qookie or your SMF and Drupal domains are different or have layout that smfforum.module not supports.
Comment #2
vb CreditAttribution: vb commentedThe qookie authetication test shows if smfforum.module authenticates you on the forum with the qookie.
To pass this qookie authetication test you should:
1) login in SMF with this admin password
2) login in Dupal with this admin password
3) Go to SMFforum settings and see 4 line (or refresh the browser if you are already in there)
See radio buttons. You may choose Test and save settings.
If you see red line that means that something wrong with the qookie and smfforum.module treats you as unauthenticated.
The advanced sync features could be benefit from the smfforum.module if the test is passed.
smfforum.module will work without some of this features which automatically will be switch on if cookie will function properly
The typical layout for integration with smfforum.module is:
Drupal
http://example.com
SMF
http://example.com/forum
or
http://forum.example.com
smfforum.module does not work on different domains like
http://yourdrupalsite.com
http://yoursmfforum.com
Another layouts may need tuning.
What you may do:
1) Check if your cookie is enabled at all.
2) Login in SMF and see in the browser, is there cookie like SMFCookie291 (number may differ)
3) Try to check or uncheck this in SMF Admin/Server settings/Feature Configuration
(on http://vgb.org.ru/forum it is unchecked)
Help Enable local storage of cookies X
(SSI won't work well with this on.)
Help Use subdomain independent cookies X
(turn off local cookies first!)
4) look at drupal settings.php
Comment #3
vb CreditAttribution: vb commentedSee URL issue
http://drupal.org/node/112116#comment-199753
Comment #4
el_rob CreditAttribution: el_rob commentedHello
Had the same problem and spent hours trying to get it to work on my xampp test environment. Somehow the cookie just didn't get set. Finally I found a hint in another forum, that when working with http://localhost/, cookies aren't set correctly! The solution: Change http://localhost/ to http://127.0.0.1/ and this mod works like a charm!!!
Hope to helps!
Rob
Comment #5
vb CreditAttribution: vb commentedEnsure that these settings were unchecked
(on http://vgb.org.ru/forum it is unchecked)
Help Enable local storage of cookies
(SSI won't work well with this on.)
Help Use subdomain independent cookies
(turn off local cookies first!)