Forum

Thread tagged as: Problem, Error

Asset upload error

I have the same issue as https://forum.grabaperch.com/forum/08-23-2017-asset-upload-script-error: can't upload any assets, an error appears in the JS console ("This file can't be queued because it has already been processed or was rejected.").

There is no "Buckets" tab on the Roles screen. Using an admin account which should have all permissions. Clean install of latest Perch version.

Perch: 3.0.9, PHP: 5.6.31, MySQL: 5.5.32, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9)
App runtimes: <?php $apps_list = [ ];
PERCH_LOGINPATH: /cms
PERCH_PATH: /home/xxxxxx/public_html/xxxxxx/cms
PERCH_CORE: /home/xxxxxx/public_html/xxxxxx/cms/core
PERCH_RESFILEPATH: /home/xxxxxx/public_html/xxxxxx/cms/resources
Image manipulation: GD
PHP limits: Max upload 128M, Max POST 128M, Memory: 768M, Total max file upload: 128M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: xxxxxxx.com
DOCUMENT_ROOT: /home/xxxxxx/public_html/xxxxxx
REQUEST_URI: /cms/core/settings/diagnostics/
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
Stéphane Mégécaze

Stéphane Mégécaze 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us your template tag?

I've downgraded to Perch 3.0.8 and it works fine.

Here is a template for reference.

<div id="intro-slider">
    <figure class="figure">
        <a href="<perch:content type="image" id="image" label="Image" bucket="picture" width="2400" height="2400" order="1" />?size=full" class="lightbox-image" target="_blank" title="<perch:if exists="lightbox_title_en"><perch:if id="lang" match="eq" value="en"><perch:content id="lightbox_title_en" type="text" size="l" label="Title in lightbox" help="Optional but recommended for SEO (different from caption)" title="true" order="3" /></perch:if><perch:if id="lang" match="eq" value="th"><perch:if exists="lightbox_title_th"><perch:content id="lightbox_title_th" type="text" size="l" order="6" label="Title in lightbox (Thai)" /><perch:else /><perch:content id="lightbox_title_en" type="text" /></perch:if></perch:if><perch:else /><perch:content type="text" id="caption_en" /></perch:if>">
            <img src="<perch:content type="image" id="image" label="Image" bucket="picture" />" alt="" width="<perch:content id="image" type="image" output="w" />" height="<perch:content id="image" type="image" output="h" />" />
        </a>
        <figcaption>
            <p><perch:if id="lang" match="eq" value="en"><perch:content id="caption_en" type="text" size="l" textile="true" label="Caption (English)" required="true" title="true" order="2" /></perch:if><perch:if id="lang" match="eq" value="th"><perch:if exists="caption_th"><perch:content id="caption_th" type="text" size="l" textile="true" order="5" label="Caption (Thai)" divider-before="Thai" /><perch:else /><perch:content id="caption_en" type="text" /></perch:if></perch:if></p>
        </figcaption>
    </figure>
</div><!-- /#intro-slider -->
Drew McLellan

Drew McLellan 2638 points
Perch Support

Which field are you having problems with?

The image field which is storing images in the "picture" bucket.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, we'll take a look.

Does it work if you add the bucket to your buckets list?

For anyone experiencing the same issue, it was a bug in Perch 3.0.9 and has been fixed in 3.0.10