Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-06-08 21:37:25
- bortzmeyer
- Member
- Registered: 2007-06-08
- Posts: 14
'Commenting is closed for this article' and I cannot open it
This is my first TextPattern installation, all went well, I can create articles, publish them, etc but all articles display at the bottom:
Commenting is closed for this article.
But in Admin > Preferences, I have “Accept comments?” set to Yes. Is there something else I have to activate?
In Content > Write, I do not see a button to enable comment for the individual article either (but I want commenting enabled by default).
Textpattern version: 4.0.4 (r1956)
Last Update: 2007-06-08 20:15:21/2006-08-31 15:47:57
Document root: /var/www/blog.demaziere.fr/htdocs
$path_to_site: /var/www/blog.demaziere.fr/htdocs
Textpattern path: /var/www/blog.demaziere.fr/htdocs/textpattern
Permanent link mode: section_id_title
Temporary directory path: /tmp
Site URL: blog.demaziere.fr
PHP version: 5.2.2-pl1-gentoo
Server Local Time: 2007-06-08 23:36:40
MySQL: 5.0.38-log
Locale: en_GB.UTF-8
Server: Apache/2.0.58 (Gentoo) mod_python/3.2.10 Python/2.4.3 mod_ssl/2.0.58 OpenSSL/0.9.8d PHP/5.2.2-pl1-gentoo mod_perl/2.0.3-dev Perl/v5.8.8
Apache version: Apache/2.0.58 (Gentoo) mod_python/3.2.10 Python/2.4.3 mod_ssl/2.0.58 OpenSSL/0.9.8d PHP/5.2.2-pl1-gentoo mod_perl/2.0.3-dev Perl/v5.8.8
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.16.29-xen
Pre-flight check:
————————————
/var/www/blog.demaziere.fr/htdocs/textpattern/setup/ still exists
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<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
————————————
Offline
#2 2007-06-08 21:49:22
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 'Commenting is closed for this article' and I cannot open it
bortzmeyer wrote:
This is my first TextPattern installation, all went well, I can create articles, publish them, etc but all articles display at the bottom:
Commenting is closed for this article.
But in Admin > Preferences, I have “Accept comments?” set to Yes. Is there something else I have to activate?
There is also, under ‘Comments’, ‘On by default?’ that should be set to ‘yes’.
In Content > Write, I do not see a button to enable comment for the individual article either (but I want commenting enabled by default).
There is, under the ‘More’ link, just above the Publish/Save button.
Offline
#3 2007-06-08 22:01:47
- bortzmeyer
- Member
- Registered: 2007-06-08
- Posts: 14
Re: 'Commenting is closed for this article' and I cannot open it
There is also, under ‘Comments’, ‘On by default?’ that should be set to ‘yes’.
I’m sorry, but I cannot find it.
In Admin > Preferences > Basic ?
Offline
#4 2007-06-08 22:13:59
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 'Commenting is closed for this article' and I cannot open it
Offline
#5 2007-06-09 19:43:06
- bortzmeyer
- Member
- Registered: 2007-06-08
- Posts: 14
Re: 'Commenting is closed for this article' and I cannot open it
Els wrote:
It does not work. I patched txp_prefs.php with the suggested line and now, when I display preferences, I get:
Notice: Undefined index: html in /var/www/blog.demaziere.fr/htdocs/textpattern/include/txp_prefs.php on line 121
(Repeated many times)
Offline
#6 2007-06-09 19:47:16
- bortzmeyer
- Member
- Registered: 2007-06-08
- Posts: 14
Re: 'Commenting is closed for this article' and I cannot open it
bortzmeyer wrote:
It does not work.
On the other end, replacing completely txp_prefs.php by the last Subversion version (r2156) seems to work. Thanks, I know have the comments options in Admin > Preferences > Basic.
Offline