Forum

Thread tagged as: Problem, Error

No matching assets found - SimpleMDE Asset

Hi,

Trying to upload an asset inline in the blog app, and it returns "No matching assets found". No filters are set, just doesn't appear to find assets. Diagnostics below.

Perch Runway: 3.0.9, PHP: 7.1.5, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_blog (5.6.1), perch_forms (1.9) App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms' ]; PERCH_LOGINPATH: /admin PERCH_PATH: /var/sites/w/public_html/admin PERCH_CORE: /var/sites/w/public_html/admin/core PERCH_RESFILEPATH: /var/sites/w/public_html/admin/resources Image manipulation: GD PHP limits: Max upload 100M, Max POST 100M, Memory: 128M, Total max file upload: 100M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes DOCUMENT_ROOT: /var/sites/w/public_html HTTP_HOST: my_domain.com REQUEST_URI: /admin/core/settings/diagnostics/ SCRIPT_NAME: /admin/core/settings/diagnostics/index.php

Ryan Gittings

Ryan Gittings 1 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the role have permission to access any buckets? Do those buckets contain assets that match the type you're trying to upload?

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

I think so, if I go to "By Bucket", then selected default, they show. But by default I get no matching assets.

I've got "Default" bucket ticked with "Make Default" too. If I go to an "Image" region they show up fine, but if it's a asset upload via textarea, just doesn't show me them.

Cheers!

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me your template tag?

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

<perch:blog id="postDescHTML" type="textarea" label="Post" order="2" editor="simplemde" markdown="true" size="xxl autowidth" html="true" required="true" />

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, we'll take a look, thanks.

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

Thanks Drew, got a client needing to add some inline images. Is it safe to roll back until a fix is out?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Were you having any problems before?

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

Not in 3.0.8, nope

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great.

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

Did this get patched in 3.0.10? I want to make sure it's working before upgrading, cheers Drew.

Drew McLellan

Drew McLellan 2638 points
Perch Support

I did make some changes to this in 3.0.10, but I don't know if it affects your site or not. As always, I'd recommend updating your dev copy first and testing there.

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

Tried locally, hasn't been patched yet! Will keep an eye out for updates, thanks Drew.

Ryan Gittings

Ryan Gittings 1 points
Registered Developer

To my knowledge this hasn't been fixed, it's such a core piece of functionality! Any update as to when it's going to be fixed?

Nearly a month now and I can't upgrade my clients software to use the Assets roles functionality in Runway :(

Cheers

Drew McLellan

Drew McLellan 2638 points
Perch Support

We'll look into it.