It looks like you're new here. If you want to get involved, click one of these buttons!
Hi there. I get this error when I try and enable the plugin:
Parse error: syntax error, unexpected T_STRING in /mnt/stor3-wc2-dfw1/485991/www.jaycraft.co/web/content/vanilla/plugins/addthis/class.addthis.plugin.php on line 41
I looked at line 41 of that file, and this is what it says. I have not altered it at all btw.
$Style = C('Plugin.AddThis.Style', 'AddThis Style');
Answers
Okay thanks, I will try that later.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •40 $Lang = C('Plugin.AddThis.lang', 'Language');
no comma '
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •shoudnt that be a ' after Language ? looks weird on mine
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •this should really be fixed by the plugin maker @bh8vn
he can close quotes. A decent editor, with color coding should pick this up. However it si alway a good idea to run you plugin if any changes are made.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •is there any solution to it yet or not? today i also got the same problem
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •In the File "/plugins/addthis/class.addthis.plugin.php on line 41"
Replace: $Lang = C('Plugin.AddThis.lang', 'Language);
With: $Lang = C('Plugin.AddThis.lang', 'Language');
Re-upload, problem solved.
(On style 3 it looks like it puts the facebook in german or french "Thich") - It also looks like it might not be using the custom ID you specify in the admin as it has this ID which all 5 instances should be find/replaced:
ra-4f2d3eb91a96ddbc
- Spam
- Abuse
- Troll
2 • Off Topic 2Insightful Awesome LOL •See: http://vanillaforums.org/discussion/21023/add-this-toolbar-unofficial-patch-1-2-2012-07-29#latest
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •