Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-02-09 11:57:51
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
404 error on the frontpage
Hello,
I have redesigned my site.
Now when i open my site . I get a 404 error.
When i do a http://www.tamarawobben.nl/zwangerschap i see all the post.
The html looks like this : <code>
<div id=“content”>
<txp:article />
<txp:if_individual_article>
<p>
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next>
</p>
</txp:if_individual_article>
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>
</div>
</code>
How can i get my frontpage back. ??
I looked in the faq but i found no answers
Roelof
Offline
Re: 404 error on the frontpage
1) Please post your diagnostics.
2) Which “page” is assigned to “default” in presentation->section? What does that “page” look like?
Offline
#3 2006-02-09 18:25:42
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: 404 error on the frontpage
1) My diagnostics :
Textpattern versie: 4.0.3 (r1188)
last_update: 2006-01-13 13:08:02/2006-01-13 12:59:54
Document root: /var/www
$path_to_site: /home/tamarawobben.nl/www
Pad naar textpattern: /home/tamarawobben.nl/www/textpattern
Permanente link modus: section_id_title
upload_tmp_dir: /tmp
Tijdelijke bestanden map: /home/tamarawobben.nl/www/textpattern/tmp
Site URL: www.tamarawobben.nl
PHP versie: 4.4.1
Register globals: 1
server_time: 2006-02-09 19:23:07
MySQL: 4.0.25-log
Localisatie: nl_NL.UTF-8
Server: Apache
Apache versie: Apache
php_sapi_mode: apache
os_version: Linux 2.6.11.11-pcx-web-opteron-lvs-rsbac
inhoud .htaccess bestand:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) /index.php </IfModule>#php_value register_globals 0
————————————
2) the default page is assigned to the default section.
Oke, now i see the page good except if i choose one of the article my menu disappear.
The default page looks like : <code>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” lang=“en”>
<head>
<title><txp:page_title /></title> <link rel=“stylesheet” href=”<txp:css />” type=“text/css” media=“screen” />
</head>
<body>
<div id=“container”>
<div id=“head”>
</div>
<div id=“wrapper”>
<div id=“sidebar-1”>
<txp:if_article_list>
<txp:rss_suparchive section=“article,zwangerschap” dateformat=“F Y” showsubdate=“1” />
</txp:if_article_list>
</div>
<div id=“content”>
<txp:article form=“default” limit=“1” listform=“default” />
</div>
<div id=“foot”>
Design by <a href=“http://www.ryanarrowsmith.com/”>Ryan Arrowsmith</a> but feel free to share / Proudly
powered by <a href=“http://www.textpattern.com/”>Textpattern</a>.
</div>
</div>
</body>
</html>
</code>
Last edited by roelof (2006-02-09 18:32:03)
Offline
Re: 404 error on the frontpage
Oke, now i see the page good except if i choose one of the article my menu disappear.
Glad your original problem is solved.
When you view an individual article, the page template that is assigned to the section of the current article is used.
Offline
#5 2006-02-09 18:59:34
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: 404 error on the frontpage
oke,
But another article is assigned to the section “ zwangerschap”
I see the article but the menu which is in div sidebar-1 is no been seen except in the section default.
The section “ zwangerschap” is also beeing assigned to the default page and default css.
What’s happening here then.
Roelof
Offline
#6 2006-02-09 19:49:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 404 error on the frontpage
It’s because your menu is in <txp:if_article_list>
tags. If you want it to show on individual article pages, you must take those tags out.
Offline
#7 2006-02-09 20:00:11
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: 404 error on the frontpage
i tried that but no success.
Offline
#8 2006-02-09 20:13:46
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 404 error on the frontpage
That’s strange. If you are sure that taking out <txp:if_article_list>
doesn’t help, and that section ‘zwangerschap’ is assigned to the default template, then it might be something in the rss_suparchive plugin? I don’t know this plugin, so maybe you’d better ask in the plugin thread.
Offline
Re: 404 error on the frontpage
Offline
Pages: 1