Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-24 15:21:39

itl
New Member
Registered: 2007-10-24
Posts: 2

Fatal error: Cannot redeclare process_letter()

Hi !

I have a problem with only one category and one section.

The error’s message is :

“Fatal error: Cannot redeclare process_letter() (previously declared in …/textpattern/publish/taghandlers.php(2738) : eval()’d code:2) in …/textpattern/publish/taghandlers.php(2738) : eval()’d code on line 12”

You can see the error with this links :
- http://www.itl.fr/Actualites/
- http://www.itl.fr/Actualites/?c=Edito

(However the links like http://www.itl.fr/actualites/?c=Fichiers-Infos and the other pages work)
I use the same template for this different pages, that’s why I don’t understand.

Also, I don’t find the function process_letter in taghandlers.php.

If somebody has an idea…

Thank you (and sorry for my english ^^)

Offline

#2 2007-10-26 02:25:15

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Fatal error: Cannot redeclare process_letter()

It is telling you that custom PHP you have used (within a txp:php tag) is the problem.

Offline

#3 2007-10-29 14:08:49

itl
New Member
Registered: 2007-10-24
Posts: 2

Re: Fatal error: Cannot redeclare process_letter()

Thank you very much, you’re right !
I use this function in a form (in a <txp:php> tag !)

Thanks for the help :)

Offline

Board footer

Powered by FluxBB