Ok, I need help. I am using EE3.0.5 on a local dev environment and have a grid field with a file in it. In the control panel, I can upload files without problem. In my template, I have a simple channel:form like this (field:question1_docs is the grid field):
{exp:channel:form channel="reporting_channel" entry_id="2" return="{segment_1}/{segment_2}/{segment_3}"}
<input type="hidden" name="title" value="{title}">
<input type="hidden" name="url_title" value="{url_title}">
{field:question1}
{field:question1_docs}
<button type="submit" class="btn btn-primary btn-success">Submit</button>
{/exp:channel:form}
However, when I load it, I receive this error instead of the file names:
Warning
include(http://ampcafe305.dev/reporting_uploads/): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
ee/EllisLab/ExpressionEngine/Service/View/View.php, line 139 show details
Severity: E_WARNING
Warning
include(): Failed opening 'http://ampcafe305.dev/reporting_uploads/' for inclusion (include_path='.:')
ee/EllisLab/ExpressionEngine/Service/View/View.php, line 139 hide details
Severity: E_WARNING
In the CP, they show up fine. I am logged in as a super admin. If I copy/paste the path above in to the browser, it gives me a 403 error also. However, if I add on the file name, it displays it correctly. Is this a bug or am I doing something wrong?
Also, if I try to upload a new file from the front end, it doesn’t upload it though it does create an empty row in the entry. It also overwrites the files currently loaded.
Any help appreciated. Steve
I confirmed on a clean install and I’ve added a bug report here. It happens with just a file field as well.
For now, the best option would be to subscribe to the bug thread as the developers should post back there with a patch as soon as they’ve got it fixed up.
Sorry you ran into a bug- I’m a bit surprised that hadn’t come up, but I couldn’t find it in the tracker.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.