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!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andriy_gerasika’s picture

Please File/Save As HTML of /user/login page, or let me know URL of website in question

discursives’s picture

FileSize
2.46 KB

http://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.

andriy_gerasika’s picture

test.commoning.com is not working, ping test.commoning.com hangs

discursives’s picture

andriy_gerasika’s picture

it is not for me.
do you have some firewall that is blocking visitors from Ukraine?

rizqi’s picture

I 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

drupal_add_css($library_path . '/css/openid' . $style . '.css', array('group' => CSS_DEFAULT,'weight' => 1));
drupal_add_css($module_path . '/openid_selector.css', array('group' => CSS_DEFAULT));

and on openid_selector_drupal.module, change drupal_add_css to

drupal_add_css($module_path . '/openid_selector_drupal.css', array('group' => CSS_DEFAULT));

thanks
Rizqi

discursives’s picture

There is no firewall. It is hosted in Los Angeles. Perhaps the IP is blocked to you somehow. I do not know.

discursives’s picture

FileSize
27.49 KB

Rizqi, 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.

discursives’s picture

andriy_gerasika, if you give me your ip I can research why the site doesn't show.

andriy_gerasika’s picture

Status: Active » Fixed

fixed in http://drupal.org/cvs?commit=477708
thanks to Rizqi for an idea where the problem is.

discursives’s picture

will there be a new version released?

andriy_gerasika’s picture

yes, drupal.org packaging script refreshes dev version after 12 hours last commit was performed

discursives’s picture

Status: Fixed » Needs work

I'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?

andriy_gerasika’s picture

I 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?

discursives’s picture

FileSize
56.33 KB

1. Cache cleared.
2. MySQL running latest XAMPP locally with 3.23
3. utf8_general_ci
4. Errors from console attached.

rizqi’s picture

it'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

discursives’s picture

so, 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.

andriy_gerasika’s picture

#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

robbycandra’s picture

I 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.

Fidelix’s picture

Subscribing...

John Klehm’s picture

Status: Needs work » Closed (fixed)

Cannot 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.