duplicate page ID

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

duplicate page ID

Post 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.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: duplicate page ID

Post 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.
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: duplicate page ID

Post 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.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: duplicate page ID

Post 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
baresi
Forum Members
Forum Members
Posts: 129
Joined: Fri Jul 27, 2007 4:15 pm

Re: duplicate page ID

Post 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...
Pierre M.

Re: duplicate page ID

Post 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.
Post Reply

Return to “CMSMS Core”