Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Simplepress TinyMCE plugin causing conflict with WP Edit?
Avatar
Peter Wood
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2015 - 3:35 am

Installing the Simplepress TinyMCE plugin is not only not showing in components, (it shows a blank page), and in the forum text entry box, but has broken my whole site too.

The way it has broken the site is that:

  1. The top of page screen options/help tab will not drop down.
  2. The multi tick box on plugins etc. doesn’t work
  3. On add new themes, no themes show, (a blank page)

I think this may be connected to a conflict with the WP Edit plugin that is recommended for the theme I am using, (Weaver Xtreme), but even when you disable this, you have to also disable Simplepress to get the above functions back, my initial thoughts being that the WP Edit plugin and Simplepress, (once the SP TinyMCE plugin is installed), use the same database tables/resources.

I’ve spent hours trying to sort this, (including 1 uninstall and start again from scratch), and I’d appreciate a quick fix for this as I’m needing the site to go live today if possible.

Regards

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 18, 2015 - 4:44 am

I understand you would like a quick fix but as we don't know what to fix or if the problem even lies with SP then I have no idea how to do anything quickly. I also have to add that this is clearly a totally unique issue which virtually always means something environmental your end - usually some sort of scripting conflict.

We have to start then, with some questions.

  • You don't mention the front, public side of the website. Is the TinyMCE editor working for forum posts?
  • What is 'WP Editor'? And if it adds items to the standard WP TinyMCE editor - is it completely up to date? When WordPress moved to TinyMCE V4 a couple of versions back a lot of things changed and many, many plugins that added buttons to the standard editor screwed up a lot of other plugins.
  • It sounds like a JavaScript conflict to me, The odd thing there is that Simple:Press loads no JavaScript code to the admin side for the TinyMCE editor. Do you know how to use the web console to view script errors as that will propbably need to be done.
  • Is everything else on your system up to date? WordPress itself and all plugins?
  • Do things work when you try this with the latest default WordPress theme?
  • As to the Simple:Press TinyMCE plugin itself - is it possible that you have a corrupted version for some reason? Check the SP plugin folder and ensure the name of the folder is, literally, 'tinymce-richtext'. If it has been suffixed witha n umber - rename it.

That will probably do for starters...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Peter Wood
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2015 - 5:20 am
  • You don’t mention the front, public side of the website. Is the TinyMCE editor working for forum posts?

No, the SP TinyMCE editor is not showing on the public side.

  • What is ‘WP Editor’? And if it adds items to the standard WP TinyMCE editor – is it completely up to date? When WordPress moved to TinyMCE V4 a couple of versions back a lot of things changed and many, many plugins that added buttons to the standard editor screwed up a lot of other plugins.

WP Edit is https://wordpress.org/plugins/wp-edit/

  • It sounds like a JavaScript conflict to me, The odd thing there is that Simple:Press loads no JavaScript code to the admin side for the TinyMCE editor. Do you know how to use the web console to view script errors as that will propbably need to be done.

No obvious JavaScrip errors or conflicts to me, with when you click on Components, (Editor), TinyMCE all you get is the loading gif in the top left corner and nothing loads.

  • Is everything else on your system up to date? WordPress itself and all plugins?

Yep, everything is up to date, including the SP TinyMCE plugin.

  • Do things work when you try this with the latest default WordPress theme?

No, I've tried, plus disabling all the other plugins.

Even when you disable the WP Edit plugin, (once the SP TinyMCE plugin is installed), to get the broken admin functions back you have to totally disable Simplepress, disactivating and deleting the SP TinyMCE plugin has no effect and then as soon as you reactivate Simplepress, the problems come again.

  • As to the Simple:Press TinyMCE plugin itself – is it possible that you have a corrupted version for some reason? Check the SP plugin folder and ensure the name of the folder is, literally, ‘tinymce-richtext’. If it has been suffixed witha n umber – rename it.

No, the SP TinyMCE plugin is up to date and the folder name not corrupted.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 18, 2015 - 5:53 am

When you say 'no obvious JavaScript errors or conflicts' does that mean there was nothing actually reported in the script console? It s the word 'obvious' I am unsure about as either there were reported errors or there were not...?

When I asked was it possible the plugin is corrupted I didn't mean the folder name in that instance - I meant the whole download. It is very rare but just every now and then things have been known to corrupt during a download. We used to have a lot of problems with FileZilla doing this - for example. Always worth a quick re-download and replace the one on your sever - just in case.

