Closed (works as designed)
Project:
Twitter
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2011 at 11:15 UTC
Updated:
29 Nov 2012 at 09:22 UTC

activate twitter module and go to edit my account and I can't add a new account. clearing cache solves it
| Comment | File | Size | Author |
|---|---|---|---|
| screenshot - 191111 - 11:45:06.png | 8.26 KB | rodrigoaguilera |
Comments
Comment #1
jonhattanClearing cache does fix it.
Comment #2
jonhattanIt seems to happen only after a fresh install. I was unable to reproduce it by disable-uninstall-reinstall the module.
Comment #3
robertcottrell commentedSame problem. Clearing cache did it for me too. Thanks!
Comment #4
gamelodge commentedSame happened to me.
Clear Cache did not help
Uninstall and re-install did help.
Comment #5
hermes_costell commentedHad same problem with 7.x-3.0-beta4 just now - the form element didn't show up to add the Twitter user name. After a cache clear it did, however.
Comment #6
bloyo commentedI'm still having problems. No matter what i do (drush cc, drush dl dev-version, pm-uninstall)
Field for putting in twitter account name is not visible.
#added - After disabling oAuth module, there is posible to add twitter accounts, enabling oAuth back will disable adding new accounts, but the one's added before, remains. Is this normal workflow ?
Comment #7
florisla commentedEncountered this issue too, on 7.x-3.0-beta4. Clearing the cache fixed it.
Got a Drupal 'Allowed memory size ... exhausted' error right after enabling the Twitter module, which might explain why a cache clear was necessary. I increased the memory limit afterwards.
Comment #8
drupal centric commentedI had the same issue using 6.x-3.0-beta9, disabling Oauth and all but the main Twitter module displayed the field.
Comment #9
juampynr commentedIt happened to me too. I have no idea why this could be happening so I would appreciate some more feedback.
Comment #10
Slovak commentedIf clearing cache doesn't fix it, disable and uninstall all Twitter modules. Go into database and delete the following tables: twitter, twitter_account
Now go back, enable modules, and rejoice.
Comment #11
xurizaemonI'm not sure why the weirdness with that form. I've read through the current state in 7.x-3.x and it looks workable to me. Please check if you see the same behaviour in the current dev?
Depending on some setup, you can see one of two forms at user/%/edit/twitter. If OAuth isn't enabled and configured (checked by
_twitter_use_oauth()) then Twitter module gives a UI to add accounts to follow without authentication. I wasn't expecting that functionality to still work, but it does!That's the mode where you'll see the textfield, and so it's only in this case where you can follow arbitrary (non-private) accounts by entering their username at user/%/edit/twitter; if you have OAuth correctly configured then you'll get redirected to Twitter for auth and can only follow accounts you can log in as.
_twitter_use_oauth() checks three things -
* is oauth_common enabled?
* are variables twitter_consumer_secret and twitter_consumer_key set?
Uninstalling Twitter module will zap the variables, but disabling oauth_common is a quicker way to get the textfield visible. That doesn't answer why you're seeing this weird mishmash of both modes (if you are) but maybe it helps clarify what you're seeing.
--
Please test again with 7.x-3.x-dev or current git, and report back if this issue still affects you.
We probably should #1710088: Support unauthenticated users for sites with OAuth configured?
Comment #12
juampynr commentedgrobot, I experienced this once. Try the following (this is how I got the error):
Then log in and go to Twitter accounts >> that is when you won't see the form field to type your Twitter account name until you clear caches.
Comment #13
juampynr commentedI am pretty sure this is the reason of this issue #1649368: Enabling/Disabling modules does not clear cache (menu)
Comment #14
t0lk commentedI had the same issue as OP. Perhaps this should be added to the readme.
Comment #15
juampynr commentedClosing. People having this error will find this issue. If I see new issues related with this, I will add a message at the project page.
Comment #16
jennypanighetti commentedCould you add it to the documentation? It just says enable module, enter account.... can you add a note there to clear caches if nothing appears? (I had this same issue.)
Comment #17
juampynr commented@jenstechs, this bug is related with a specific version of Drush, so it is not Twitter related and it affects also other parts of Drupal as caches are not cleared. There are already two issues mentioning this so I think that either people experiencing it will find any of these two issues or create one which I will reply to.
Anyway, thanks for suggesting it.