Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Newbie Help: Sections aren't working
I’m new to TXP and I’m getting extremely frustrated. I’ve been trying to figure this thing out but can’t seem to.
I got the default page setup and working fine. No content in it yet, but I have the main navigational structure working. And I have all my sections setup.
http://www.cmadominicanrepublic.org/index.php
The top row of tabs are all my sections. Each section I created, I just told it to use the default page (for now). But when I try to go to that section, I get a 404. To illustrate, I wrote an article under the Missions section, but when I try to go to the article I get the 404. http://www.cmadominicanrepublic.org/missions/about-missions
I don’t know if there’s something wrong with my setup or what, I’m expecting to see the default template, it’s not setup for the content yet, but I should be getting something not just a 404.
Offline
Re: Newbie Help: Sections aren't working
I assume your Diagnostics don’t report any problems but it may help if you could post your Diagnostic info
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Newbie Help: Sections aren't working
Yeah, the diagnostics are fine.
Here’s the details:
Textpattern version: 4.0.6 (r2805)
Last Update: 2008-04-01 23:22:16/2008-04-01 23:01:57
Document root: /home/davidjoyce/cmadominicanrepublic.org (/home/.joy/davidjoyce/cmadominicanrepublic.org)
$path_to_site: /home/.joy/davidjoyce/cmadominicanrepublic.org
Textpattern path: /home/.joy/davidjoyce/cmadominicanrepublic.org/textpattern
Permanent link mode: section_title
Temporary directory path: /home/.joy/davidjoyce/cmadominicanrepublic.org/textpattern/tmp
Site URL: www.cmadominicanrepublic.org
PHP version: 5.2.3
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server Local Time: 2008-04-02 13:22:21
MySQL: 5.0.24a-standard-log
Locale: en_US.UTF-8
Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189
.htaccess file contents:
————————————
DirectoryIndex construction.html
————————————
I also tried removing the .htaccess file and nothing changed.
Offline
#4 2008-04-02 21:40:19
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Newbie Help: Sections aren't working
Messy URLs work. Set permanent link mode in preferences to ‘messy’. FAQ.
Offline
Re: Newbie Help: Sections aren't working
:( well that stinks. There has to be some sort of configuration problem that I can fix…. change my htaccess file or something. There’s no way I can put up with Messy URLs = /
Offline
Re: Newbie Help: Sections aren't working
aaahhh, my host (dreamhost) supports Clean URLs just fine. My problem was that when I copied text pattern over to the server to start with, I didn’t copy over the hidden .htaccess file that was included with it. So the mod_rewrite rules weren’t copied over, which is why it didn’t work.
Thanks for helping me narrow down the problem
my only problem now is getting it to redirect to my construction.html page when the site loads =/
Last edited by daveJay (2008-04-02 22:30:53)
Offline
#7 2008-04-02 23:03:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Newbie Help: Sections aren't working
daveJay wrote:
my only problem now is getting it to redirect to my construction.html page when the site loads =/
Offline
Re: Newbie Help: Sections aren't working
Then copy your construction.html code into an “error_503” page template.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Newbie Help: Sections aren't working
Thanks! That’s working like a charm. Nifty plugin
Offline
Pages: 1