All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 6 posts ] 
  Print view

Newly added template throws 404 error
Author Message
PostPosted: Tue Mar 27, 2012 4:42 am 
Registered User
Offline

Joined: Wed Jan 05, 2011 12:08 am
Posts: 144
Location: Uk, England
Hello All,

I'm having trouble with the new version of course, 1.2

I have defined a page called links that has a editable region.

Added in the Editable part and the couch include. closed the include with invoke however when you go to the page links.php it will not load, it will basically go to the index.php page.

Just wondering why this happens? I remove all the couch snippets and it then works.

Its only having the problems when couch has been added.


Top
 Profile  
 

Re: Editable page wont work
PostPosted: Tue Mar 27, 2012 5:21 am 
Moderator
Offline

Joined: Wed Dec 01, 2010 5:35 pm
Posts: 1393
Difficult to say without taking a look at the code.
Could you please attach the full template (after adding Couch tags) that is displaying the problem?
Or better still, if the server is online, just PM me your FTP/couch creds.

Thanks


Top
 Profile  
 

Re: Editable page wont work
PostPosted: Tue Mar 27, 2012 5:25 am 
Registered User
Offline

Joined: Wed Jan 05, 2011 12:08 am
Posts: 144
Location: Uk, England
KK wrote:
Difficult to say without taking a look at the code.
Could you please attach the full template (after adding Couch tags) that is displaying the problem?
Or better still, if the server is online, just PM me your FTP/couch creds.

Thanks


Hi KK,

I'm unable to send over the FTP Details as this is a clients website im contracted on.

The page is linked as links.php however when you place the couch tags and upload it goes to page not found and then links to sitename.com/links/ rather than links.php

heres the code
website is www.pointgranted.com

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Life of Michael Grant - Links</title>


<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />
<link href="css/nav.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="wrapper-main">
<div id="header"><div id="logo"></div>
<div id="nav">
  <div id="nav-bar">
<div id="nav-button"><a href="../index.php">Status</a> </div>
<div id="nav-button"><a href="../qna/index.php">Q&amp;A</a> </div>
<div id="nav-button"><a href="../gallery.php">Gallery</a> </div>
<div id="nav-button"><a href="../links.php">Links</a> </div>
  </div>
</div>
</div>
<div id="main">


<cms:editable name='links' type='richtext'>
<div class="main-gal">
  <p>Welcome to the<strong> Links</strong> of Michael Grant. We i am displaying some of my friends<br />
    and family links<br /> 
    <br />
    <br />     
    <strong>www.Site.com</strong><br />
    Its the wonders of the site.com</p>
  <p><strong>www.Site.com</strong><br />
Its the wonders of the site.com</p>
  <p><strong>www.Site.com</strong><br />
Its the wonders of the site.com</p>
  <p><strong>www.Site.com</strong><br />
Its the wonders of the site.com<br />
  </p>
</div>
</cms:editable>


</div>
<div id="foot">
  <div id="foot-text">&copy; Michaell Grant - Website designed by <strong>TDfreelance</strong> </div>
</div>
</div>


</body>
</html>



Top
 Profile  
 

Re: Ediable page wont work
PostPosted: Tue Mar 27, 2012 5:30 am 
Moderator
Offline

Joined: Wed Dec 01, 2010 5:35 pm
Posts: 1393
Seems you are using prettyURLs.
if that is the case, are you sure you have regenerated the .htaccess file (using gen_dump.php) so that it contains info about the newly added template i.e. links.php?

Please let me know.


Top
 Profile  
 

Re: Ediable page wont work
PostPosted: Tue Mar 27, 2012 5:33 am 
Registered User
Offline

Joined: Wed Jan 05, 2011 12:08 am
Posts: 144
Location: Uk, England
KK wrote:
Seems you are using prettyURLs.
if that is the case, are you sure you have regenerated the .htaccess file (using gen_dump.php) so that it contains info about the newly added template i.e. links.php?

Please let me know.


Oh no, i've not.


Top
 Profile  
 

Re: Ediable page wont work
PostPosted: Tue Mar 27, 2012 5:41 am 
Registered User
Offline

Joined: Wed Jan 05, 2011 12:08 am
Posts: 144
Location: Uk, England
Thanks for you're support. Next time i need to read the full article :lol:


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
© 2001-2010 SYS-Solutions All Rights Reserved