Page 1 of 1

Header Image: Error retrieving file list

Posted: Tue Aug 20, 2013 11:06 am
by gsp
In edit content page of admin panel this shows the error

"Header Image:
Error retrieving file list"

Please refer attached screen shot and suggest to clear this

Version is: CMS Made Simpleā„¢ 1.11.4 "Fernandina"

Thanks

Re: Header Image: Error retrieving file list

Posted: Tue Aug 20, 2013 12:35 pm
by velden
I would think of a {content_image} tag in your template with a wrong value for the dir parameter or folder exists and is empty (or wrong permissions on folder but don't think so).

Re: Header Image: Error retrieving file list

Posted: Wed Aug 21, 2013 5:30 am
by gsp
Hi

The path of the folder is uploads/images/headers

so when I changed from images/headers to uploads/images/headers, in admin the drop down for header images comes up fine

but in site the header image path is taken as "http://www.site.com/uploads/uploads/images/headers and so image is not getting displayed. How to resolve this. Please suggest.

Thanks

Re: Header Image: Error retrieving file list

Posted: Wed Aug 21, 2013 6:34 am
by velden
Value of dir parameter should be relative to the uploads directory. So 'uploads/' itself should not be present in the value.

Double check your config.php for the following references:

root_path
root_url
uploads_path
uploads_url

If they exist make sure their values make sense. (on laters versions of cmsms you could also comment them out, cmsms would try to automatically determine paths).
If they don't exist try to solve your problem by creating them and giving them proper values.

\doc\CMSMS_config_reference.pdf could be an useful reference (in your cmsms installation)