Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-11 05:39:40

tomic
New Member
Registered: 2009-08-19
Posts: 5

/textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

I’m a bit stumped. I’ve installed textpattern 4.2.0 and I’m having a baffling problem post-install.

I’m hosted on dreamhost. I installed textpattern in the site’s root dir (http://iili.li), created the db OK, and can edit the default article, create new, etc. The site is up now. Here’s root dir contents:

[host ]$ pwd
/home/username/iili.li
[host ]$ ls
HISTORY.txt css.php favicon.ico images rpc textpattern
README.txt favicon.gif files index.php sites textpattern-4.2.0
[host]$

All three test articles are visible fine when you visit the site (http://iili.li). But the sidebar ARTICLES link (http://www.iili.li/articles/) gets error 404, as does the “VIEW” link in the Content::Articles page.

Clicking a category link returns 404 not found also.

I don’t see this problem in any FAQ. I assume it’s an install error of some sort.

Last edited by tomic (2009-12-11 05:39:59)

Offline

#2 2009-12-11 05:59:09

tomic
New Member
Registered: 2009-08-19
Posts: 5

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

OK, found it. Why is it so, that as soon as I post, a re-check finds the problem?

THe problem is that the .htaccess file, being a dot file, is NOT COPIED by the recommended tutorial method of

untar tar or zip file

cp textpattern-4.2.0/* ./

It’s already missing the -r for cp, I did that by rote, but I neglected to think of the dot file…

The tutorial should read:

cd textpattern-4.2.0
cp -r * .* ../

That would work.

Offline

#3 2009-12-11 11:06:20

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

tomic wrote:

OK, found it. Why is it so, that as soon as I post, a re-check finds the problem?

It happens to most of us every now and then ;) Glad you solved it!

The tutorial should read:

Which tutorial are you referring to?

Offline

#4 2009-12-11 15:53:07

sbaldino
Member
Registered: 2009-12-11
Posts: 12

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

Im having the same problem…what is the tutorial your referring to. please help

Offline

#5 2009-12-11 16:17:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

sbaldino

You can find the Detailed installation instructions here.

Offline

#6 2009-12-11 17:31:29

sbaldino
Member
Registered: 2009-12-11
Posts: 12

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

Els wrote:

sbaldino

You can find the Detailed installation instructions here.

thank you. Ill look around. Is the 404 error with Categories a problem with the .htaccess file?

Offline

#7 2009-12-11 19:13:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

If you’re only getting the 404 for category pages, probably not. You can check if you correctly uploaded .htaccess in the Admin > Diagnostics tab. If .htaccess is not missing, can you post examples of the URLs that work and those that don’t? A link would be even better.

Offline

#8 2009-12-11 19:44:29

sbaldino
Member
Registered: 2009-12-11
Posts: 12

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

Here is the diagnostic for .htaccess

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0
———————————————————————————————————————-

Here is a link were I get the 404 error

http://crosstownechurch.scottbaldinodesign.com/article/?c=New-To-Crosstowne

Offline

#9 2009-12-11 20:14:58

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

sbaldino wrote:

Here is the diagnostic for .htaccess

Nothing wrong with .htaccess :)

Here is a link were I get the 404 error

http://crosstownechurch.scottbaldinodesign.com/article/?c=New-To-Crosstowne

Your section is named ‘articles’ and not ‘article’ :) The category menu is probably a <txp:category_list /> tag with the attribute section="article"? If you change that to articles it should solve the problem.

Offline

#10 2009-12-11 21:50:54

sbaldino
Member
Registered: 2009-12-11
Posts: 12

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

Els wrote:

sbaldino wrote:

Here is the diagnostic for .htaccess

Nothing wrong with .htaccess :)

Here is a link were I get the 404 error

http://crosstownechurch.scottbaldinodesign.com/article/?c=New-To-Crosstowne

Your section is named ‘articles’ and not ‘article’ :) The category menu is probably a <txp:category_list /> tag with the attribute section="article"? If you change that to articles it should solve the problem.

-That was it tnx!!

Offline

#11 2009-12-15 17:00:08

sbaldino
Member
Registered: 2009-12-11
Posts: 12

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

Els wrote:

sbaldino wrote:

Here is the diagnostic for .htaccess

Nothing wrong with .htaccess :)

Here is a link were I get the 404 error

http://crosstownechurch.scottbaldinodesign.com/article/?c=New-To-Crosstowne

Your section is named ‘articles’ and not ‘article’ :) The category menu is probably a <txp:category_list /> tag with the attribute section="article"? If you change that to articles it should solve the problem.

One more issue…when posting an article, ive placed it in a category but it wont display on the page. Only the title of the category shows up.
heres the link. Prolly another simple fix?

http://crosstownechurch.scottbaldinodesign.com/articles/?c=New-To-Crosstowne

Offline

#12 2009-12-15 17:43:56

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND

Is there a <txp:article /> tag on the page for section ‘articles’?

Offline

Board footer

Powered by FluxBB