Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-14 01:06:46

Sega
New Member
Registered: 2006-11-14
Posts: 9

Error after fresh install

Hi. I just installed Textpattern and everything went fine. However when I am logged in to my Admin CP this shows up at the top of the Admin CP:
“Warning: Duplicate entry ’1-tempdir’ for key 1 insert into tptxp_prefs set prefs_id=1,name=‘tempdir’,val=’‘ in /home/name/wwwroot/domain.com/textpattern/lib/txplib_db.php on line 84”

And when I check my site and click on “comments” it shows a 404 page. Also when I click that default article it shows a 404 error page.

“The requested URL /article/1/first-post was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

I made a new article and still the same issues.

And I don’t understand this error which I can see in my Admin CP:
.htaccess File Missing
You are using a Permanent Link mode which requires an .htaccess file to be placed in your site directory. The recommended directives to place in this .htaccess file are:

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

These are the errors:
Web Domain DNS lookup fails: www.domain.com ? I can see my webpage on the web.
Temporary directory path is not writable: ? I gave the “tmp” 777, the error message is still there though.
.htaccess file is missing ?
no_temp_dir ?
Clean URL test failed.

I can choose site name: Website.com, but what if I want another Title in the web browser? How to make a new item in the navigation bar? For example I want to do an about page, which describes my website. But I don’t want it to be published on the front page as a new article. I just want to add it as a menu item. How to do that? I have a section called “about”. I then wrote a new page and chose the section “about”. However I don’t see it in the navigation bar. How to get it there?

Textpattern is awesome but I would like to fix these problems so I can enjoy using it.
How to fix these problems?

Last edited by Sega (2006-11-14 01:48:08)

Offline

#2 2006-11-14 04:16:09

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Error after fresh install

For the 404 error, see the FAQ (useful articles over there). You need to upload a file named .htacces. If you can’t see it, create a file in a text editor containing this and upload it to your installation root (“above” the /textpattern/ contents).

For the about page, set “On front page” to no, in Presentation>Section about.

Be sure to read and bookmark Getting Started with TXP and the Tag Listing.

Last edited by jm (2006-11-14 04:20:06)

Offline

#3 2006-11-14 05:43:57

Sega
New Member
Registered: 2006-11-14
Posts: 9

Re: Error after fresh install

Thanks. I guess I have to use “messy URLS then”, but it works now.

Yes I have set it to no, but how to link the about page in the navigation? How do I add the about page to the navigation?

And how do I edit the “browse” at the front page?

Last edited by Sega (2006-11-14 05:47:35)

Offline

#4 2006-11-14 06:22:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Error after fresh install

First, always check the FAQ and tag listing before posting. When you can’t find anything, then try to keep different questions/problems in different topics, in the appropriate forum(s), where they belong (such as “How do I…?”), rather than asking new questions in the same thread. Both help you get assistance much faster, and helps others trying to find the same answers too.

Offline

#5 2006-11-14 06:46:56

Sega
New Member
Registered: 2006-11-14
Posts: 9

Re: Error after fresh install

Okey. Thank you.

Offline

Board footer

Powered by FluxBB