File manager won't display any files

Permalink
Hi, everyone! I'm a new C5 developer who's "drinking from the firehose" when it comes to create a C5 website. :)

I'm encountering a seemingly weird behavior, and I don't know if it's a bug or a feature. Can anyone help?

The problem: I've uploaded a bunch of images. When I insert an Image block, I see them all, and can select one without issue. No problem so far.

I've created a new page type that will show a page thumbnail. For this page type, I've added a custom page attribute of type file/image. When I create a page of this page type, and click "Choose a file" from the page attribute, the file manager dialog opens but displays nothing. It's like there are no available files or images in the system. (I have both types of files, but nothing is shown.)

If I continue creating the page, then edit it and insert an image block, I get the option to "choose an image" and the file manager dialog shows all the images available, as I would expect. So I know there are images in there and C5 knows about them.

Same file manager dialog, two different results. When I create a page attribute, do I have to do something special to get it to show images, or even anything at all? Since there are many messages in this forum for people who seem to be doing what I'm doing and being very successful at it, I'm guessing I'm just doing something wrong. But what?

I'm running 5.3.3.

Thanks in advance for any help!

 
okhayat replied on at Permalink Reply
okhayat
As far as I remember, this was a bug in 5.3.3. Simply upgrade to 5.3.3.1 and it should be fixed.
Download it from here:
http://www.concrete5.org/developers/all_downloads/...
TheTallGuy replied on at Permalink Reply
Thanks for the suggestion...

Downloaded the upgrade, copied the "concrete" folder into my web tree, went to the dashboard and clicked on the message to finish the upgrade process. Which seems to have worked, if the version number on the dashboard is any indication.

But I'm still having the same problem. No images or files appear when I click on "Choose File" in the custom attribute. I still get a dialog that shows no files whatsoever.

Has anyone gotten the "Image/file" custom page attribute to work correctly, and what version of the product was it?
synlag replied on at Permalink Reply
synlag
it works w/ 5.3.3.1
but i can't display it in my page list, it throws
'Catchable fatal error: Object of class File could not be converted to string ...'
and i haven't figured out why so far
TheTallGuy replied on at Permalink Reply
How did you set up the thumbnails? Here's what I did:

1. In the Dashboard, I went to "Pages & Themes", then "Page Types"

2. In the "Page Attributes" area, I clicked "Add Page Attribute"

3. I chose "Image/File", then clicked "Go" to get the next set of options.

4. In the "Handle" box I entered "Photo", and for "Name" I entered "thumb". I did not select either of the search options.

5. I clicked "Add Attribute" to complete the form.

6. For my specific page type, I clicked "Edit", and under "Available Metadata Attributes" I chose my new "Photo" attribute. Then I clicked "Update Page Type".

7. In the "Sitemap" section, I clicked on a page, chose "Design", selected the custom page type and then clicked "Save". Now that page should have the new custom attribute.

8. I clicked on the page again, chose "Properties", then the "Custom Fields" tab. There's the "Photo" field. I click on it to open the File Manager. Which show the filter and upload controls, but no files or images.


What are you doing that's different?

Contrast this to when I'm editing a page and insert an "Image" block. The File Manager shows a long list of images. But for custom properties, it doesn't show any.
synlag replied on at Permalink Reply
synlag
but at step 8, the file manager displays all files. i had this issue w/ 5.3.3, and it went away with 5.3.3.1.
could you setup a frsh install w/ 5.3.3.1 and see if it happens too?