Hi,
I have a site online that was working well with couchcms used for managing certain sections of my pages. I recently modified the title tag for SEO and uploaded the files again. I can view all my pages by typing the url directly except for the index page that throws up an error
ERROR: Tag "pages": masterpage 'news_sidebar.html' not found
Based on previous experience and answers i got here, i visited the pages manually again and still not able to view the index page and this is the code from the index.php page
news_sidebar.html code is
What could be responsible for this error? Your contributions are appreciated.
I have a site online that was working well with couchcms used for managing certain sections of my pages. I recently modified the title tag for SEO and uploaded the files again. I can view all my pages by typing the url directly except for the index page that throws up an error
ERROR: Tag "pages": masterpage 'news_sidebar.html' not found
Based on previous experience and answers i got here, i visited the pages manually again and still not able to view the index page and this is the code from the index.php page
- Code: Select all
<?php require_once('admin/cms.php'); ?>
<cms:template title='Home Page' />
<cms:pages masterpage='news_sidebar.html' />
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Covenant Kings & Queens Academy | Home</title>
</head>
<body>
<div class="container">
<section>
<!-- News area -->
<div class="col-md-4">
<cms:embed 'news_sidebar.html' />
</div>
</section>
</div>
</body>
</html>
<?php COUCH::invoke(); ?>
news_sidebar.html code is
- Code: Select all
<h1>Latest News</h1>
<cms:pages masterpage='news.php' limit='2'>
<h3><cms:show k_page_title /></h3>
<cms:excerptHTML count='30' ignore='img'><cms:show news_content /></cms:excerptHTML>
<p class="clearfix"><a href="<cms:show k_page_link />" class="btn btn-success pull-right"> Read More...</a></p>
</cms:pages>
What could be responsible for this error? Your contributions are appreciated.