I have installed the module along with the libraries module and downloaded and unzipped the files for the plugin from Google Code.
When I look at my login page and view the source I can see that some of the module is active but I don't see any files.
for example (edited down a bit to shown some relevant file paths):
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","ajaxPageState":","js":
{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"misc\/jquery.cookie.js":1,
"sites\/all\/libraries\/openid-selector\/js\/openid-jquery.js":1,"sites\/all\/libraries\/openid-selector\/js\/openid-en.js":1,
"sites\/all\/modules\/openid_selector\/openid_selector.js":1,
"sites\/all\/modules\/openid_selector\/openid_selector_drupal.js":1,
"modules\/openid\/openid.js":1},"css":
"openid_selector":{"img_path":"sites\/all\/libraries\/openid-selector\/images\/","form_id":"user-login"},"openid_selector_drupal":
}});
//--><!]]>
I have checked all these paths and they are correct and the permissions on the folders are also correct afaik.
Can you provide any advice on where to look next for my issue? It seems that the form is not being altered properly. I have tried with the "OpenID Selector for Drupal login" as well as the inline option (one or the other, not both at the same time) to no avail.
I am aware that this is working for some sites, and I think there may be some replacement that is failing. I don't have fb or fbconnect installed; I am still seeing the "Login with OpenID/What is OpenID" links, too.
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#15 | 2011-01-11_233319.jpg | 56.33 KB | discursives |
#8 | 2011-01-09_011250.jpg | 27.49 KB | discursives |
#2 | user.zip | 2.46 KB | discursives |
2011-01-06_235044.jpg | 12.55 KB | discursives |
Comments
Comment #1
andriy_gerasika CreditAttribution: andriy_gerasika commentedPlease File/Save As HTML of /user/login page, or let me know URL of website in question
Comment #2
discursives CreditAttribution: discursives commentedhttp://test.commoning.com is the url. user page html source is attached in a zip file.
I've seen that the Tao theme overrides the openid css. Here's an issue for that: http://drupal.org/node/948830
I tried the stark and Garland themes as well as Bartik but no luck yet. I am using the "inline" option for testing.
I reinstalled a fresh site to see if any other modules might be causing the issue, but, with a fresh site and No modules except openid_selector and libraries installed I am having the same issue.
Comment #3
andriy_gerasika CreditAttribution: andriy_gerasika commentedtest.commoning.com is not working, ping test.commoning.com hangs
Comment #4
discursives CreditAttribution: discursives commentedhttp://test.commoning.com/user is up.
Comment #5
andriy_gerasika CreditAttribution: andriy_gerasika commentedit is not for me.
do you have some firewall that is blocking visitors from Ukraine?
Comment #6
rizqi CreditAttribution: rizqi commentedI have similar issue. I found that this issue is because "Aggregate and compress CSS files." is active.
I have fix this issue on my module, it is working now.
Here is how to fix:
on openid_selector.module, change drupal_add_css to
and on openid_selector_drupal.module, change drupal_add_css to
thanks
Rizqi
Comment #7
discursives CreditAttribution: discursives commentedThere is no firewall. It is hosted in Los Angeles. Perhaps the IP is blocked to you somehow. I do not know.
Comment #8
discursives CreditAttribution: discursives commentedRizqi, thanks for the code. I gave it a try, and it changed the behavior, but I still don't see any icons. Are you running Drupal 7? Perhaps you can point me at the site you have it installed on so that I can check the way the code is loading.
Andriy, I know you can't load the site, but I did send over the zip of the user.htm file. If you want to replicate the functionality it's just a fresh install of D7 with a 7.x-1.x-dev install of the openid_selector module.
Attached is a screenshot of the new behavior with Rizqi's recommended changes. The OpenID now shows by deault, with no icons, and disappears when you hit cancel.
Comment #9
discursives CreditAttribution: discursives commentedandriy_gerasika, if you give me your ip I can research why the site doesn't show.
Comment #10
andriy_gerasika CreditAttribution: andriy_gerasika commentedfixed in http://drupal.org/cvs?commit=477708
thanks to Rizqi for an idea where the problem is.
Comment #11
discursives CreditAttribution: discursives commentedwill there be a new version released?
Comment #12
andriy_gerasika CreditAttribution: andriy_gerasika commentedyes, drupal.org packaging script refreshes dev version after 12 hours last commit was performed
Comment #13
discursives CreditAttribution: discursives commentedI've just installed a fresh site with fresh module files and still no icons. This is a localhost. Can you tell me how you tested this as working>? Is there something I am missing?
Comment #14
andriy_gerasika CreditAttribution: andriy_gerasika commentedI was testing on localhost, using release version of Drupal and Bartik\Stark theme w/ compress and aggregate CSS/JS options on and off
1. please clear the cache and press shift+refresh in web browser
2. what database server do you have?
3. what encoding does drupal database have?
4. If you open the site in Firefox, does it display some errors in Error Console?
Comment #15
discursives CreditAttribution: discursives commented1. Cache cleared.
2. MySQL running latest XAMPP locally with 3.23
3. utf8_general_ci
4. Errors from console attached.
Comment #16
rizqi CreditAttribution: rizqi commentedit's working now :-) http://test.commoning.com/user
1. the problem is because libraries has not setup correctly on sites/all/libraries http://screencast.com/t/cuFS3RItc07g
2. css not loaded properly, drupal_add_css should be updated as explained on #8
Rizqi
Comment #17
discursives CreditAttribution: discursives commentedso, I'm going to explore this fix that rizqi helped me with. Risqi is saying that the updates to drupal_add_css contained in the new version, post commit from #10, are not totally working yet, though I am unsure of the details until I examine further.
Comment #18
andriy_gerasika CreditAttribution: andriy_gerasika commented#16:
1)
module should be enhanced to report an error if javascript is installed in improper place
2)
commit in #6 is not applicable because:
a) CSS_DEFAULT is the default setting for group
b) weight is not required for sites/all/libraries/openid-selector/openid.css
please undo your modifications and test most recent version of the code unmodified -- it should work as-is if "compress" CSS/JS settings are on
Comment #19
robbycandra CreditAttribution: robbycandra commentedI made the same mistake like what discursives done
This is how i fix it:
1.)
upload javascripts openid-selector-1.3-beta1.zip
my mistake was i uploaded javascripts openid-selector-1.2.zip
@andriy_gerasika please check : http://drupal.org/project/openid_selector
2.)
upload at sites\all\libraries
my mistake was i uploaded at sites\all\modules\libraries
*)
i'm not doing #6 correction made by rizqi.
Comment #20
Fidelix CreditAttribution: Fidelix commentedSubscribing...
Comment #21
John Klehm CreditAttribution: John Klehm commentedCannot reproduce on Drupal 7 with the latest dev module.
My layout looks like this:
drupal-root/sites/all/libraries/openid-selector
drupal-root/sites/all/modules
drupal-root/sites/all/themes
Based on the comments above and my testing this looks to be fixed in the latest release. I've posted my stuff here to help guide anyone still confused by the configuration part but this problem is not an issue with the module.