Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-12-05 21:34:24
- andymiller
- Member
- Registered: 2005-12-05
- Posts: 17
Home page but no article, comment or feed pages
Hi
I’ve just installed Textpattern using MAMP on Mac 10.4.3. Setup went fine. In diagnostics I pass all the pre-flight checks, but, although the home page shows up fine, the admin etc pages are all fine, but when I click on any of the clicks I get a file not found message.
The setup details are as follows:
Textpattern version: 4.0.2 (r1076)
last_update: 2005-12-05 19:58:59/2005-11-01 15:01:29
Document root: /Applications/MAMP/htdocs
$path_to_site: /Applications/MAMP/bin/mamp/textpattern
Textpattern path: /Applications/MAMP/bin/mamp/textpattern/textpattern
Permanent link mode: section_id_title
upload_tmp_dir: /Applications/MAMP/tmp/php
Temp folder: /Applications/MAMP/bin/mamp/textpattern/textpattern/tmp
Site URL: localhost:8888/MAMP/textpattern
PHP version: 5.0.4
server_time: 2005-12-05 21:26:29
MySQL: 4.1.12
Locale: en_GB.UTF-8
Server: Apache/2.0.54 (Unix) PHP/5.0.4 DAV/2
Apache version: Apache/2.0.54 (Unix) PHP/5.0.4 DAV/2
The messages i get are along the lines of:
The requested URL /MAMP/textpattern/article/3/NewArticle was not found on this server.
Am I missing something really obvious and basic like I need to create a folder/directory called ‘article’?
Thanks
Offline
Re: Home page but no article, comment or feed pages
There should already be a section called article in a default install so unless you’ve deleted it check how it is set up. It needs to be allowed on the front-page. The section is normally set to use the archive page template which is where an individual article with it’s comments and the comment entry form normally end up though this can be changed.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2005-12-05 22:02:58
- andymiller
- Member
- Registered: 2005-12-05
- Posts: 17
Re: Home page but no article, comment or feed pages
Hi
Thanks. Yes the article section is set up as you describe (and just for good measure I’ve resaved it). I chose article as a for instance. None of the other links (eg RSS or comments) work either. The search facility works but the link it generates also gives me a file not found message.
Offline
#4 2005-12-05 22:07:22
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: Home page but no article, comment or feed pages
I’m going to guess it’s an .htaccess problem.
Looking at your diagnostics, try the following in your .htaccess file:
RewriteBase /MAMP/textpattern/
Either that, or try switching to messy URLs until you can get the .htaccess issues sorted out.
-Kurt
Last edited by KurtRaschke (2005-12-05 22:07:58)
kurt@kurtraschke.com
Offline
#5 2005-12-05 22:22:40
- andymiller
- Member
- Registered: 2005-12-05
- Posts: 17
Re: Home page but no article, comment or feed pages
Kurt
Thanks. Yep looks like you guessed right. Messy urls did the trick.
I’ve tried editing the .htaccess file but RewriteBase MAMP/textpattern didn’t help. Is there anything else I should do (I’ve tried restarting the MAMP servers)?
Last edited by andymiller (2005-12-05 23:02:38)
Offline
#6 2005-12-05 22:44:23
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Home page but no article, comment or feed pages
Alex
Offline
#7 2005-12-05 23:06:46
- andymiller
- Member
- Registered: 2005-12-05
- Posts: 17
Re: Home page but no article, comment or feed pages
Alex
Thanks. The slash was missing in the post rather than the file. I’ve been following the FAQ but so far with no luck. Guess I’d better try again tomorrow.
Offline
#8 2005-12-05 23:17:02
- andymiller
- Member
- Registered: 2005-12-05
- Posts: 17
Re: Home page but no article, comment or feed pages
I followed the link from the FAQ. I noticed that what I have differs from what a lot of others have. |This is the whole thing as it stands at present:
<code>#DirectoryIndex index.php index.html
#Options +FollowSymLinks
<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</code>
Other people don’t seem to have <code> <IfModule> </IfModule> </code>.
Should I delete it?
Last edited by andymiller (2005-12-05 23:18:46)
Offline
#9 2005-12-14 08:37:10
- Tom68
- New Member
- Registered: 2005-12-14
- Posts: 6
Re: Home page but no article, comment or feed pages
Hi Andy
I have tried to load Textpattern 4.0.2 onto MAMP 1.0.1 on Mac OS X 10.4.3 today but have bombed out so far, not even able to get to the Textpattern setup stage! As a newbie to setting up a local development server on Macs have found the instructions obtuse. How have you got on since your posts?
Offline
#10 2005-12-14 22:38:49
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Home page but no article, comment or feed pages
Tom,
Please don’t append to an old thread. If you need help, post a new one with a description of your problem. More in the FAQ.
Alex
Offline
#11 2005-12-15 13:01:30
- andymiller
- Member
- Registered: 2005-12-05
- Posts: 17
Re: Home page but no article, comment or feed pages
Tom
As zem says it’s better to start a new thread. It all works fine for me apart from the messy urls and I think that may come down to needing to change the htppd config file in Apache.
If/when you do set up a new thread it would be worth setting out where the problem is and what error messages you get. for eample do you get the MAMP initial screen, if yes can you then open phpAdmin, if yes have you been able to create a database. if you’ve got that far, is textpattern saying it can’t connect to the database or is it looking in the worng place etc etc.
Offline