Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-23 15:21:15

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

r1162 - Multiple delete comments throws an error

I’ve just upgraded from r1160 to r1162 and it so happens that I had 3 hand-written spams this morning which needed to be “banned” and deleted. I did the IP banning individually from the comments editing screen then tried to do a multi-delete from the comments listing screen and was thrown this notice repeated 3 times:-

Notice: Undefined variable: tablename in /home/thebombs/public_html/textpattern/include/txp_discuss.php on line 278

The comments remain undeleted though they appear to have been “hidden” which wasn’t something I did when I was banning them on the comments editing screen. (I didn’t notice whether they were automatically hidden when I banned the IPs.) I don’t appear to be able to delete them individually either. I get the same notice.

I haven’t tried to delete an “unbanned” IP comment to see if that makes a difference as this is on my main site.

DIAGNOSTICS

Textpattern version: 4.0.2 (r1162)
last_update: 2005-11-01 19:49:24/2005-11-01 19:45:51
Document root: /home/thebombs/public_html
$path_to_site: /home/thebombs/public_html
Textpattern path: /home/thebombs/public_html/textpattern
Permanent link mode: section_id_title
upload_tmp_dir: /home/vdeck/tmp
Temp folder: /home/thebombs/public_html/textpattern/tmp
Site URL: thebombsite.com
PHP version: 4.3.11
server_time: 2005-12-23 07:20:27
MySQL: 4.0.18
Locale: en_GB.ISO_8859-1
Server: Apache/1.3.33 (Unix) mod_log_bytes/0.3 FrontPage/5.0.2.2635 PHP/4.3.11 mod_ssl/2.8.22 OpenSSL/0.9.7d
Apache version: Apache/1.3.33 (Unix) mod_log_bytes/0.3 FrontPage/5.0.2.2635 PHP/4.3.11 mod_ssl/2.8.22 OpenSSL/0.9.7d
php_sapi_mode: apache
os_version: FreeBSD 4.9-RELEASE-p11

.htaccess file contents:
————————————
Options -Indexes

php_value register_globals 0

#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php

————————————


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#2 2005-12-23 23:10:33

kusor
Member
From: Spain
Registered: 2004-03-07
Posts: 93
Website

Re: r1162 - Multiple delete comments throws an error

Thanks you for the report. Bug annotated and being fixed starting just now at r1163.

Merry Xmas!

Last edited by kusor (2005-12-23 23:20:52)

Offline

Board footer

Powered by FluxBB