We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7148
    • 5 Posts
    Hi.

    CMS Modx Evolution 1.0.5 Jan 19, 2011.

    The first id number is 1 (correct).
    The second id number is 6 (incorrect).
    The third id number is 16 (incorrect).
    The fourth id number is 26 (incorrect).
    .. 36
    .. 46
    .. 56
    .. 66
    ..
    ..
    .. 106
    ..
    ..
    .. 206

    It works normally. But id is incorrect.

    p.s. at localhost i have no such problem. it works fine (1,2,3,4,5,6,7..). But at my web-server i have such situation.

    Please, give me your advice.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Are you referring to the ID number of the resources in the Resource Tree?

      If so, there is no "correct" or "incorrect" about it; these numbers are assigned automatically by the MySQL database as the resource is created. Deleting a resource will not cause its ID number to be re-used.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 7148
        • 5 Posts
        >>Are you referring to the ID number of the resources in the Resource Tree?
        Yes.

        >>Deleting a resource will not cause its ID number to be re-used.
        But i didn’t delete them. Database created them in such order 6, 16, 26 ..
          • 25663 MODX Staff
          • 12,272 Posts
          Are you sure you’re not seeing the menu index, and not the IDs?
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 7148
            • 5 Posts
            yes. i talk about menu index. (left side of the Modx window).

            is it normal situation?
              • 25663 MODX Staff
              • 12,272 Posts
              It’s likly that the increment is set to 10 in your system configuration, so it seems to be behaving as expected. Did you move a page with a menu index of 6 into a folder?

              If you’re talking about the number in parenthesis next to the page title in the site tree, then something sounds very wrong.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 7148
                • 5 Posts
                >>If you’re talking about the number in parenthesis next to the page title in the site tree, then something sounds very wrong.

                unfortunately this is my variant. i tryed many times, but i have such problem.

                how do u think, it could break safety of cms?

                or may be "move a page with a menu index of 6 into a folder". How can i do it?
                  • 29019 ☆ A M B ☆
                  • 104 Posts
                  It sounds like this setting in mysql might be set to 10, instead of 1. It probably won’t affect too much, besides looking strange, but that’s where I’d start.
                    www.darkstardesign.com

                    Are you in the Nashville area? Join us for our next MODX meetup!
                    • 7148
                    • 5 Posts
                    >> It sounds like this setting in mysql might be set to 10, instead of 1. It probably won’t affect too much, besides looking strange, but that’s where I’d start.

                    Thanks, u are definitely right. My hosting provider told me that the value of autoincrement is 10. But admin can’t change this value to 1.

                    My question is settled.