ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem with file field in 2.5.2

July 25, 2012 7:50pm

Subscribe [1]
  • #1 / Jul 25, 2012 7:50pm

    Tyssen

    756 posts

    I’ve noticed this on a couple of sites I’ve been working on locally but have put it aside in case it was just my local environment that was at fault, but now I’ve got a site in production where the problem is occurring, and it seems to only have started happening after upgrading to 2.5.2.

    When adding a file to a normal file field you can upload the file to the file manager OK (and you can see it in the file manager fine) and when the modal window closes, you can see the thumbnail in place. But after saving the entry, the thumbnail preview is broken and the image doesn’t appear in templates. Looking in the db, the data is getting saved without the {filedir_x} in front of the file name.

    This is with stand-alone file fields. However, if you try the same thing with a file field in a matrix, the data is saved OK.

    The site in question had hundreds of files saved correctly when it was on 2.5.0, so it seems the problem has only occurred with 2.5.2.

    Has anyone else had this? Do I need to add this to the bug tracker?

  • #2 / Jul 27, 2012 12:10am

    Tyssen

    756 posts

    I’ve disabled extensions, have removed all accessories and nearly all the modules too (only channel, comment, email and file still active), and have deleted the publish layout but am still getting the same result.

  • #3 / Jul 27, 2012 8:22am

    Tyssen

    756 posts

    Problem solved - uploading the contents of the themes folder again fixed it.

  • #4 / Jul 27, 2012 10:18am

    Kevin Smith

    4784 posts

    Very good, John! Glad to see you got it all fixed up.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases