Forum
Assets empty when using text editor
When adding a blog post...
If I try to add an image in the textarea, using redactor, the 'Select An Asset' modal is empty, but should be full of images used elsewhere on the site. If I go to upload an image, it doesn't appear in the same assets modal to then add to the post, BUT it does appear if I search for it in the same modal and it does appear in the general assets area.
Perch: 3.0.9, PHP: 7.0.1, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 7e72f9690b1498a1bead7a637c33a831c0d2f655 $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_blog (5.5.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/sites/0/05creative.com/public_html/perch
PERCH_CORE: /var/sites/0/05creative.com/public_html/perch/core
PERCH_RESFILEPATH: /var/sites/0/05creative.com/public_html/perch/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/0/05creative.com/public_html
HTTP_HOST: 05creative.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
post.html
<article class="h-entry">
<div class="post-header">
<div class="row padded featured-img">
<div class="small-7 small-centered columns post-title">
<h1 class="font-two">
<perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" value="true" />
</h1>
</div>
</div>
</div>
<div class="row padded featured-img">
<div class="small-12 medium-7 small-centered medium-centered columns post-title">
<perch:if exists="image"><img class="blog-list-img" src="<perch:blog id="image" type="image" density="2" quality="85" crop="true" width="365" height="246"/>" alt="<perch:blog id="altTag" type="text" label="Image Alt Text" required="true" />" /></perch:if>
</div>
<div class="small-12 medium-7 small-centered medium-centered columns post-title">
<div class="blog-description e-content">
<perch:blog id="postDescHTML" type="textarea" label="Post" order="2" editor="redactor" html="true" size="xxl autowidth" required="true" />
</div>
</div>
</div><!-- .columns -->
</div><!-- .row -->
<div class="row padded">
<div class="small-12 medium-7 small-centered medium-centered columns">
<div class="blog-author-share">
<p class="blog-author small-12 medium-6 columns">BY <perch:blog id="author" type="text" label="Author" order="2" markdown="true" size="m" required="true" /><br>
<time class="dt-published" datetime="<perch:blog id="postDateTime" type="date" label="Date" time="true" format="Y-m-d H:i:s" divider-before="Publishing" />">
<perch:blog id="postDateTime" type="date" time="true" format="%d %B %Y" />
</time>
</p>
</div><!-- .blog-author-share -->
<p class="meta">
<perch:categories id="categories" set="blog" label="Categories" display-as="checkboxes" suppress="true">
<a href="archive.php?cat=<perch:category id="catSlug" type="slug" />" class="p-category">
<perch:category id="catTitle" type="text" />
</a>
</perch:categories>
</p>
</div><!-- .column -->
</div><!-- .row -->
</article>
<perch:blog id="image" type="image" width="500" height="500" crop="true" suppress="true" quality="100"/>
How many buckets do you have configured?
Im just using one default bucket - I have this in my config.php
In the modal the images appear if I filer by Buckets and then choose 'default'. But Id like them all to appear as soon as the modal pops up.
Ok, we'll take a look at that case.