All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Enable Diffs defaulting to unchecked

Status Resolved
Add-on / Version Publisher 1.6.10
Severity
EE Version 2.11.1

Fabcom

Nov 09, 2016

We are having trouble getting DIFFs to show up on drafts. After some research I found this previous ticket https://boldminded.com/support/ticket/1313 

From that we learned that “enabled” must be selected for the diffs in each channel. However when I check enabled and update the channel field it reverts back to unchecked. Any ideas what would be causing this? There are no console errors and I’ve tried this on two different website running expression engine both uncheck themselves.

 

 

#1

BoldMinded (Brian)

Have you tried updating to the latest version? You’re several versions behind.

#2

Fabcom

We will update tonight, I’ll let you know if the problem is resolved.

Thanks!

#3

Fabcom

Both Expression Engine (2.11.3) and Publisher (1.7.1) have been updated (on both sites), the problem still exists.

#4

BoldMinded (Brian)

Ok, I’ll see if I can replicate this and get back to you.

#5

Fabcom

Great, thanks. Let me know if there is anymore info I can provide you with to make it easier.

#6

BoldMinded (Brian)

I’m unable to replicate this…. all the fields save fine for me. Have you tried this in a clean EE environment with only Publisher installed to make sure another add-on isn’t interfering?

#7

Fabcom

Would you be willing to login to a mirrored version of the site? This is happening on two installations running different plugins. For one particular client we are able to create a mirrored version of the EE installation but a clean installation would not help to resolve our issue. This version will not be used for development or live production but just to troubleshoot this issue.

#8

BoldMinded (Brian)

If you can slowly disable other add-ons 1 at a time until the issue corrects itself, thus identifying the one causing the conflict, then I can login and take a look or try to replicate it locally myself. Otherwise I can’t be the one going down a rabbit hole… I need some sort of direction. See https://boldminded.com/support-terms-conditions

#9

Fabcom

Yeah makes sense, well start there. Thanks

#10

Fabcom

I’ve updated the ticket with information for logging into the EE site. We have uninstalled all 3rd party modules but Publisher. We will need your public IP or IP range in order to provide access to the site.

#11

BoldMinded (Brian)

38.126.164.226

#12

Fabcom

You should have access now, let me know if not. I also can get you access to FTP and mysql if needed. It does not matter what you do as this installation is only being used to troubleshoot our issue with Publisher.

#13

BoldMinded (Brian)

There is a simple auth dialog in front of everything. Will need that too.

#14

Fabcom

Comment has been marked private.

#15

BoldMinded (Brian)

That user/pass combo doesn’t work.

#16

Fabcom

You shouldn’t need to login now unless your IP has changed, if so let me know I’ll have it updated. Thanks!

#17

BoldMinded (Brian)

What custom field are you trying to enable diffs on?

#18

BoldMinded (Brian)

Can you provide FTP access so I can debug it? I can’t do much from the CP alone.

#19

Fabcom

Ticket updated with FTP info. It should be SFTP port 22.

#20

Fabcom

Comment has been marked private.

#21

BoldMinded (Brian)

Something is up with your database. Its sending the correct data when trying to insert, but its not inserting and I’m not getting an error indicating why. Have you recently upgraded MySQL? What version of MySQL are you running? Try deleting everything in exp_publisher_diff_settings and try saving a field again. It looks like there are 28 rows in there right now, so this worked at some point before.

#22

Fabcom

I can give database access if you would like. It may be from our tests yesterday, we found that if you select a snippet and click enable it works. However going back into the channel doesn’t allow you to uncheck enabled or remove the snippet that was selected. Sorry, I completely forgot that another developer was troubleshooting this issue and found that. Below are the most recent mySQL upgrades that have been done.

Aug 02 10:11:19 Updated: mysql-community-common-5.6.32-2.el7.x86_64 Aug 02 10:11:19 Updated: mysql-community-libs-5.6.32-2.el7.x86_64 Aug 02 10:11:23 Updated: mysql-community-client-5.6.32-2.el7.x86_64 Aug 02 10:11:33 Updated: mysql-community-server-5.6.32-2.el7.x86_64 Aug 30 10:14:17 Updated: php56w-mysql-5.6.25-1.w7.x86_64 Sep 06 09:45:35 Updated: mysql-community-common-5.6.33-2.el7.x86_64 Sep 06 09:45:36 Updated: mysql-community-libs-5.6.33-2.el7.x86_64 Sep 06 09:45:40 Updated: mysql-community-client-5.6.33-2.el7.x86_64 Sep 06 09:45:51 Updated: mysql-community-server-5.6.33-2.el7.x86_64 Sep 22 15:22:31 Updated: php56w-mysql-5.6.26-1.w7.x86_64 Oct 12 21:48:20 Updated: mysql-community-common-5.6.34-2.el7.x86_64 Oct 12 21:48:20 Updated: mysql-community-libs-5.6.34-2.el7.x86_64 Oct 12 21:48:24 Updated: mysql-community-client-5.6.34-2.el7.x86_64 Oct 12 21:48:36 Updated: mysql-community-server-5.6.34-2.el7.x86_64 Oct 28 17:22:57 Updated: php56w-mysql-5.6.27-1.w7.x86_64

#23

BoldMinded (Brian)

Are you able to test this site on a different server? Perhaps with lower version of MySQL?

#24

Fabcom

Its not really an option for us to have old versions of mySQL running in production…. What version of mySQL is publisher stable with? Even if we created a server to test this we wouldn’t be able to revert in production. Though we have been using publisher for years this is the first time the client requested that differences be shown so this featured has never been tested by us in the past, besides maybe the few tests you saw from the other day. So just to be clear I couldn’t tell you if this feature ever worked for us in the past just that we have never used it, if that helps at all.

Appreciate the help!

#25

Fabcom

I’ll talk with the database guys about trying to delete the content in the exp_publisher_diff_settings field as well.

#26

BoldMinded (Brian)

I realize downgrading prod isn’t realistic, but if we can identify that it only doesn’t work in mysql 5.6 then at least I know where to focus efforts instead of guessing.

#27

BoldMinded (Brian)

I haven’t tested it in 5.6 yet, not sure what the highest version I’ve tested with, but if this is MySQL version specific it would be the first such bug with Publisher.

#28

Fabcom

Hi Brian, You mentioned that the insert looks ok. Can you tell us where exactly that insert is occurring? As in what php file/class?

#29

BoldMinded (Brian)

Its happening in the Publisher_diff.php file in the save_field_setting() method… line 321

#30

BoldMinded (Brian)

Closing for lack of updates and inability to replicate.

Login to reply