Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout is broken (Trac #1450) #1450

Closed
elgg-gitbot opened this issue Feb 16, 2013 · 20 comments
Closed

Logout is broken (Trac #1450) #1450

elgg-gitbot opened this issue Feb 16, 2013 · 20 comments

Comments

@elgg-gitbot
Copy link

Original ticket http://trac.elgg.org/ticket/1450 on 40059058-02-01 by trac user gv, assigned to unknown.

Elgg version: Github Master

After updating from Rev 3819 to Rev 3822 the logout does not work anymore. Error message: Form is missing __token or __ts fields
No possibility to logout!

@elgg-gitbot
Copy link
Author

brettp wrote on 40059205-10-26

Are you using pure core or 3rd party themes / plugins?

@elgg-gitbot
Copy link
Author

trac user gv wrote on 40059410-06-20

I use some 3rd party plugins with elgg standard theme (see screenshot). I can`t disable any plugins. Error message: Form is missing __token or __ts fields

@elgg-gitbot
Copy link
Author

Attachment added by trac user gv on 40059415-04-14: tooladmin.jpeg

@elgg-gitbot
Copy link
Author

brettp wrote on 40062869-07-29

Please try on most recent SVN.

@elgg-gitbot
Copy link
Author

trac user gv wrote on 40063078-04-12

Replying to brettp:

Please try on most recent SVN.

I beg your pardon??
I have updated to latest Rev (core & plugins) and it messed up the whole site. No logout or plugin disabling possibility. Search field in topbar is broken, owner blocks are broken, customer_index is totally broken all 3rd party plugins are broken and so on. To many irreparable errors for my liking. I'm sure the user will love the update to 1.7! ;-) I think it's a recipe for disaster. cheers

@elgg-gitbot
Copy link
Author

davetosh wrote on 40064012-10-23

gv you need to understand that SVN is code that is being worked on daily, it is not a stable release. It is not for use on production sites and you should expect that there will be issues as features, improvements and bugs are worked through. Once those issues are resolved, that is when an official release goes out for general consumption.

The reason Brett asked you to try the most recent SVN is because he is working on the core and in all likelihood will have sorted a number of the issues reported.

From your comments, may I suggest you might be better off sticking to the official releases?

@elgg-gitbot
Copy link
Author

trac user thomas wrote on 40067069-06-22

In current SVN there is no error on logout anymore, but I'm still unable to log out from elgg. I will be forwarded to the dashboard. Perhaps you could check this issue.

@elgg-gitbot
Copy link
Author

trac user gv wrote on 40067320-07-06

Replying to dave:

gv you need to understand that SVN is code that is being worked on daily, it is not a stable release. It is not for use on production sites and you should expect that there will be issues as features, improvements and bugs are worked through. Once those issues are resolved, that is when an official release goes out for general consumption.

The reason Brett asked you to try the most recent SVN is because he is working on the core and in all likelihood will have sorted a number of the issues reported.

From your comments, may I suggest you might be better off sticking to the official releases?

Dave I know what SVN means!!! I just playing and testing arround with SVN. I have no production site, I just wanted to help you with reporting a issue!!! After your reaction I think negative things are not desired or you did not understand me right!? I do not know??

@elgg-gitbot
Copy link
Author

trac user gv wrote on 40067331-04-15

Replying to thomas:

In current SVN there is no error on logout anymore, but I'm still unable to log out from elgg. I will be forwarded to the dashboard. Perhaps you could check this issue.

thomas I still have the problem on current Rev/SVN?!? What am I doing wrong? I think a 3rd party plugin detaches the problem but I can`t disable any plugin over the pluginmanager.

@elgg-gitbot
Copy link
Author

trac user thomas wrote on 40067693-05-23

Replying to brettp:

Please try on most recent SVN.

I disabled all non-core plugins by deleting them from the /mod folder, but I'm still unable to log out from elgg.

@elgg-gitbot
Copy link
Author

brettp wrote on 40067964-02-11

thomas - Can you run upgrade.php and try again? If there is still a problem, please email me a diagnostic report.

@elgg-gitbot
Copy link
Author

trac user thomas wrote on 40068239-11-02

The problem still exists in a complete fresh installation.

@elgg-gitbot
Copy link
Author

trac user TD wrote on 40068331-03-01

CONFIRMED, the problem is extended to most actions that require tokens on my site. Including logging in, logging out, disabling and enabling plugins.

Site Status:

On my system, I am running the latest stable versions of php, apache, and mysql on Mac OS X.
Most recent SVN (as of 10 mins ago). NO additional plugins or modifications to code.
The install root of elgg is at www.website.com/HERE
not www.website.com/

As a quick workaround to fix this problem, you can edit
/engine/lib/actions.php

comment out line 176 so it reads
//register_error(elgg_echo('actiongatekeeper:missingfields'));

then create another line below that line and enter the following code:

return TRUE;

this will disable the missing tokens. and is only intended to be a temporary fix.

@elgg-gitbot
Copy link
Author

trac user TD wrote on 40068345-07-20

Also, intermittently when re-visiting the site, I have to delete the browser cookies. Otherwise the page will not load.

@elgg-gitbot
Copy link
Author

brettp wrote on 40068354-02-19

TD This is an extremely bad idea. Please add a hack to disable tokens as that completely defeats the purpose of testing the latest SVN. I am working on a solution for this, but have thus far been unable to reproduce it so there's some guesswork involved. Again, please DO NOT disable security tokens if you are testing SVN.

@elgg-gitbot
Copy link
Author

brettp wrote on 40068357-06-30

Sorry: "Please DON'T add a hack to disable tokens as that completely defeats the purpose of testing the latest SVN."

@elgg-gitbot
Copy link
Author

brettp wrote on 40068360-08-31

(In [svn:3838]) Refs #1450, Refs #1461, Refs #1460: Install now clears out views caches.

@elgg-gitbot
Copy link
Author

trac user TD wrote on 40068371-09-10

Sorry, I was just trying to help him get his site back up. (not as a permanent fix).

I have discovered the problem is related to how the browser stores cookies.
If you delete your cookies you can perform an action. But you have to delete your browser cookies again otherwise you get the "Form is missing __token or __ts fields" error. So another temporary fix would be to delete your browser cookies before performing every action. Hope it helps you solve this one. Thanks, and keep up the good work (:

@elgg-gitbot
Copy link
Author

brettp wrote on 40068381-10-20

TD What browser are you using and can you email me a copy of your diagnostics report?

@elgg-gitbot
Copy link
Author

brettp wrote on 40070592-02-14

(In [svn:3840]) Fixes #1450, Fixes #1461: Using $_SERVER['REQUEST_URI'] to pull in GET params on apache servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant