Hello All,
I was working on some pages in the MODX manager when suddenly two of my new templates have stopped working.
Now, any page that is assigned either of the two templates redirects to the 'Document Not Found' default page. If i change the resource to a different template, it works fine.
I was not doing anything to the templates at the time. I was working on one of the resources that uses one of the templates, and also one of the chunks that is used in the two templates.
As I was only using resources that are assigned one of these two templates, i'm thinking that it may be something that I did to the chunk that may be causing the error, as this chunk is used in both the affected templates.
I cannot find anything that seems to be wrong, so if there is anything similar that someone has come across and might be able to help, I would be very grateful!
Many thanks
Richard
Hello All,
I solved the problem. In the chunk that is applied to the templates, I have a couple of page ids that were not correct and didn't exist, so I'm guessing that MODX was having problem understanding it and redirected to the error page.
If anyone else has a similar error come up on templates they are using, check for non-existing page IDs....