Fork me on GitHub

Invalid module state transition. / Could not change module state.  Bottom

  • I'm finally going through pains of migrating to 1.2 (and it's a MAJOR pain let me tell you) and I've encountered problem where I would have never expected: installing the simplest modules (Feedback, Web Links and few of my own creations).

    When trying to install the modules I get two error messages:
    Invalid module state transition.
    Could not change module state.

    I googled them and it seems that there is some kind of new kinky way to initialize them, however there is absolutely no explanation on actually HOW to do it. I checked the documentation in dev's section (which only covers the init function, nothing specific about 1.2 changes) I googled for anything that would be useful, I went line by line by init files of modules that install without any issues, but still I have no clue why it's not working. icon_frown

    Help?
    and Merry Christmas. icon_smile

    --
    I'll have it up in no time. It's an official term of BloodElf engineers union. It should not be interpreted as a reasonable estimation of the actual time it will take to complete a task in any way, shape or form.
  • That's weird, I can't see anything special in my weblinks 2.0 (zk 112 still icon_wink ) when I compare with the News initialization.
    Only thing I can find is in pnversion.php, for weblinks modversion[user] and modversion[admin] are defined and not in News. So mmhh, not sure.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • errr, I was actually trying to migrate the release I had on my current site, which was 1.0 (talking about Web Links)

    The Feedback module wouldn't activate as well. And a couple more. Still no clue as to why.

    I did manage a workaround. Went into the database and manually changed the pn_state field to 3, which allowed me to use the modules.

    Would be good to find out why it didn't work though.

    --
    I'll have it up in no time. It's an official term of BloodElf engineers union. It should not be interpreted as a reasonable estimation of the actual time it will take to complete a task in any way, shape or form.

This list is based on users active over the last 60 minutes.