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.

PHP fieldtype Error on Upgrade to 2.5.0

May 14, 2012 12:43pm

Subscribe [1]
  • #1 / May 14, 2012 12:43pm

    Neo Mudaly

    90 posts

    Hi,

    I’ve just upgraded to 2.5.0.

    I’m getting this error when I click on Addons > Fieldtypes in Admin.

    Severity: Warning

    Message: require_once(/www/.../.../.../expressionengine/fieldtypes/ft.file.php) [function.require-once]: failed to open stream: No such file or directory

    Filename: safecracker_file/ft.safecracker_file.php

    Line Number: 3

     


    Some of my custom fields are subsequently not working.

    The file structure in the fieldtype folder is different from 2.1.3.
    Now, each fieldtype is in a folder. I’ve tried just deleting the folders but this ends up crashing the site.

     

     

  • #2 / May 15, 2012 11:08am

    Dan Decker

    7338 posts

    Hi Neo Mudaly,

    Sorry for the trouble you’ve had with updating ExpressionEngine!

    First thing to do is make sure you have updated versions of any third-party field types.

    Them, make sure the *only* SafeCracker reference in /system/expressionengine/third_party is safecracker_file and that it is the version from the 2.5 download. SafeCracker has been rolled into ExpressionEngine Core, except for the fieldtype.

    Let me know if you have further questions.

    Cheers!

  • #3 / May 15, 2012 11:26am

    Neo Mudaly

    90 posts

    Yep, that’s done the trick.

    Thanks, Dan

  • #4 / May 18, 2012 4:55pm

    Dan Decker

    7338 posts

    Hey Neo,

    Thanks for letting me know!

    If you need anything else, just ping a new thread.

    Cheers!

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

ExpressionEngine News!

#eecms, #events, #releases