CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#7066] content_image tag error

avatar
Created By: Marloes G (alassea)
Date Submitted: Mon Oct 31 17:25:42 -0400 2011

Assigned To:
Version: 1.10
CMSMS Version: 1.10
Severity: Trivial
Resolution: Works For Me
State: Closed
Summary:
content_image tag error
Detailed Description:
When I use the content_image tag in my template like this:
{content_image block='image1' dir='website'}

the edit page shows this:

image1:
Error retrieving file list


The folder 'website' does exist in the uploads folder, and is not empty.
Removing dir='website' makes no difference.


History

Comments
avatar
Date: 2011-11-02 17:04
Posted By: Robert Campbell (calguy1000)

We've tested and cannot reproduce this problem.
      
avatar
Date: 2012-03-02 10:23
Posted By: Ronny Krijt (ronnyk)

Closed. Please re-open if more information is available.
      
avatar
Date: 2012-09-07 01:55
Posted By: catchlight (catchlight)

Hi  Marloes,

Did you place images/ before your website directory? 

The system is probably trying to look into the uploads folder which may be
protected via htaccess

{content_image block='image1' dir='website'}
change to
{content_image block='image1' dir='images/website'}

regards,

Brock
      
avatar
Date: 2012-12-11 14:04
Posted By: Eric Pesser (heriquet)

If that can help: I also got this error using templage "CSSMenu top + 2 columns"
in a fresh 1.11.3 install.

Could solve it by replacing double-quotes by simple quote.

=> {content_image block="Header Image" dir="images/header"} give an error
=> {content_image block='Header Image' dir='images/header'} is ok

Don't know why but hope this helps!
      
Updates

Updated: 2012-03-02 10:23
state: Open => Closed

Updated: 2011-11-02 17:04
resolution_id: => 11