We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Error, Runway

Asset issues


I've discovered a few issues with Assets this morning and am logging them here in one block. I hope that's ok.

1 Asset window blurred in Safari 10.1.2 (12603.3.8)

I think that Safari's latest update is not liking the css transform set on the modal box. I've tried this in 3.0.9 and 3.0.8 and it's the same result. Turning off the transform in dev tools gets rid of the blurring.

2 Markdown image button disabled

I'm not sure if this behaviour has changed but the markdown toolbar image button does not bring up the asset modal window in 3.0.9. I've checked a site running 3.0.8 and it works fine. Both sites I've updated to 3.0.9 no longer do anything. There is no js error either.

3 Asset upload failing

I am trying to add a new image to a newly created bucket (the folder of which is created just fine when the template is added). When I upload an image nothing happens except in the js console I am getting the following error (same result in latest Safari and Firefox):

Error: This file can't be queued because it has already been processed or was rejected.

n</t.prototype.enqueueFile https://dev.ellipress.co.uk/perch/core/assets/js/static/10.10.ab805d13c20751d6975a.js:2:13602
    n</t.prototype.addFile/</< https://dev.ellipress.co.uk/perch/core/assets/js/static/10.10.ab805d13c20751d6975a.js:2:13347
    accept https://dev.ellipress.co.uk/perch/core/assets/js/static/10.10.ab805d13c20751d6975a.js:1:19135
    n</t.prototype.accept https://dev.ellipress.co.uk/perch/core/assets/js/static/10.10.ab805d13c20751d6975a.js:2:12941
    n</t.prototype.addFile https://dev.ellipress.co.uk/perch/core/assets/js/static/10.10.ab805d13c20751d6975a.js:2:13215
    n</t.prototype.init/o</</< https://dev.ellipress.co.uk/perch/core/assets/js/static/10.10.ab805d13c20751d6975a.js:2:5814

I can upload images to any other bucket. Just not the one set in the template:

<img srcset="<perch:content id="article_image" type="image" width="410" density="2" bucket="content"/> 2x" src="<perch:content id="article_image" type="image" width="410" density="1" bucket="content"/>" alt="<perch:content id="article_image_alt" type="text" label="Image alt" />">

The newly created bucket also does not appear in the Assets app, nor in the bucket filter list in the modal Asset screen.

I haven't added any buckets so far into the buckets.config file. All other buckets have been created just fine through templates up to this point (pre 3.0.9)

Many thanks in advance,


    Perch Runway: 3.0.9, PHP: 7.0.20, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $, with PDO
    Server OS: Darwin, apache2handler
    Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_forms (1.9.1), perch_shop_orders (1.2.4), perch_shop_products (1.2.4), perch_shop (1.2.4), perch_members (1.6.2), perch_mailchimp (3.1)
    App runtimes: <?php $apps_list = [ 'perch_mailchimp', 'perch_members', 'perch_shop', 'perch_forms', ];
    PERCH_PATH: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk/perch
    PERCH_CORE: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk/perch/core
    PERCH_RESFILEPATH: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk/perch/resources
    Image manipulation: GD
    PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
    F1: 3b606135b33e6a102526838f4152a807
    Resource folder writeable: Yes
    HTTP_HOST: dev.ellipress.co.uk
    DOCUMENT_ROOT: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk
    REQUEST_URI: /perch/core/settings/diagnostics/
    SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Jonathan Elliman

Jonathan Elliman 27 points

  • 2 years ago

NB Update on issue 3 above.

Once the bucket is created through the buckets.config file, this error goes away, even when you delete the bucket arrray in the config file.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you added permission for the role to use the bucket?

No I hadn't, but I am logged in as Primary Admin so presumably that shouldn't apply to my case? BTW I didn't even realise that had been added. Nice feature!

If I add a bucket using a template, the folder is created in resources but it is not visible in admin including the role page, so I couldn't add it to the role anyway. If you get my gist!

Drew McLellan

Drew McLellan 2638 points
Perch Support

Does it have assets in it?

There are no assets in the bucket.

Drew McLellan

Drew McLellan 2638 points
Perch Support

If you upload one, does it then appear?

Hi Drew

I can't upload any files using Perch Admin as the bucket doesn't appear in Assets app dropdown and upload fails (js error above) if I use the Asset Chooser in a region that refers to the new bucket. The destination folder is listed corrrectly in the Asset Chooser file upload screen.

If I ftp (or copy in my case) a file to the bucket folder it still doesn't register in either app, nor the bucket list in Roles.

To recap, I can circumvent this by adding the folder path to the buckets.config file.


Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great.

Hi, We're having the exact same issue with the Assets. In all previous instances of using perch, we could simply add the bucket to the perch:content tag and it would work.

Has the process of setting up/using buckets changed, or is this a bug? If it is a bug, when can we expect that it will be fixed?

Thanks in advance.