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: Authorized Previews no longer working over SSL

Status Resolved
Add-on / Version Publisher 1.6.2
Severity
EE Version v2.9.2 (ACK!)

Gregory Maher

Oct 23, 2017

Hi Brian,
We have a site (see below) that was previously working great. We moved the entire site over SSL and now Authorized Previews no longer function.

Detailed steps to reproduce the issue:
1. Login to ExpressionEngine
2. Choose Content > Edit > Strategies
3. Select a Strategy and choose Save Draft from upper right
4. In some cases (IE/Chrome Windows) the Draft preview doesn’t work and redirects the iFrame to the homepage
5. If you copy the link above the preview and paste it into a Private Browsing window it redirects to the homepage

It seems the Authorized Draft Preview Handling setting is causing the redirect to the homepage as if we change that to Graceful it show the current Published content at the particular URL.

We’ll be upgrading the site to Publisher 2 and ExpressionEngine 3 (or 4!) early next year. but for the time being is there maybe something we’re overlooking now that SSL is enabled?

Thanks in advance!

Greg

#1

BoldMinded (Brian)

Did you check the publisher_draft_previews to see if it’s creating the correct urls? Is the issue that old previews are not working or even creating new ones are not working? Try clearing the cache which should remove all the rows in that table and try creating a new preview? Is https in the site_url confiding value?

#2

BoldMinded (Brian)

Config, not confiding 😊

#3

BoldMinded (Brian)

I just realized you’re using Publisher 1, which I dropped support for. Suggestions still apply, try to delete the rows in that table.

#4

Gregory Maher

Hi Brian, Yes - I know it’s out of support now so I totally appreciate you even acknowledging it! Thanks in advance!

For what it’s worth: • I deleted the rows in publisher_draft_previews, and it’s correctly creating new ones • I cleared the cache for front-end and control panel • https is set in the site_url config

We’re still seeing the same error.

The preview works correctly on the front-end if the user is logged in, and mixed results in the Control Panel. I feel like it might be a session/cookie based issue. Everything I checked seems correct, but I’ll take another look. We’ll put a work-around in place for the time being and we’ll be upgrading early next year. But if you think of anything else I can check certainly let me know. Sound good?

Thanks!

Greg

Login to reply