Failed to load source for: http://apis.google.com/js/plusone.js
Module is enabled. The html is in the source, but the js is not loading.
Maybe conflicting with another module? Would the dev do anything differently?
Tomorrow I will port the new 7.x-1.0-rc2 version to the 6.x branch and I you will see new admin options like the tag syntax, or the placement of the script.
I've pushed a new version 6.x-1.0-rc1 .. has more options to test : syntax of the button, placement of the script, etc. Tell me if it works now?
One thing I have changed is to load the library from https://, so there is no redirection anymore. No more "Failed to load source". This is other inconsistence from the documentation of the servicee.
I'm getting an error when trying to go to the config options:
Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:1747852:\"MySQL server has gone away\nquery: UPDATE cache_update SET data = 'a:104:{s:10:\\"admin_menu\\";a:10:{s:5:\\"title\\";s:19:\\"Administration menu\\";s:10:\\"short_name\\";s:10:\\"admin_menu\\";s:10:\\"dc:creator\\";s:3:\\"sun\\";s:11:\\"api_version\\";s:3:\\"6.x\\";s:17:\\"recommended_major\\";s:1:\\"1\\";s:16:\\"supported_majors\\";s:3:\\"1,3\\";s:13:\\"default_major\\";s:1:\\"1\\";s:14:\\"p in /xxx/includes/database.mysqli.inc on line 128
And the button only shows when I still remove the iframe style. Here's a page from my site: http://bit.ly/j6xabi
The button is located within the div class="content"
Update: I rolled back to beta2 and the error is gone.
@matt That kind of MySQL error is not related to this module. it doesn't make any watchdog records and seems more related to a problem with your hosting services.
rc4 version is ready now in case you want to have a try again.
Sorry for this week of bug fixes.. your feedback is appreciated.
Before rc6, button rendering on my pages works well. No problem using FF neither using Chrome. After the rc6 update the button disappeared. I switched to the 6.x-dev version as suggested by corbacho. But since then, I can see the button ONLY IF if I use FF to render the page.
Using firebug on Chrome, I have discovered that the button div contains the style setting as described by mattwmc in coment #9.
I tried the solution shown in comment #10, but it doesn't work.
I believe that the left:-10000px;top:-10000px code (incoming from Google) means that the button cannot be rendered because the identification of the user fails.
Is it possible that in 6.x-dev something has been changed about the parameter transmission to google?
Comments
Comment #1
corbacho CreditAttribution: corbacho commentedIs Firefox what are you using? Do you have NoScript, Adblock or any kind of module that could stop loading the javascript?
Comment #2
mattwmc CreditAttribution: mattwmc commentedChecked a wordpress site that has the google +1 installed and it didn't show in my firefox 3.5.17, but shows in Chrome.
However, still not showing on my site in chrome.
I checked the source for the WP site and the html is as follows:
While my source shows and does not show anything (but does take into account the size attribute):
Example on another site had:
<g:plusone size="medium" count="true" href="http://example.com/"></g:plusone>
Comment #3
corbacho CreditAttribution: corbacho commentedThanks matt for reporting it
The source code that you see is the HTML5 equivalent version of the button. I don't think is that.
I also have that 'failed source' report.. only if I open Firebug, but seems to make a 301 redirection, so finally the script is loaded.
I discovered a support forum where other people had issues like yours, it seems they are temporal issues during this beta process ?
http://www.google.com/support/forum/p/Webmasters/label?lid=1f91cc0e87a8e...
Tomorrow I will port the new 7.x-1.0-rc2 version to the 6.x branch and I you will see new admin options like the tag syntax, or the placement of the script.
Comment #4
mattwmc CreditAttribution: mattwmc commentedThanks for replying.
Looks like we are almost there, as now the JS seems to be loading; however, the button isn't showing.
I'll do some diggin' at that link. Thanks.
This is the html source code shown as of right now (and not showing):
Comment #5
mattwmc CreditAttribution: mattwmc commentedHey, I got it to show!
I was fooling around with firebug and deleted this from the iframe code:
I take it that's at google's end?
Comment #6
corbacho CreditAttribution: corbacho commentedI've pushed a new version 6.x-1.0-rc1 .. has more options to test : syntax of the button, placement of the script, etc. Tell me if it works now?
One thing I have changed is to load the library from
https://
, so there is no redirection anymore. No more "Failed to load source". This is other inconsistence from the documentation of the servicee.Comment #7
mattwmc CreditAttribution: mattwmc commentedI'm getting an error when trying to go to the config options:
And the button only shows when I still remove the iframe style. Here's a page from my site: http://bit.ly/j6xabi
The button is located within the div class="content"
Update: I rolled back to beta2 and the error is gone.
Comment #8
corbacho CreditAttribution: corbacho commented@matt That kind of MySQL error is not related to this module. it doesn't make any watchdog records and seems more related to a problem with your hosting services.
rc4 version is ready now in case you want to have a try again.
Sorry for this week of bug fixes.. your feedback is appreciated.
btw, I don't see the button in your page.
Comment #9
mattwmc CreditAttribution: mattwmc commentedInstalled the Dev. Button still doesn't show.
Here's the HTML via Chrome's inspect element:
Again, when I delete the style for the button, it shows. Must be google, I guess.
style="position:absolute;left:-10000px;top:-10000px;width:90px"
Does anybody else have that style in their code?
Comment #10
mattwmc CreditAttribution: mattwmc commentedGot it to show! Works in Chrome and FF.
Add to css:
Also, don't forget to set permissions! ;)
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedBefore rc6, button rendering on my pages works well. No problem using FF neither using Chrome. After the rc6 update the button disappeared. I switched to the 6.x-dev version as suggested by corbacho. But since then, I can see the button ONLY IF if I use FF to render the page.
Using firebug on Chrome, I have discovered that the button div contains the style setting as described by mattwmc in coment #9.
I tried the solution shown in comment #10, but it doesn't work.
I believe that the
left:-10000px;top:-10000px
code (incoming from Google) means that the button cannot be rendered because the identification of the user fails.Is it possible that in 6.x-dev something has been changed about the parameter transmission to google?
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedI have written my last post (#11) too early! :-(
I have just discovered that the
left:-10000px;top:-10000px
appears when https://apis.google.com/js/plusone.js triggers theUncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
error.It seems that QUOTA_EXCEEDED error is a well-known error in Chrome ver 13 (http://code.google.com/p/chromium/issues/detail?id=85570).
After the installation of the last stable version of Chrome (ver 12), everything works well again.
My conclusion is that corbacho instructions are sufficient and no any further setting or fix is necessary.