Problems, need help? Have a tip or advice? Post it here.
10 posts Page 1 of 1
Hi, im new here , but not new in couch. The fact remains my page with couch get " page not found ".
Im totaly on end with trying so many thing to do with .

As start this is my index -
Code: Select all
<?php require_once( 'couch/cms.php' ); ?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta name="description" content="Stránka Taekwon Do HWA-RANG Trnava, trnavského klubu Taekwonda v orig korejskom jazyku" />
<meta name="robots" content="index, follow">
<meta name="keywords" content="taekwondo, trnava, slovakia, hwa-rang, taekwon do, sport, sebeobrana, treningi" />

<meta name="author" content="Ján 'josto' Maár" />


  <title>TAEKWON DO HWA-RANG TRNAVA</title>
 
    <meta charset="utf-8">
    <link rel="image_src" href="http://taekwondo-trnava.ownage.sk/images/rel.jpg" />
    <meta property="og:image" content="http://taekwondo-trnava.ownage.sk/images/rel.jpg" />
    <meta property="og:tag name" content="Taekwondo HWA-RANG Trnava"/>
    <meta property="og:site_name" content="Taekwondo HWA-RANG Trnava"/>
    <link rel="shortcut icon" href="../ico/favicon.ico">
    <!-- Bootstrap core CSS -->
    <link href="style/bootstrap.css" rel="stylesheet"> 
     <link href="style/bootstrap-theme.css" rel="stylesheet">
    <!--<link href="style/bootstrap-theme.min.css" rel="stylesheet"> -->
    <!--<link href="style/bootstrap.min.css" rel="stylesheet">      -->
   
    <!-- Custom styles for this template -->
    <link href="style/offcanvas.css" rel="stylesheet">
    <link rel="stylesheet" href="<cms:show k_site_link />slimbox/css/slimbox2.css" type="text/css" media="screen" />
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>
     <cms:embed 'analyticstracking.php' />
     <cms:embed 'header.php' />
     
    <div class="container">
   
      <div class="row row-offcanvas row-offcanvas-right">
     
        <cms:embed 'sidebar.php' />
       
        <div class="col-xs-12 col-sm-9"> 
          <p class="pull-right visible-xs">
            <button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
          </p>
         
          <?php include('includes/slideshow.php') ?>
         
        </div><!--/span-->
       
        <cms:embed 'body-home.php' />

       
        </div><!--/row-->
       
     
     
          <cms:embed 'footer.php' />
       
        </div><!--/.container-->       
   



    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.js"></script>
    <!-- <script src="../js/bootstrap.min.js"></script> -->
    <script src="js/offcanvas.js"></script>
    <script type="text/javascript" src="<cms:show k_admin_link />includes/jquery.min-1.5.1.js"></script>
   <script type="text/javascript" src="<cms:show k_site_link />slimbox/js/slimbox2.js"></script>
   
  </body>
</html>

      <?php COUCH::invoke(); ?>


i am ussing masterpage for body-home.php, for blog news showing on mi index side
Code: Select all

<!-- body home -->

   <cms:pages masterpage='news.php' paginate='1' limit='8'>
         
           <div class="col-xs-6 col-sm-3 col-md-6"> 
            <div class="thumbnail_news">
            <img src="<cms:show news_image/>" alt="...">   
              <div class="caption">
              <h4><cms:show k_page_title /></h4>
             
              <cms:excerpthtml count='29' ignore='img'>
                  <cms:show news_content/>
              </cms:excerpthtml>
             
              <div class="news"><cms:date k_page_date format='jS M, y'/></div><p><a class="btn btn-default" href="<cms:show k_page_link />">čítať ďalej &raquo;</a></p>
             
              </div>
              </div>
            </div><!--/span-->
           
    </cms:pages>       
           
     
   <cms:pages masterpage='news.php' paginate='1' limit='8'>
   
       
   <cms:if k_paginated_bottom >
          <ul class="pager">
            <cms:if k_paginate_link_next >
              <br />
              <li class="next"><a href="<cms:show k_paginate_link_next />">starsie &rarr;</a></li>
            </cms:if>
            <cms:if k_paginate_link_prev >                                         
              <li class="previous"><a href="<cms:show k_paginate_link_prev />">&larr; novsie </a></li>
            </cms:if>
          </ul>
      </cms:if>   
     
   
    </cms:pages>


I get "page not found" on index, also on cloned pages, also on other sites in my root folder.
When i log in as a super-admin it works, but for my client that means nothing.

Thanks for help im desperate
Hi,

I cannot see anything out of place from the code you posted.
Were things working well before and the problem cropped up only after you made some changes?

If possible, please grant me FTP+Couch super-admin access as I'll need to take a look at the setup first-hand to do anything about it.

Thanks.
Yes right, i make some changes in my web, and second day or some hours after. it gets "page not found" .
I send you the pm right ?
Thanks for the creds.

I had a look and after a bit of debugging found that setting the following parameter in the problem templates fixes the issue -
<cms:template title='O klube' executable='1' />

Not sure what messed this up in the first case, though :)

Hope this helps.
Thanks it working, but..
my index.php still not, and cloned pages with ?php5 " tags not working too

other pages .php working fine..


whats the issue ? :(

thanks again
Please edit 'index.php' in admin-panel, click 'Advanced settings' and choose 'Published'.
That'll fix the problem.

and cloned pages with ?php5 " tags
Sorry couldn't get that.
Can you point out specifically which pages are these?
I was thinking site like this
Code: Select all
http://taekwondo-trnava.ownage.sk/taekwondo.php?p=9

this type of pages didnt work
for instance -
Code: Select all
http://taekwondo-trnava.ownage.sk/news.php?p=342

(as i thinking this is a cloned page right ? )
Anyway what means "executable=1" and what makes this bug ? and how in the mother of god did i fix that :D if i havent you :D thx
this type of pages didnt work
for instance -

http://taekwondo-trnava.ownage.sk/news.php?p=342
Seems to be working alright for me. Can you confirm?
Yes, they working, but i dont get it, why some pages dont work even if i put
"executable=1" in it
for instace -

Code: Select all
http://taekwondo-trnava.ownage.sk/kontakt.php

Code: Select all
http://taekwondo-trnava.ownage.sk/plan.php


do you know what can i do ?
thanks


edit#1.: i think, i reloaded in admin, with super-admin all templates pages ..and it seems it work
Thanks
10 posts Page 1 of 1
cron