Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Failed to Modify extension

edited June 2006 in Vanilla 1.0 Help
So there I was, adding a truck load of extensions, when I started to get the error "Failed to modify extension". I'd say I downloaded 15. I got to around 10 and started receiving the "Failed to Modify extensions" error. Now I can't enable or disable any of them. Not sure how to begin troubleshooting this. edit: I've removed the extensions.php file in conf, replace with the extensions-dist.php file, and it works for a bit, then starts giving me the same error. I've done this a few times now, and it doesn't seem to be related to a specific extension.


  • Options
    fishgrrl, this problem is due to the fact that enabling extensions uses ajax technology. When clicking a checkbox an ajax page will be loaded which includes all enabled extensions. If one of them results in an error, your extension page is dead.

    A solution could be:
    1) Don't include extensions in ajax pages
    2) Add the default objects (Head, Panel, Foot, etc) or at least fake ones
    3) Force all extension programmers to add a check (e.g. isset($Head)) if objects exists before using their methods/properties

    Mark should make the decision what's best for his Framework :)
  • Options
    MarkMark Vanilla Staff
    edited June 2006
    @fishgrrl: It must be related to particular extensions if it works and then stops. What extensions are you working with?

    @jazzman: I'm not entirely sure you are correct, but I'll look into it further.
  • Options
    MarkMark Vanilla Staff
    Okay, fishgrrl - svn update and let's see if jazzman is right...
This discussion has been closed.