Attempting to fix a broken site
Permalink
I have inherited a live site developed with C5 5.4.2.2. (I have tried to update it to 5.5.x.x and that failed - but let's put that aside for a moment.) My problem is that only the home page and, I have discovered, any other new page I create with the home page's page type, are editable. No other pages on this site allow me to get into edit page mode. The page type that works is simply called page but I see no page.php file in the theme folder. The other page types I can choose from all have obvious page-type.php files associated with them but don't appear to allow editing. How can I find out which .php file my home page is using and verify this? I really need to edit some of these pages for my client.
There should be a "default.php" in the theme folder, if there is no file that matches the page type handle, it's using that.
OK. Thanks for that. You are right, I have verified that is indeed the 'template' it is using but I've also now realised that I can make new pages using any of the available page types and they do work properly and are editable. So the problem isn't the template file itself but somehow all the existing pages I inherited do not open in edit mode. I get the C5 task bar along the top with two buttons at the left hand side - Edit Page and Add Page. Neither of these work while I am displaying an 'old' page. They just do nothing - as if I haven't clicked them. They do work if I'm displaying the home page or any new page I've created. Can anyone suggest what may be the answer here, because the only course of action I seem to have hear is to rebuild the entire site in new pages editing all the content back in manually - a lot of work . If only I could somehow 'unlock' the existing pages. ???
Are you using the Super Admin user? It's possible there are permissions set on the page that are making it not go into edit mode. I assume you have cleared the cache to see if that helps.