Timeline for Unable to change sites in cp - logs out admin
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2014 at 21:59 | vote | accept | Scott Fleming | ||
Jun 17, 2014 at 21:59 | |||||
Jun 13, 2014 at 16:00 | comment | added | Derek Jones |
Not if you want them to share cookies. They should all have a cookie domain of .example.com with no cookie path if you want them to all share cookies and have a single sign-on.
|
|
Jun 13, 2014 at 15:17 | comment | added | Scott Fleming | So, I should be setting the cookie_path in each sites index.php file? | |
Jun 11, 2014 at 20:17 | comment | added | Derek Jones | Cookie Path would only be necessary if you are running EE from a subfolder in the URL and need to separate them. What about the Cookie Domains? Do they match exactly? | |
Jun 10, 2014 at 21:21 | comment | added | Scott Fleming | Sorry, cookie_path is what I meant. I noticed when I put a valid path, nothing works, not even the login for the main site. When values are empty, I can at least login to the admin main site, but still cannot change to the other sites. | |
Jun 9, 2014 at 21:03 | comment | added | Derek Jones | Cookie folder? Also these config values should be set in the file itself, and will override your database settings, so you do not need to tamper with exp_sites to debug this. | |
Jun 9, 2014 at 15:18 | comment | added | Scott Fleming | Changed settings in the config editor, and set the cookie domain and path. Checked to make sure the cookie folder was correct, and permissions set to be writable. After saving the changes, I was unable to change sites within CP, and after logout, I was unable to login again to main CP, getting "This Form Has Expired Error". exp_sites table in db, deserialized, made edit to reverse what was changed, and I am able to log in, but not change sites, as before. | |
Jun 6, 2014 at 23:37 | history | answered | Derek Jones | CC BY-SA 3.0 |