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 problem

September 27, 2011 4:13pm

Subscribe [6]
  • #1 / Sep 27, 2011 4:13pm

    emagine media

    65 posts

    This question may be related to a resolved thread.

    Upgraded from 2.1.3 to 2.2.2 and now safecracker is kicking off.

    I removed safecracker from the third party folder and uploaded the new safecracker_file folder to third_party

    Safecracker is listed as a module to install, and when installed it is version 2.0

    When I click into the extension settings, I get no error and everything looks fine.

    When I use the form in a template, I get the following error:

    Fatal error: Cannot access protected property EE_Loader::$_ci_cached_vars in /var/www/vhosts/site.com/httpdocs/system/expressionengine/modules/
    safecracker/libraries/safecracker_lib.php on line 900

    Any ideas?

     

  • #2 / Sep 27, 2011 4:31pm

    emagine media

    65 posts

    completely uninstalled safecracker from the system folder and removed safecracker_file folders as well, and still safecracker appears in the module list. Should this be somewhere else that hasn’t been updated?

  • #3 / Sep 27, 2011 6:08pm

    GDmac - expocom

    350 posts

    Safecracker is not a third-party module anymore, it’s a first party module now. It’s inside the modules folder.

    edit: that error is from an older version of safecracker,
    install the one that came with 2.2.2 and make sure it’s in /expressionengine/modules

    For troubleshooting, start with a simple form (from the docs) first, and check if the module and basic parameters and fieldtypes etc. work, after that add in the more exotic elements, fieldtypes and/or javascripts. In general, to get a good feel for SC, i set up a local development server and made a simple test-channel with SafeCracker form, just to try out all the various parameters and settings, what they do, how they behave and how they affect the form in their various ways.

  • #4 / Sep 28, 2011 7:18am

    Sue Crocker

    26054 posts

    Thanks for the assist, GDMac.

    As GDMac mentioned, SafeCracker now comes in the /system/expressionengine/modules folder. Is that where you removed it?

  • #5 / Dec 06, 2011 11:40am

    ramseymedia

    51 posts

    Nevermind. Safecracker_file should be good to go in the third_party directory.

  • #6 / Dec 08, 2011 1:10pm

    Kevin Smith

    4784 posts

    Sounds like you got it worked out, ramseymedia. Since this is a bit older thread, I’m going to close it to make sure there’s no confusion. If anyone’s still experiencing issues they need assistance with, please do start a new thread by clicking the button below!

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

ExpressionEngine News!

#eecms, #events, #releases