Forum

Thread tagged as: Problem, Redactor

Perch 3.0.9: Redactor File/Image upload not working

When I try to add a file or an image via the redactor editor the tabs do not respond.

Thanks.

Perch: 3.0.9, PHP: 7.1.3-3+deb.sury.org~xenial+1, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO
Server OS: Linux, fpm-fcgi
Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9)
App runtimes: <?php $apps_list = array( 'content', 'categories', );
PERCH_LOGINPATH: /mgmt
PERCH_PATH: /home/vagrant/Code/include-youth/mgmt
PERCH_CORE: /home/vagrant/Code/include-youth/mgmt/core
PERCH_RESFILEPATH: /home/vagrant/Code/include-youth/mgmt/resources
Image manipulation: GD
PHP limits: Max upload 100M, Max POST 100M, Memory: 512M, Total max file upload: 100M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: include-youth.local
DOCUMENT_ROOT: /home/vagrant/Code/include-youth
REQUEST_URI: /mgmt/core/settings/diagnostics/
SCRIPT_NAME: /mgmt/core/settings/diagnostics/index.php
Stephen Shaw

Stephen Shaw 0 points

  • 3 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

The first thing to try is the update to 3.0.10 and let us know if the problem still exists.

Hey Rachel,

I have just updated and the problem still exists.

Jp

Drew McLellan

Drew McLellan 2638 points
Perch Support

When you say the tabs do not respond, do you mean the buttons for inserting and image or file? There's a few other people reporting that issue here - is what they're saying the same as what you're seeing, or do you believe this is a different issue from those?

Hey Drew,

Yes, I am referring to the buttons and yes I believe this is the same issue that I am having.

Thanks, Jp

I'm having this issue too, any ideas on how to fix?

The ajax request comes back with this response error:

<b>Notice</b>:  Undefined index: bucket in <b>/Users/Andrew/Code/llwperch/perch/core/apps/assets/async/get-assets/index.php</b> on line <b>56</b><br />
{"assets":[]}

So it's looking like a bucket issue. I'm just using the default bucket for all my assets, I haven't defined any new buckets.

I was able to get the file and image uploads in Redactor to work by turning on 'Enforce bucket restrictions on content' in settings.

@Andrew,

Thanks, this has also worked for me :D

Jp