Expand my Community achievements bar.

SOLVED

Unable to create pages from one of the site

Avatar

Level 9

I am unable to create pages in one of the sites we have, I do see templates but when ever I tried to create a page I am getting a message

Unable to Create Page Page was not created due to an internal error

which calls only

http://localhost:4502/services/pageidservlet?method=getNextID&_nocache=1416336421006

It seems this is throwing error before calling /bin/wcmcommand

I don't see any errors in error.log except the following line

0:0:0:0:0:0:0:1 - admin 18/Nov/2014:13:57:53 -0500 "GET /services/pageidservlet?method=getNextID&_nocache=1416337073663 HTTP/1.1" 200 847 "http://localhost:4502/siteadmin" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"

Which is a 404 error /jcr_root/apps/sling/servlet/errorhandler/default.jsp

Whereas in other sites I can create pages from the site I see following requests going to server

http://localhost:4502/bin/wcmcommand

http://localhost:4502/bin/wcm/siteadmin/tree.json?_dc=1416336720987&ncc=30&_charset_=utf-8&path=%2Fc...

http://localhost:4502/content/ichome.pages.json?_dc=1416336720991&start=0&limit=30&predicate=siteadm...

http://localhost:4502/content/ichome.pages.json?_dc=1416336721131&start=0&limit=30&predicate=siteadm...

http://localhost:4502/bin/wcm/siteadmin/tree.json?_dc=1416336721134&ncc=30&_charset_=utf-8&path=%2Fc...

I am not sure how to resolve this

1 Accepted Solution

Avatar

Correct answer by
Level 10

Which template does /content/km uses?   I think template used for creation of ichome & km are different hence the error. Check stdout for any error. 

View solution in original post

3 Replies

Avatar

Level 10

Can you see if you can create a new template and then create a new page based on the new template. 

Avatar

Level 9

I created new template  called test and allowedPath as /content/km(/*). When tried to create the page from /content/km website path I see it in the list of templates, as soon as I click create I do see the same message

When I changed the allowedPath of template to something like /content/ichome(/*), I am able to create the pages without any problem in /content/ichome website path

I changed the same template's allowedPath to /content(/*) I cannot see this template when I am on /content/km website path. But this template is available from rest of the sites and I can create pages without any issues.

There is no trace of any exceptions in the log.

Avatar

Correct answer by
Level 10

Which template does /content/km uses?   I think template used for creation of ichome & km are different hence the error. Check stdout for any error.