Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-08-18 14:58:34
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
404 Support
Offline
#2 2005-08-18 15:04:01
- hachi
- Member
- From: switzerland
- Registered: 2004-04-24
- Posts: 25
Re: 404 Support
not working for me though. when i try to access www.mysite.tld/section in section/title mode, i get “Unkown section”. i can access www.mysite.tld/section/article-title though. i installed txp locally on mac os 10.4.2. diagnostics:
Textpattern version: 4.0 (r813)
last_update: 2005-08-18 13:11:18/2005-08-18 13:11:04
Document root: /Users/oliver/Sites/interdisco/www
$path_to_site: /Users/oliver/Sites/interdisco/www
Textpattern path: /Users/oliver/Sites/interdisco/www/textpattern
Permanent link mode: section_title
Temp folder: /private/var/tmp
Site URL: www.interdisco.dev
PHP version: 4.3.11
Magic quotes: 1/0
MySQL: 4.0.24-standard
Locale: en_US.UTF-8
Server: Apache/1.3.33 (Darwin) PHP/4.3.11
Apache version: Apache/1.3.33 (Darwin) PHP/4.3.11
.htaccess file contents:
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /Users/oliver/Sites/interdisco/www/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
------------------------
Last edited by hachi (2005-08-18 15:05:47)
Offline
#3 2005-08-18 15:11:28
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: 404 Support
Yeah, when trying to access a url with my current permalink scheme with an invalid article id, I also get a blank page (status 200/OK) with “Unknown Section”.
Still though, I’m glad to see this is being worked on!
Offline
#4 2005-08-18 15:12:56
- hachi
- Member
- From: switzerland
- Registered: 2004-04-24
- Posts: 25
Re: 404 Support
yes. me too. cheers to da crew!
Offline
#5 2005-08-18 15:14:30
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: 404 Support
I have a hunch that by “add basic 404 support” zem means very basic, which at this stage is the logic backbone sans header responses etc.
Offline
Re: 404 Support
Yes, Andrew’s got it right. ;)
Offline
Re: 404 Support
I’m using the tried&true section/id/title format and have the same problem – can’t access sections directly.
Offline
#8 2005-08-18 17:47:08
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: 404 Support
I see the same thing; sections are inaccessible (see above).
I’d argue that this classifies as a “bleeding-edge” revision that probably shouldn’t be in the /stable/4.0… I’m confused as to the current svn setup. Although I’m guessing you’ve just not yet gotten to working out the new organization of things. I’ll be patient ;-)
Last edited by Andrew (2005-08-18 17:51:16)
Offline
Re: 404 Support
If you want something that works, please use downloadable releases.
Subversion is for development and users interested in development, not for end-users.
Bleeding edge means intentionally breaking stuff and leaving it broken because of transitioning larger changes, but regular development also means that sometimes things can break, it’s inevitable when developing.
(releases and subversion on the weblog)
Last edited by Sencer (2005-08-18 18:21:44)
Offline
#10 2005-08-18 18:26:59
- rene
- Member
- From: Switzerland
- Registered: 2004-03-27
- Posts: 67
Re: 404 Support
Sorry, but this not in sync with this statement here
So, from now, you can allways find the latest stable version of the Textpattern 4.0.x version at http://svn.textpattern.com/stable/4.0/.
In my understanding, the article about svn reorganization is giving the impression it’s safe to use /stable/4.0
Here the command for those who want to return to a version with working sections:
svn update -r810
Last edited by rene (2005-08-18 18:36:50)
Offline
Re: 404 Support
Yes, that seems very conflicting. That’s why I wrote the follow-up. The unnamed assumption is that all this is for people that are willing to use subversion in the first place – which should not be end-users. “Production-installs” in that context, means people that are happy running their own live-sites from subversion. It doesn’t mean your company or customer-sites.
If people are only using subversion because they prefer typing one svn command instead of two for downloading and extracting a release, they should consider manually switching to each successive new tag that appears in the /releases branch of the repo.
Offline
#12 2005-08-18 18:43:21
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: 404 Support
Good points from all, and agreed.
Offline
#13 2005-08-18 22:51:18
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 404 Support
Just adding to Sencer’s helpful comments:
The ‘stable’ branch is where we check in changes intended for upcoming stable releases. It doesn’t mean every checkin that goes there is release quality. It will be tested, and won’t contain any of the new features1, design changes and other risky things going on in the development branch. But there’s a big difference between ‘tested’ and ‘works perfectly’.
(In this case, I cleverly tested every case, for every permlink type, forgetting the obvious /section/ links)
Essentially, by opening svn access to the public, we’re letting everyone join the development process. The /stable branch is what the Development Team would send to the Test Team, if Textpattern was the kind of project built by 9-to-5ers in offices with headset-wearing project managers, name plaques and conservative carpets, Monday morning meetings with instant coffee and cheap donuts, and Powerpoint presentations on the meeting room wall. It’s not.
So, if you’d like to join the Test Team, track the stable branch with Subversion, and help us find the bugs we’ve missed. You’ll probably want to use a separate test site.
If it’s release quality you’re after, stick with the releases.
If you’re brave, foolish, or a developer yourself, you’ll probably want to follow the development branch.
1 Sometimes the line between ‘bug’ and ‘feature’ isn’t always clear. Is 404 handling a new feature, or is the lack of it a bug? We considered it a bug right from the start, which is why it’s going into the stable branch. It didn’t make it into 4.0 for lack of time.
Alex
Offline
Re: 404 Support
Might it be possible to have a “release” branch of SVN. Well, there is already, but I mean one URL that I can point my SVN-stick at and download the latest official “release”, and this URL won’t change?
Offline
#15 2005-08-19 01:40:05
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 404 Support
Well, there is already, but I mean one URL that I can point my SVN-stick at and download the latest official “release”, and this URL won’t change?
We’re looking into it.
btw: r817 in /stable restores basic 404 support. (and, before someone asks: no, we’re probably not going to add customizable 404 messages in 4.0.x; that’s getting into new feature territory)
Alex
Offline