Page 1 of 1

duplicate page ID

Posted: Sun Feb 03, 2008 10:07 pm
by mechatech
I'm using version 1.2 of CMSMS. Just noticed that when i'm viewing the current pages in the manager i have 2 page 5's
I discovered this because on the website the menu tab will darken on the page that you are viewing, when i viewed the Photos it would darken the Tourism tab in the menu at the same time.

So far i havn't noticed any bad affect from this other than the menu darking 2 tabs.
But is there any solution for getting rid of the duplicate page.

I have tried deleting the duplicate page. That doesn't help.
Here's what it looks like and what it does when i delete the duplicate:
          Page
-------------------------------------------------------- 
1        Home
2        Government
3        Development
4        Community profile
5        Photos
5        Tourism
6        Planning/Zoning
7        Contact Us


Then i deleted tourism and get this:

          Page
-------------------------------------------------------- 
1        Home
2        Government
3        Development
4        Community profile
5        Photos
5        Planning/Zoning
6        Contact Us


no matter what i do it will always duplicate the the 5th page ID
I don't know when the problem first came up. I am using a a lot of modules.

Thanks for any idea on how to fix this.

Re: duplicate page ID

Posted: Thu Mar 13, 2008 4:47 pm
by cnymike
I've just installed 1.2.3 and see the same behavior. I've not added any additional modules.

If I delete one of the duplicate pages, then the page next in line takes on the same page ID as the page just deleted. Deleting either of the duplicate pages always results in the other ID's changing to whatever the deleted page ID was.

Re: duplicate page ID

Posted: Thu Mar 13, 2008 9:19 pm
by cubix
I had a similar issue previously, probably not the same.

but it came down to an ad blocker, blocking the applicable script when adding/updating pages.

Re: duplicate page ID

Posted: Thu Mar 13, 2008 11:41 pm
by cnymike
An Adblocker? Hmmm that's interesting. Well I don't have any adblockers on my Mac. I was able to work around this problem by changing my pages structure to using Parent/Child relationships. It took a lot of fiddling, but eventually the problem went away. Don't know why it happened, and I don't know why it went away. I do have a hazy recollection of this happening to me a long time ago in an earlier version as well. Wish I had a better memory.

Michael

Re: duplicate page ID

Posted: Fri Mar 14, 2008 3:02 am
by baresi
Happened to me as well, I asked in IRC but haven't been able to try the possible solution yet (I got max. execution error for tree.php, so I guess I have to change the setting before trying again)

Go to reorder pages and move a parent above or below another, it may force a recount and correct the numbering. Again I am not sure because I haven't tried it yet...

Re: duplicate page ID

Posted: Sun Jun 08, 2008 2:58 pm
by Pierre M.
Hello,

may be some workaround from the French board :

Code: Select all

1.1 	-    	
	1.1.1 	-   -   
	1.1.2 	-   -  
	1.1.3 	-   -   	
1.3 	-    	(should be 1.2)
	1.3.1 	-   -   (inactive)
	1.3.2 	-   -    	
	1.3.3 	-   -   
1.3 	-   
	1.3.1 	-   -   
	1.3.2 	-   -   
	1.3.3 	-   -   
seems to have been worked around by moving to a 2.x.y.z hierarchy then moving back.
Hope it helps

Pierre M.