Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-08-09 09:47:29
- sty
- New Member
- Registered: 2011-08-09
- Posts: 2
Permlinks not working, debugging not working.
I am setting up a local web site on WAMP. I can create articles which appear on the default home page but when I click on the title to see the full article I get ‘Page Not Found’ in the browser although the links to the admin page do work. I than enabled full diagnostics on TextPattern but it doesn’t show anything.
The web server is actually on a separate machine but I am accessing it by IP address to prevent DNS problems and have put the IP address in the website name box in TextPattern, which seems to be working fine, but the problem exists at the local machine anyway.
This is probably a configuration problem but I have no idea where to look.
I would be grateful for any suggestions.
Thanks
Sty.
Offline
Re: Permlinks not working, debugging not working.
Hi
The problem is about clean url, if you set in txp admin pref the url schema to “messy url” the links should work!
In wamp you nead to enable the rewrite module in apache to be able to have clean url to work
Cheers
Offline
#3 2011-08-10 09:36:31
- sty
- New Member
- Registered: 2011-08-09
- Posts: 2
Re: Permlinks not working, debugging not working.
Hi Dragondz,
Thanks for the reply, it has cured the situation about Permlinks, BUT, I have mod_rewrite loaded, which PHPinfo confirms.
So it maybe configuration within the htaccess file.
I have included the diagnostic information below:
Textpattern version: 4.4.1 (r3575)
Last Update: 2011-08-08 15:01:32/2011-06-17 22:17:14
Document root: E:/website/localhost/www (E:\website\localhost\www)
$path_to_site: E:\website\localhost\www
Textpattern path: E:\website\localhost\www\textpattern
Permanent link mode: messy
Temporary directory path: E:\website\localhost\www\textpattern\tmp
Site URL: 192.168.48.37
PHP version: 5.2.17
GD Image Library: unavailable
Server TZ: Europe/London
Server Local Time: 2011-08-10 10:30:37
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone: Europe/London (0)
MySQL: 5.5.13-log
Locale: English_United Kingdom.1252
Server: Apache/2.2.19 (Win32) PHP/5.2.17
Apache version: Apache/2.2.19 (Win32) PHP/5.2.17
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Windows NT 5.1
Admin-side theme: classic 4.4.1
Pre-flight check:
————————————
Web Domain DNS lookup fails: 192.168.48.37
E:\website\localhost\www\textpattern\setup\ still exists
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /
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
————————————
As a test site it is working but it would be nice to know the full answer.
Also the debugging/testing modes of Production Status is still not available. Again not a problem at the moment but could be useful in the future, so any help would be appreciated.
Thanks
Sty
Offline
Re: Permlinks not working, debugging not working.
I use wamp server 2.0i and i enabled the apache mod rewrite, then all work ok. (i use standard htaccess come with textpattern)
In diagnostic have you some error messages or all is ok there?
If Production status not working correctly maybe there is errors in installation!!
Offline