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.
-
☆ 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.
>>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 ..
-
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
yes. i talk about menu index. (left side of the Modx window).
is it normal situation?
-
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
>>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?
-
☆ 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.
>> 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.