I've been having some trouble with pages getting unpublished for some reason. I haven't been able to find out why and have instead been thinking of a fix.
This is the scenario.
I post a link to a url which is published.
A user clicks on the link and during the time from the post (let's say to twitter) to click the page gets unpublished and the user gets a 404.
My question is.
Is there a way to get the id of the page that the user is trying to get, check if it's unpublished, and if so publish, and then return the page before the 404?
If pages are unpublishing then it looks like you have a permissions issue. Can you ensure that whatever account the app pool is running under has the correct permisssions to the umbraco install directory also ensure that the permissions propogate down. Then there is no need to build anything additional.
Check if unpublished then publish
Hi!
I've been having some trouble with pages getting unpublished for some reason. I haven't been able to find out why and have instead been thinking of a fix.
This is the scenario.
I post a link to a url which is published.
A user clicks on the link and during the time from the post (let's say to twitter) to click the page gets unpublished and the user gets a 404.
My question is.
Is there a way to get the id of the page that the user is trying to get, check if it's unpublished, and if so publish, and then return the page before the 404?
Thanks / Niklas
Niklas,
If pages are unpublishing then it looks like you have a permissions issue. Can you ensure that whatever account the app pool is running under has the correct permisssions to the umbraco install directory also ensure that the permissions propogate down. Then there is no need to build anything additional.
Ps what version of umbraco are you using?
Regards
Ismail
Hi Ismail
The site is under a hosted environment so I can't check the settings :/ I'm using the latest stable version.
Regards / Niklas
Could it be a trust issue btw. Are the new versions running medium trust?
is working on a reply...