Closed (fixed)
Project:
Facebook Like Button
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 May 2011 at 16:25 UTC
Updated:
14 Jun 2011 at 14:02 UTC
Jump to comment: Most recent file
I was getting this error on my node pages.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | ScreenShot233.jpg | 31.45 KB | kueblert |
| #3 | Capture d’écran 2011-05-25 à 08.42.26.png | 28.59 KB | tykern |
| #1 | node-url-1167400-1.patch | 670 bytes | Craig Gardner |
| fblikebutton-error.png | 6.13 KB | Craig Gardner |
Comments
Comment #1
Craig Gardner commentedI've created a patch as well.
A pretty minor change, but the errors are no longer there.
Comment #2
tykern commentedplease, what are you doing with the patch? how to use it? I have the same problem on the "tags" url and quite beginner...
Comment #3
tykern commentedthis my error when I use the "tags"....
Comment #4
Maglor commentedHaving the same issue. I'm also not so technical or developer minded, so how can I apply this patch? I got the error msg on my front page and even non-logged in users see it, so it's very annoying. Happened since the latest update of the module.
Comment #5
Starminder commentedJust a jolly +1 here, this is my reminder to try the patch.
Comment #6
jerdiggity commentedAlthough I'm not (personally) able to duplicate this, I can see why it would happen...
@Craig Gardner: thank you very much for the patch -- looks good to me (and checks out after testing).
@Everyone else: thanks for confirming this issue -- makes life much easier.
Committed to 7.x-1.x-dev for now... Will also be committed to next stable release along with other changes.
Comment #7
kueblert commentedThe Patch is a snipped of coding.
The Place where to put this code, you can see in the Screenshot (Attachment)
/sites/all/modules/fblikebutton
The is a file called "fblikebutton.module"
Make a Copy of that file before u do anything
This file u can open with an editor and now you must replace the Line
$likepath = drupal_get_path_alias($node->uri['path']);
whit this line
$likepath = drupal_get_path_alias(isset($node->uri) ? $node->uri['path'] : sprintf('node/%u', $node->nid));
In the Patch it is marked with an "-" and da "+" this is means that u must replace the lines.
hope i could help a little.
i try it now my self.
mfg tobi