But probably the next thing is to look for a php error. A fatal php error would result in no display so it is worth looking at your php error log to see if anything gets reported when the plugin is activated. Do you know where to look for that?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Peter Wood
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2015 - 6:03 am

When you say ‘no obvious JavaScript errors or conflicts’ does that mean there was nothing actually reported in the script console? It s the word ‘obvious’ I am unsure about as either there were reported errors or there were not…?

There were no errors showing in the console, with me having a couple of people look at it and them not see anything either.

I'm quite happy to give you admin access to the site so that you can check.

When I asked was it possible the plugin is corrupted I didn’t mean the folder name in that instance – I meant the whole download. It is very rare but just every now and then things have been known to corrupt during a download. We used to have a lot of problems with FileZilla doing this – for example. Always worth a quick re-download and replace the one on your sever – just in case.

It was years ago that I purchased the plugin from you, so am unable to download it again without paying again, something I feel that I shouldn't have to do.

But probably the next thing is to look for a php error. A fatal php error would result in no display so it is worth looking at your php error log to see if anything gets reported when the plugin is activated. Do you know where to look for that?

No PHP errors showing.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 18, 2015 - 6:12 am

Good point on the download issue. And I can discuss that here. You will continue to be able to update it of course. And we can always email you a copy.

So - sorry to cover things again but it IS completely up to date yes? Version 3.2.2

So let's backtrack. If you have had the plugin for years have you used it in the past? Did it work OK? And if so - what happened/changed to stop it working?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Peter Wood
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2015 - 6:19 am

While searching for a solution, https://wordpress.org/support/.....replies=16 seems like a similar problem, could it have any relevance? 

Avatar
Peter Wood
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2015 - 6:23 am

Good point on the download issue. And I can discuss that here. You will continue to be able to update it of course. And we can always email you a copy.

If you could e-mail me a copy, I can try reinstalling it, but the way it seems to have grabbed something on the database I will have to reinstall and start again with the whole site.

So – sorry to cover things again but it IS completely up to date yes? Version 3.2.2

Yep, it has updated to V3.2.2

So let’s backtrack. If you have had the plugin for years have you used it in the past? Did it work OK? And if so – what happened/changed to stop it working?

Yep, it's worked fine on other sites I've had/done, (ages since I used Simplepress in a site though), but it is this new site I'm doing that is causing the problem.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 18, 2015 - 7:19 am

The problem you linked to: A while back, the WP team exposed TinyMCE so that plugins could use it. We took advantage of this to rewrite our plugin to use the WP instance. However, a lot of plugins that added a button or extra functionality to the editor, tried to load their code in both the admin (i.e., write posts) AND the front end. And because their support code was not geared to the front-end it caused any plugin making use of TinyMCE on the public side - like SP - to fail. Generally authors were hooking their editor extensions into the WP 'init' hook which loads on both back and front ends. They should have been using the 'admin_init' hook.

Just out of interest - when you looked for script errors in the console did you try loading the faulty admin panels AND the front end SP editor in a topic? I feel sure that one of those must show an error of some sort. It makes no sense otherwise.

I think you need to locate the conflict. Starting, perhaps, with this WP Edit plugin. And you do not need to deactivate SP by the way. Just temporarily renaming the TinyMCE plugin folder should be enough.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Peter Wood
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2015 - 9:18 pm

"We took advantage of this to rewrite our plugin to use the WP instance."

From that, possibly updating SP.TinyMCE from V1.0.3, (the core version I purchased a few years ago), to V3.2.2 in one hop may be the problem, could it be leaving some files in the update that is the cause? I've even tried updating starting all over again and updating your TinyMCE plugin before activating, but still the samefrown

Could I try from scratch again using an up to date version of the plugin from scratch as you suggested and I asked above?

I think you need to locate the conflict. Starting, perhaps, with this WP Edit plugin. And you do not need to deactivate SP by the way. Just temporarily renaming the TinyMCE plugin folder should be enough.

I've tried everything I know to locate the conflict, that's why I have come here and paid to ask for specialist help from the developer, (that I feel I am not getting), with changing the name of the TinyMCE folder doing nothing, the only way to get the broken WP functions back being to disable Simplepress.

I don't think that this is a good advertisement for what is a premium product and premium support, it shouldn't need an expert in PHP and Javascript to get a plugin to update on a site frown

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625