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.

Images in EE 2.5.2

June 08, 2012 3:51pm

Subscribe [2]
  • #1 / Jun 08, 2012 3:51pm

    Eric Miller

    50 posts

    Hello,

    I have just upgraded from 2.1 to 2.5.2. Initially I had many missing images, but synced my file directories as suggested in the docs, which fixed many but not all.

    The images that are not working appear to all have [1] at the end of the filename, likely re-uploaded by client with the same name creating a duplicate. In the sync or upgrade, these appear to have been renamed without the “[]” around the 1.

    All are using EE field type “file.”

    Even if I rename the file, or even if I create and upload a new file completely, I cannot fix the issue. I have tried the following:

    1. Selecting the renamed image, as opposed to the [1] version. Result: page does not load (white blank page)
    2. Create a new image entirely, upload via FTP, and select as the image: same result
    3. Upload via the file field. result: php errors in upload window and “null” in field…

    A PHP Error was encountered
    Severity: Notice

    Message: Trying to get property of non-object

    Filename: libraries/Filemanager.php

    Line Number: 2349

    (there are many more php errors not listed here)

    4. Edit field prefs, which also has php errors on page (appear to be Matrix related, though field type is not Matrix):

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined index: field_content_options_file
    Filename: celltypes/file.php
    Line Number: 47

    A PHP Error was encountered
    Severity: Warning
    Message: Invalid argument supplied for foreach()
    Filename: helpers/form_helper.php
    Line Number: 324

    5. As a test, select an image that is already working on other entries. result: this works.

    Any help greatly appreciated…

    Eric

  • #2 / Jun 08, 2012 3:55pm

    Eric Miller

    50 posts

    Update: There appear to be issues related to file upload throughout the CP. IE, in the File Manager menu under Content I see:

    nav_file_manager
    File Upload Preferences
    nav_file_watermark_preferences

    Under File Upload Prefs I am seeing similar display issues where the short_name is showing.

  • #3 / Jun 08, 2012 4:22pm

    Eric Miller

    50 posts

    Sorry for the repeated posts. I have narrowed this down to an issue with imgsizer, at least on the front end display.

    I have also fixed some of the display issues in the CP as there were some missing lang files that did not upload.

    Still seeing php errors, and any help with imgsizer would be appreciated.

  • #4 / Jun 11, 2012 11:09am

    Shane Eckert

    7174 posts

    Hello Eric,

    Thanks for keeping the thread up to date.

    Can you please email the imgsizer developers about this error, it sounds like it’s the Add-On throwing the error.

    Thank you,

  • #5 / Jun 11, 2012 11:34am

    Eric Miller

    50 posts

    Hi Shane, thanks for the reply. Will do.

    If anyone is reading along, narrowed this down further to a connection between imgsizer and URL segments, as the plugin breaks the page only on pages with longer segments.

  • #6 / Jun 13, 2012 2:48pm

    Shane Eckert

    7174 posts

    Hey Eric,

    Thanks for letting us know!

    Will be on the lookout for an update from you.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases