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.

Missing module ID?

November 16, 2012 1:27pm

Subscribe [1]
  • #1 / Nov 16, 2012 1:27pm

    Rob Allen

    3108 posts

    I’ve got a site that has a dev version and live version.

    On the dev version I installed a couple of modules, all good. But when I installed one of the modules on the live site, the module ID skipped a number, eg last module ID was 16, new module installed with ID18. ID17 was missing. Incidently the other module was Deeploy helper so not required on live site.

    Should EE do this? I’m asking because the new module I installed on the live site is having problems (backend works but front end doesn’t want to play ball), and this is the only difference I can see between the two.

    Because of the nature of the site, I can’t copy dev > live, updates have to be added manually.

     

  • #2 / Nov 20, 2012 11:05am

    Dan Decker

    7338 posts

    Hi Rob,

    Indeed, the database will auto-increment those IDs. I suspect you did your dev, moved to live and then deleted Deploy Helper? That left ID 17 abandoned.

    You could fix it for now with a quick update to the new module’s ID, but going forward, they will still be out-of-step in that regard.

    To avoid that, I would suggest adding Deploy Helper back to the live site, matching up IDs all around and then telling the database to reset its auto increment to “x”.

    Cheers,

  • #3 / Nov 20, 2012 11:14am

    Rob Allen

    3108 posts

    Hi Dan

    Actually the dev site was copied from the existing live site, then modules were added to the dev site! Once all was running on the dev site, modules were then installed on the live site, so in theory the module ID shouldn’t have jumped.

    Would this ID mismatch cause any issues?

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

ExpressionEngine News!

#eecms, #events, #releases