Forum

Thread tagged as: Problem, Error

Cannot Upload To Assets

Hi

I cannot seem to be able to upload to assets via the page's popup window either by dragging & dropping or by selecting the file. Uploading directly to assets is working fine.

Getting this error message in Console..

/perch/core/assets/js/static/10.10.23f8a1427c17ade109a3.js:2

Uncaught Error: This file cant be queued because it has already been processed or was rejected.
at t.enqueueFile (10.10.23f8a1427c17ade109a3.js:2)
at 10.10.23f8a1427c17ade109a3.js:2
at t.accept (10.10.23f8a1427c17ade109a3.js:1)
at t.accept (10.10.23f8a1427c17ade109a3.js:2)
at t.addFile (10.10.23f8a1427c17ade109a3.js:2)
at HTMLInputElement.<anonymous> (10.10.23f8a1427c17ade109a3.js:2)

Diagnostics...

Perch Runway: 3.0.10, PHP: 7.0.22, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.0.10), assets (3.0.10), categories (3.0.10), perch_blog (5.6.1), perch_forms (1.9.1)
App runtimes: <?php $apps_list = [ 'perch_forms', 'perch_blog' ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/wga/CXPB7A7M/htdocs/perch
PERCH_CORE: /home/wga/CXPB7A7M/htdocs/perch/core
PERCH_RESFILEPATH: /home/wga/CXPB7A7M/htdocs/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 128M, Memory: 256M, Total max file upload: 128M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: wga.dns-systems.net
DOCUMENT_ROOT: /home/wga/CXPB7A7M/htdocs/
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Glen Piggott

Glen Piggott 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The file is being rejected due to bucket permissions.

Hi Drew

There was no bucket, this was the first image being uploaded to a new bucket.

Is there an issue with creating new buckets?

I had to set up the bucket via /perch/config/buckets.php in order to then upload the image via assets itself (which all worked the first time)

Glen

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, there may be. It's something I'm going to look into.