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.

Upgrading EE from 2.1.3 to 2.4 and all images gone

April 12, 2012 11:36am

Subscribe [2]
  • #1 / Apr 12, 2012 11:36am

    adsmart

    24 posts

    This is the 3rd time today I have tried upgrading and each time I do all the images uploaded via customer fields are no longer showing or mapped to the field.

    When I go into my file manager I can’t see a synchronize option either.

    I followed the upgrade steps as per the EE guide.

    Can someone shed some light on this, the first time I upgraded I did so to version 2.2 and it was fine but then upgrading to 2.4 gave me an error so I reverted back to the original database backup and files then upgraded from 2.1.3 to 2.4 and it went without hitch but obviously now I have this glaring issue with regard to images, there are over 1000 images in the site so manually trying to map or upload them again is NOT an option.

  • #2 / Apr 12, 2012 12:08pm

    glenndavisgroup

    436 posts

    Hi Netsmart,

    Go into the CP and under “Tools > Data > SQL Manager > Manage Database Tables” and look for the “exp_upload_prefs” table. Click the browse button on the right. Do you see anything in that table?

    Mike

  • #3 / Apr 12, 2012 12:10pm

    adsmart

    24 posts

    Hi Mike,

    Yes - I see two results - the two downlaod directories I have setup, one called “Images” the other called “Downloads”

  • #4 / Apr 13, 2012 4:33am

    adsmart

    24 posts

    Anyone? I need to resolve this asap, can EE support cast an eye please.

  • #5 / Apr 13, 2012 10:21am

    Shane Eckert

    7174 posts

    Hey Netsmart,

    I am sorry to hear you are running into this problem.

    If you are not getting a sync button, then something is not right, aside from the fact that you will not be able to see the images until you sync.

    Can you double check to make sure you do not see the sync button? It should be in the Control Panel under Content->Files->File Manager and then click on File Upload Preferences.

    Another thing to check is the path to the upload destinations. Double check “Server Path to Upload Directory” and “URL of Upload Directory”.

    Cheers,

  • #6 / Apr 13, 2012 10:30am

    adsmart

    24 posts

    Unfortunately I have to roll back to pre-upgrade version of the site because I can not leave the site live with no graphics showing.

    Back on version 2.1.3 I now get this error when I go to Admin > Content Administration > File Upload Preferences

    Fatal error: Call to undefined method EE_Session::cache() in /usr/local/pem/vhosts/webspace/httpdocs/sitename/framework/expressionengine/libraries/EE_Table.php on line 56


    File upload paths were and have been fine because the client has been publishing products to their catalogue.

    Now aside from the issue I was having and this new one, why is it that when following the upgrade instructions no images are been retained in the file upload custom fields? I am very, very reluctant to upgrade any other sites if this is going to be an issue.

  • #7 / Apr 16, 2012 12:15pm

    adsmart

    24 posts

    Noticing now this error occurs when I try and visit any admin page - the only ones I can get to from the CP is publish and edit.

  • #8 / Apr 17, 2012 12:48pm

    Shane Eckert

    7174 posts

    Hello Netsmart,

    How did you roll back? Did you pull the backup or did you re-upload the old files and an older copy of the DB?

    It sounds like things are not truly rolled back, calls to undefined methods usually come from ExpressionEngine being in a 1/2 way updated state or Add-Ons that need to be updated.

    What version does your config.php file say you are on? It should read “213”.

    Please let me know.

    Cheers,

  • #9 / Apr 18, 2012 4:06am

    adsmart

    24 posts

    Hi Shane,

    All old files were re-uploaded and the old database - the config.php has the old 2.1.3 version number in it.

  • #10 / Apr 19, 2012 1:10pm

    Shane Eckert

    7174 posts

    Hi Netsmart,

    That call belongs to a newer version of ExpressionEngine. When you uploaded the old files, was it overwriting the directory or did you swap out the folder. Seems like one or two files are still hanging around from the attempted upgrade.

    Can you rename the current files and folder and then upload the old files again?

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases