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: Save & Preview errors on entry with file field

Status Resolved
Add-on / Version Publisher Lite 2.6.0
Severity
EE Version 3.5.2

James Woodman

Jul 13, 2017

Description: When clicking Save & Preview on an existing entry you go to a white html page (not modal window) with error messages shown below.  Also the structure url gets changed to match the url title in this case from / to home.


Detailed steps to reproduce the issue:
1. Go to existing home page entry
2. click on Save & Preview
3.

Notice

Undefined offset: 45

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 46

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 47

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 48

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 35

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 36

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 35

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 36

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 37

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 34

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 35

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 36

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 34

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 35

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 36

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 34

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 35

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Notice

Undefined offset: 36

ee/EllisLab/Addons/file/ft.file.php, line 102 show details

Severity: E_NOTICE
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)

ee/legacy/core/Input.php, line 249 show details

Severity: E_WARNING
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)

ee/legacy/core/Input.php, line 249 show details

Severity: E_WARNING
Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)

ee/legacy/libraries/Functions.php, line 438 show details

Severity: E_WARNING

#1

BoldMinded (Brian)

See the fix in this ticket for the File field errors https://boldminded.com/support/ticket/1487

#2

James Woodman

Thanks. That quieted the errors but the issue I’m having now is that the preview is pulling up a 404 page because the url title is showing in the url rather than the structure url. I’ve tried playing around with the preview uri in the settings but I haven’t had any luck.

Preview url:

https://www.cuahsi.org/home?publisher_status=draft&publisher_key=O1767MyA

Should be:

https://www.cuahsi.org/?publisher_status=draft&publisher_key=O1767MyA

#3

BoldMinded (Brian)

If the entry is managed by Structure, you shouldn’t have to mess with the preview template settings. It should just work. Are you saving the brand new entry as a draft? E.g. it does not have a published version yet? If so then you need to add status=”{publisher:entry_status}” to the entries tag.

#4

James Woodman

There is a published version of the page. I tried adding the publisher status but still get the 404.

#5

BoldMinded (Brian)

You provided a login… could you provide direction on what channel or entry I should edit to replicate it?

#6

James Woodman

It’s the homepage. The home channel. Template: layouts/index

#7

James Woodman

entry id 530

#8

BoldMinded (Brian)

Comment has been marked private.

Login to reply