One of our staff have accidentally expired the home page in CMS. As a result the site is off-line and we can't access CMS Admin to rectify the mistake.
We login as both members and Admin via the home page; via a popup login.
What can I do with this; any ideas please?
I do have access to the Commerce Manager but not finding anything to work with there.
Do you get a login page when you go to /cms/edit ?
Do you mean, http://accessconsciousness.net/en/cms/edit
This times out, as does the domain http://accessconsciousness.net/ (Home page)
Sorry, I meant /episerver/cms
I managed to reproduce this on Alloy reference project. It is not possible to log into the edit mode if start page has expired.
Do you have access to SQL Server database?
I used the following query to remove the StopPublish date from the Start page:
UPDATE tblWorkContent SET StopPublish = NULL WHERE Name = 'Start'
UPDATE tblContentLanguage SET StopPublish = NULL WHERE Name = 'Start'
And then I had to restart the application pool because EPiServer caches data.
No. I don't have access to the database, but I get what you are proposing; makes sense.
EPiServer support restored the datbase back to just before the event, and we are back online again.
We lost some work that had been done on the site, but small price to pay.
Thanks for all your assistance.
Hey Dejan... How did you manage to reproduce the issue? I just tried on two different Alloys (10.0.x and 10.4.x), and I'm not having any issues logging in. I can expire the start page, log out, restart IIS, and log back in to un-expire the start page.
If this is still an issue, I'm also curious if a potential workaround would be to log into admin mode and change the start page of the website to the root. That should (I hope) give you access to the start page so you can un-expire it.
Hello, I think there is an easy way is to change the root page to another page by editing episerver.config or do it via admin mode then you activate your old homepage again. After that change your config to the homepage.