Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-04 19:24:06

cdrom600
New Member
Registered: 2006-12-04
Posts: 3

Fatal Error in taghandler.php when posting

When I try to edit or post a live article, the following message appears at the bottom of the Textpattern admin page:

Fatal error: Cannot redeclare page_title() (previously declared in /home/user/web/example.net/textpattern/publish/taghandlers.php:16) in /home/user/web/example.net/textpattern/publish/taghandlers.php on line 64

(username and domain have been changed)

This only happens when I try to save or post an article with “Live” status.

What could the problem be?

Offline

#2 2006-12-04 20:01:41

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Fatal Error in taghandler.php when posting

What changed to cause this? Did you upgrade textpattern?

Perhaps this was part of the error message “(username and domain have been changed)”?

Last edited by Walker (2006-12-04 20:27:50)

Offline

#3 2006-12-04 21:40:45

cdrom600
New Member
Registered: 2006-12-04
Posts: 3

Re: Fatal Error in taghandler.php when posting

I am not sure exactly what changed. I’m pretty sure the issue arose after upgrading from 4.0.3 to 4.0.4.

No, a username/domain change was not mentioned in the error.

Offline

#4 2006-12-04 22:01:29

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Fatal Error in taghandler.php when posting

Post your diagnostics information.

Also, turn off all your plugins, and see if you can reliably reproduce the error.

Offline

#5 2006-12-04 23:07:52

cdrom600
New Member
Registered: 2006-12-04
Posts: 3

Re: Fatal Error in taghandler.php when posting

OK. I apologize; it was stupid of me to post without checking for problems with plugins.
The only plugin I have installed is the Google Sitemap Generator plugin 0.7. When I disable that, the issue goes away.

I will look to see if a new version is available.

For the record, my diagnostics:

Textpattern version: 4.0.4 (r1956)
Last Update: 2006-10-21 22:08:39/2006-10-21 22:08:06
Document root: /home/chrisdz/web/chrisdzombak.net (/home/.fiorella/chrisdz/web/chrisdzombak.net)
$path_to_site: /home/.fiorella/chrisdz/web/chrisdzombak.net
Textpattern path: /home/.fiorella/chrisdz/web/chrisdzombak.net/textpattern
Permanent link mode: section_title
Temporary directory path: /home/.fiorella/chrisdz/web/chrisdzombak.net/textpattern/tmp
Site URL: chrisdzombak.net
PHP version: 5.1.2
Server Local Time: 2006-12-04 15:02:17
MySQL: 5.0.24a-standard-log
Locale: en_US.UTF-8
Server: Apache/2.0.54 (Unix) PHP/4.4.2 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.1.4
PHP Server API: cgi-fcgi
RFC 2616 headers:
Server OS: Linux 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++opt+c6+gr2b-v6.192

.htaccess file contents:
————————————

  1. BEGIN Textpattern Rules

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

<IfModule mod_rewrite.c>

RewriteEngine On

# Dreamhost stats RewriteBase / RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/failed_auth.html$ RewriteRule ^.*$ – [L]

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

# Feedburner RewriteCond %{QUERY_STRING} ^rss=1$ RewriteRule ^(.*)$ http://feeds.feedburner.com/chrisdzombak RewriteCond %{QUERY_STRING} ^atom=1$ RewriteRule ^(.*)$ http://feeds.feedburner.com/chrisdzombak [R,L]

</IfModule>

# More Feedburner Redirect /rss http://feeds.feedburner.com/chrisdzombak Redirect /atom http://feeds.feedburner.com/chrisdzombak

#php_value register_globals 0

  1. END Textpattern Rules

—————————————————-

Thanks!

Offline

Board footer

Powered by FluxBB