Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
Website : http://www.sogani.design

Problem pages : http://www.sogani.design/trophies.php , http://www.sogani.design/lightinstallations.php , http://www.sogani.design/accessories.php

My problem :
These 3 are cloned pages. Every 24 hours when I try to open these pages, it displays "Page cannot be found".
Then I have to login to the couchCMS control panel, press the save button on any of these pages.
Then I re-open the link and it works.
24 hours later, again same thing.
To keep the site working I have to log in to CouchCMS control panel everyday and save once. It seems the control panel gets deactivated somehow and switches off every 24 hours.

Please help.

Thank You.
Looks like the following happens:
Template trophies.php is set to be visible/executable only for super-admin. When you log in to CMS, a cookie is saved to your computer that allows you to stay logged in for 24 hours. Once logged, you are able to view your pages. Saving them is redundant in this case :) If you see in Incognito mode of the browser, you will still see the pages as "not found", because they will always be like that for other visitors.
The solution is to edit cms:template block in each template and make sure about the settings for each problematic template. Once CMS knows that these templates are for everyone and also "published", they will be available without any further problems.
Hi,
Thanks for the solution.
I still am not able to figure it out.
Here's my starting php lines.

For the page lightinstallations.php
<?php require_once('backend/cms.php'); ?>
<cms:template hidden='1' order='3.1'/>

For the page trophies.php
<?php require_once('backend/cms.php'); ?>
<cms:template hidden='1' order='3.2'/>

trophies.php has started working but lightinstallations.php still can't be found.

Please help me.
Thanks
@saurabhdey84, could you PM me the FTP/Couch super-admin creds for your site please?
I'd like to take a look at the problem. Thanks.
Thanks for the creds.

I had a look and found the issue to be this -
edit lightinstallations.php and go the advanced settings dropdown. You'll find that the 'Status' of this template is set to 'Unpublished'. This makes the page available only to admins.

Please change the status to 'Published' and that should make the page accessible to the general public as well.

Hope it helps.
Thanks KK.
Appreciate the help.
Perhaps, I didn't stress it enough to be also important. ;)
Once CMS knows that these templates are for everyone and also "published", they will be available without any further problems.
7 posts Page 1 of 1