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.

EE2.2 safecracker PHP error

June 22, 2011 6:10pm

Subscribe [5]
  • #1 / Jun 22, 2011 6:10pm

    stphnmartin

    28 posts

    Updated from 2.1.3 to 2.2.0 on a wamp setup and am receiving a PHP error:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: require_once(.../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

    Looks like the ft.file.php has been moved into a directory in EE 2.2.0 whereas previously it was in the root of the fieldtypes directory.

    Any fixes for this?

  • #2 / Jun 23, 2011 7:23am

    Dominik O.

    1 posts

    Same problem here.

    Safecracker has moved from third- to first-party add-on as of EE 2.2, and it seems that a pre-existing “safecracker” folder in “system > expressionengine > third_party” causes a conflict. Try this: remove that folder — but leave “safecracker_file” at the said location — to fix the issue.

  • #3 / Jun 23, 2011 10:38am

    Sue Crocker

    26054 posts

    Thanks for the assist, Dominik O.

    stphnmartin, here are the steps to take:

    1. Remove the old third_party/safecracker folder.

    2. Replace the old third_party/safecracker_file since that’s still in third party.

    We’re adding this to a versions note in the docs. Sorry for the confusion.

  • #4 / Jun 23, 2011 11:50am

    Kyle Cotter

    730 posts

    Hi stphnmartin,

    Does Sue’s and Dominik O.‘s answer help you out?

    Thanks!

  • #5 / Jun 23, 2011 3:45pm

    stphnmartin

    28 posts

    Haven’t had a chance to circle back and try it. I’ll let you know when I do.

  • #6 / Jun 23, 2011 6:09pm

    Sue Crocker

    26054 posts

    Sounds good. We’ll be here.

  • #7 / Jun 26, 2011 10:53am

    David S

    110 posts

    Thanks for the assist, Dominik O.

    stphnmartin, here are the steps to take:

    1. Remove the old third_party/safecracker folder.

    2. Replace the old third_party/safecracker_file since that’s still in third party.

    We’re adding this to a versions note in the docs. Sorry for the confusion.

    Hi Sue!
    I also have this problem.
    And I have to admit I dont understand No.2… With what should I replace the safecracker_file-directory?

    /David

  • #8 / Jun 26, 2011 3:39pm

    David S

    110 posts

    Thanks for the assist, Dominik O.

    stphnmartin, here are the steps to take:

    1. Remove the old third_party/safecracker folder.

    2. Replace the old third_party/safecracker_file since that’s still in third party.

    We’re adding this to a versions note in the docs. Sorry for the confusion.

    Hi Sue!
    I also have this problem.
    And I have to admit I dont understand No.2… With what should I replace the safecracker_file-directory?

    /David

    AhI I got it!
    Right here!

  • #9 / Jun 28, 2011 1:59am

    Kyle Cotter

    730 posts

    Hey David S, glad you got it figured out! 😊

    stphnmartin,

    Have you had a chance to try out these suggestions yet?

    Thanks!

  • #10 / Jun 28, 2011 6:10am

    David S

    110 posts

    Hey David S, glad you got it figured out! 😊

    stphnmartin,

    Have you had a chance to try out these suggestions yet?

    Thanks!

    Well, these suggestions, honestly, only confused me. In this thread Aircrash finally phrased it in a way I could grasp.

  • #11 / Jun 28, 2011 9:09pm

    Lisa Wess

    20502 posts

    Glad you got it figured out, David. Sorry for the verbiage confusion.

    Just to reiterate for future searchers:  when you download EE 2.2, third_party will have safecracker_file in it; upload that to your servers third_party folder and that should work.

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

ExpressionEngine News!

#eecms, #events, #releases