Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-01-31 01:47:17
- ig0r
- Member
- Registered: 2009-01-26
- Posts: 13
Trouble posting comments
Hello everybody!
Today I’ve moved my site to new hosting (I copied the files and DB) Then I’ve tuned up everything (new location url and other locations) everything works fine except the comments.
When I click “Preview” – everything is ok, but when I click Submit – I see just a blank page.
In debug mode I can see these messages:
Warning: Cannot modify header information – headers already sent by (output started at /home/login/public_html/textpattern/publish/taghandlers.php:7076) in /home/login/public_html/textpattern/publish/comment.php on line 258
Warning: Cannot modify header information – headers already sent by (output started at /home/login/public_html/textpattern/publish/taghandlers.php:7076) in /home/login/public_html/textpattern/publish/comment.php on line 259
Warning: Cannot modify header information – headers already sent by (output started at /home/login/public_html/textpattern/publish/taghandlers.php:7076) in /home/login/public_html/textpattern/publish/comment.php on line 260
Warning: Cannot modify header information – headers already sent by (output started at /home/login/public_html/textpattern/publish/taghandlers.php:7076) in /home/login/public_html/textpattern/publish/comment.php on line 261
Warning: Cannot modify header information – headers already sent by (output started at /home/login/public_html/textpattern/publish/taghandlers.php:7076) in /home/login/public_html/textpattern/publish/comment.php on line 262
Warning: Cannot modify header information – headers already sent by (output started at /home/login/public_html/textpattern/publish/taghandlers.php:7076) in /home/login/public_html/textpattern/lib/txplib_misc.php on line 1736
I’ve checked taghandlers.php on line 7076 – there is nothing!
in comment.php on lines 258-262 we have setcookie code.
Can someone Please please help? I’m really stuck with this :(
Last edited by ig0r (2009-01-31 01:47:56)
Offline
#2 2009-01-31 02:13:04
- ig0r
- Member
- Registered: 2009-01-26
- Posts: 13
Re: Trouble posting comments
I think the problem is that taghandlers.php has an error and it tries to show it, so the output starts.
Maybe I can somehow tell taghandlers.php to display errors so I can see what exactly is wrong? adding error_reporting(E_ALL) at the start of taghandlers.php doesn’t help :(
Offline
#3 2009-01-31 02:59:15
- ig0r
- Member
- Registered: 2009-01-26
- Posts: 13
Re: Trouble posting comments
I’ve checked the taghandlers.php
I think the error message starts at the end of taghandlers.php right at the “?>” What does that mean? all code is clean and good and doesn’t produce any syntax errors.
Offline
#4 2009-01-31 03:23:05
- ig0r
- Member
- Registered: 2009-01-26
- Posts: 13
Re: Trouble posting comments
OK!!!
I’ve solved it!
I had “ “ (spaces) after the “?>” tag. So it put spaces after executing taghandlers.php in the browser :(
It sure may be a nasty error!
Good Luck to all textpattern community!
Offline
Pages: 1