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.

Safecracker Outdated Code

July 16, 2012 6:08pm

Subscribe [2]
  • #1 / Jul 16, 2012 6:08pm

    JAT Webmaster

    2 posts

    After the 2.5.2 installation in the developer log I get the following message:

    The system has detected an add-on that is using outdated code that may stop working or cause issues with the system. What does this mean?
    Deprecated function get_upload_preferences() called in /home/jat/webapps/jat_ee/jat_ee_cp/expressionengine/third_party/safecracker_file/ft.safecracker_file.php on line 242.
    Deprecated since 2.4. Use File_upload_preferences_model::get_file_upload_preferences() to support config variable overrides instead.

    Looking in Add-ons, modules my Safecracker version is 2.1

    Since it appears that Safecracker is now integrated into EE and there is no longer a separate download and installation, what should be done to eliminate this problem?

    Thank you. 

  • #2 / Jul 17, 2012 7:09am

    Hi,

    Since it appears that Safecracker is now integrated into EE and there is no longer a separate download and installation, what should be done to eliminate this problem?

    You need to migrate your code to the SafeCracker module integrated into EE: http://ellislab.com/expressionengine/user-guide/modules/safecracker/index.html so that your templates do not rely on any depreciated/outdated plugins.

    Then you can remove the old and outdated SafeCracker add-on.

  • #3 / Jul 17, 2012 7:36am

    JAT Webmaster

    2 posts

    Thank you.

  • #4 / Jul 17, 2012 4:32pm

    Shane Eckert

    7174 posts

    Hey JAT Webmaster,

    Looks like Michael has helped you out here!

    Thanks again Michael!

    If you need anything else, please just let me know by opening a new thread.

    Thank you,

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

ExpressionEngine News!

#eecms, #events, #releases