Support Forum

Share This activation fatal error

SM Stuart McHugh
Stuart McHugh
Member

hi

just installed Share This but while it’s installed ok, activating gives the following errors:

_________________________________

Warning: include_once(/problem-with-post-edit-buttonome/smchugh/public_html/jockrock/wp-content/sp-resources/forum-plugins/share-this/sp-share-this-uninstall.php) [function.include-once]: failed to open stream: No such file or directory in /problem-with-post-edit-buttonome/smchugh/public_html/jockrock/wp-content/sp-resources/forum-plugins/share-this1/sp-share-this-plugin.php on line 105

Warning: include_once() [function.include]: Failed opening ‘/problem-with-post-edit-buttonome/smchugh/public_html/jockrock/wp-content/sp-resources/forum-plugins/share-this/sp-share-this-uninstall.php’ for inclusion (include_path=’.:/usr/local/php52/pear:/usr/lib/php:/usr/local/lib/php’) in /problem-with-post-edit-buttonome/smchugh/public_html/jockrock/wp-content/sp-resources/forum-plugins/share-this1/sp-share-this-plugin.php on line 105

Fatal error: Call to undefined function sp_share_this_uninstall_option_links() in /problem-with-post-edit-buttonome/smchugh/public_html/jockrock/wp-content/sp-resources/forum-plugins/share-this1/sp-share-this-plugin.php on line 106

_________________________________

I will say right off that.. well, in the message it refers to share-this1. I couldn’t access the Codex when I resubscribed, so tried to do an install the old-fashioned way i.e. FTPing plugins into the directory… I then tried to disable Share This as well as the Preview plugin, which is working ok now. I’m wondering if since I downloaded a new version of Share-this it has, somewhere inside the zip file, a ‘1’ after something, which has confused matters? (I have deactivated, deleted, reinstalled via the uploader, etc, the current failing install is most definitely not in a ‘share-this1’ folder!)

If that seems to be the case to you, how to I ‘clean’ things out? (And if not, any other ideas?)

Thanks

Stuart

13 Answers

New Answer

SM Stuart McHugh
Stuart McHugh
Member

ahem, I’m sure there’s something just not right about replying to your own queries…

Anyway, I got it sorted, it was simpler than I thought – despite there being no share-this directory, it was still insisting on making the new one ‘share-this1’/

So now it’s sorted, it’s set to show all he sharing services icons… but this presents another question – where have the buttons actually got to? I do have some FB and Twitter sharing icons installed for the WordPress site, these are showing up ok as ever, is it possible that they are somehow overriding the Share This ones.

Thanks

S

 

MP Mr Papa
Mr Papa
Member

Please look at the name of the plugin folder… you have share-this1… it should just be share-this… for some reason, on rare occasions, the wp uploader is doing that and we have not been able to figure out why… but a simple change in the folder name gets you working…

SM Stuart McHugh
Stuart McHugh
Member

Thanks – yup, I guess if anyone else asks then ask them if they could have got another copy of the plugin into the folder somehow (ok, it could maybe happen behind the scenes with some directory glitch, but I reckon the manual copy just confused it!)

If you have any clues on the second part of my ramble i.e. have the buttons disappeared due to other similar WP plugins overriding them, that would be welcome!

 

MP Mr Papa
Mr Papa
Member

the buttons can go where ever you want them… just put the template function where you want to display them…

see:  http://codex.simple-press.com/codex/plugins/our-plugins/available-plugins/plugin-share-this/

SM Stuart McHugh
Stuart McHugh
Member

yikes! Looks a bit, well, technical.

I’m sure that you would recommend your plugins ahead of 3rd party stuff, but given that I already have some sharing stuff installed (and that I’d have to figure out a way of disabling them rather than duplicate the functions within S:P) any good reason why I shouldn’t just use them?

 

MP Mr Papa
Mr Papa
Member

sorry, just use what? I dont think you will get the wp plugin ones to nwork in the forum… they will fixate on the wp page not the true ncanonical url of the forum topic or page…

SM Stuart McHugh
Stuart McHugh
Member

hadn’t really thought of that aspect – I’ve not tried it yet and obviously I’ve not seen the S:P one working. It does look like the links produced (by TweetThis) may refer to the entire thread rather than individual posts.
 
But I don’t think it’s possible to restrict TweetThis to just showing on regular pages… but I’d be surprised if someone else hadn’t encountered this before (can’t find any support topics though)

Had a look at the Codex again, but it assumes too much knowledge of the inner workings of the system for me.

MP Mr Papa
Mr Papa
Member

actually its quite simple… all the different options it provides nmight be a bit daunting…

Why dont you just tell us where you want to display it and we will tell nyou how… its only going to be adding one or two lines of code to your nsp theme…

SM Stuart McHugh
Stuart McHugh
Member

Oh good grief, my answer didn’t seem to appear…

Ok, here we go again… (I think my first line was thanks for the offer of help!)

I’m not too bothered in a sense as long as I can get the buttons in there – from the codex looks like it offers a link to the entire topic, which is fine, but if the buttons are at the bottom (or top) of each reply that would presumably be best i.e. most convenient.

My question about the existing buttons is significant since removing these from the site’s theme would not be possible, and they will as far as I can tell carry into the forum.

Actually, please have a look (and excuse the mess!)

http://www.jockrock.org/forums/general-discussion/joining-the-forum-important/

Tweet This Post just gives a link to the entire forum… but the ‘Tweet’ link, and the Facebook one both bring up links to the complete topic, which is *kind of* what’s required.

Oh, the regular forum posts look like this with a couple of the buttons in place

http://www.jockrock.org/news/music-for-films-2/

So, it may be that if I can tidy up what’s there already I might not need to use the S:P plugins and lose the ones from the main site. That all said, I’m sure someone else must have encountered this before so I’d imagine they have also figured out any problems doing it that way.

I also need to sort out FB login, which may come in a separate question, though I’m guessing that might just carry through from a main site plugin/login?

Thanks again

S

MP Mr Papa
Mr Papa
Member

since I dont know how those buttons are added, I cant really offer much on how to remove… all the decent sharing plugins I have used (such as Social, Share This, etc) have offered an auto insertion or manual (with template tag)…  the auto ones still had a way on any page/post to disable them (check on editing the page/post)… if yours does not, I would simply switch to a different/better plugin…

the problem with using the wp plugin on the forum is that it likely wont pick up the proper url and certainly not the content..  If its using the canonical url and not the wp page permalink, it might get the url right, but the excerpt of comment on the wp page is empty so you wont get an excerpt/content…  but try it out and see if you are happy…

but I think, if understanding you, what you want is quite simple with ours (of course doesnt help the current ones displaying)…  you said you just wanted the topic… so add

sp_ShareThisTopicIndexTag();

 to your spTopicView.php template file of the sp theme you are using where you want it to show up…

but check on the removal as I said…

SM Stuart McHugh
Stuart McHugh
Member

Thanks – I’ll need to sit down and do some guddling around in the template files etc, see which ones work, maybe give them a runout with some live posts…  but I’ll make a note of the simple tag info above and see how that works out.= alongside everything else. Thanks!