A bugged thread?

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

A bugged thread?

Post by Mordred »

viewtopic.php?f=1&t=78386

I swear that my answer was to a different thread - see the topic subject (which I never change)

Searching for "Reponse headers not trimming right" gives only the said thread, and the original one (a guy was having trouble with a proxy-like script) is gone.

Mayhap it will help if someone looked at the raw DB data for further clues.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: A bugged thread?

Post by Chris Corbyn »

Very odd. I checked both the phpb_topics and phpbb_posts tables for titles which match '%response headers%' and nothing :? So just for my own sanity I looked for this thread with the same method and it was found.

I wonder if someone deleted the thread by accident or if the OP deleted it (can they do that I wonder?). Still doesn't explain how your post ended up in someone else's thread though :dubious:

Code: Select all

mysql> select * from phpbb_topics where topic_title like '%response headers%';
Empty set (0.60 sec)
 
mysql> select * from phpbb_posts where post_subject like '%response headers%';
Empty set (8.88 sec)
 
mysql> select * from phpbb_posts where post_subject like '%A bugged thread%';
+---------+----------+----------+-----------+---------+---------------+------------+---------------+---------------+---------------+----------------+------------------+------------+---------------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------+-----------------+------------+----------------+----------------+------------------+----------------+-----------------+------------------+
| post_id | topic_id | forum_id | poster_id | icon_id | poster_ip     | post_time  | post_approved | post_reported | enable_bbcode | enable_smilies | enable_magic_url | enable_sig | post_username | post_subject     | post_text                                                                                                                                                                                                                                                                                                                                                                                                                                                         | post_checksum                    | post_attachment | bbcode_bitfield | bbcode_uid | post_postcount | post_edit_time | post_edit_reason | post_edit_user | post_edit_count | post_edit_locked |
+---------+----------+----------+-----------+---------+---------------+------------+---------------+---------------+---------------+----------------+------------------+------------+---------------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------+-----------------+------------+----------------+----------------+------------------+----------------+-----------------+------------------+
|  441943 |    78507 |        7 |     24554 |       0 | 212.21.145.35 | 1202285904 |             1 |             0 |             1 |              1 |                1 |          1 |               | A bugged thread? | [url:2occ0pzh]http://forums.devnetwork.net/viewtopic.php?f=1&t=78386[/url:2occ0pzh]
 
I swear that my answer was to a different thread - see the topic subject (which I never change)
 
Searching for "Reponse headers not trimming right" gives only the said thread, and the original one (a guy was having trouble with a proxy-like script) is gone.
 
Mayhap it will help if someone looked at the raw DB data for further clues. | f74e21c792b616bedcdcbf2d7052edac |               0 | EA==            | 2occ0pzh   |              1 |              0 |                  |              0 |               0 |                0 | 
+---------+----------+----------+-----------+---------+---------------+------------+---------------+---------------+---------------+----------------+------------------+------------+---------------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------+-----------------+------------+----------------+----------------+------------------+----------------+-----------------+------------------+
1 row in set (6.61 sec)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: A bugged thread?

Post by Chris Corbyn »

Hmm, I just noticed "Response" is typo'd in your text. "Reponse".

In which case, I see your post (in wrong thread):

Code: Select all

mysql> select * from phpbb_posts where post_subject like '%reponse headers%';
+---------+----------+----------+-----------+---------+---------------+------------+---------------+---------------+---------------+----------------+------------------+------------+---------------+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------+-----------------+------------+----------------+----------------+------------------+----------------+-----------------+------------------+
| post_id | topic_id | forum_id | poster_id | icon_id | poster_ip     | post_time  | post_approved | post_reported | enable_bbcode | enable_smilies | enable_magic_url | enable_sig | post_username | post_subject                                                  | post_text                                                                                                                                                                                                                                                               | post_checksum                    | post_attachment | bbcode_bitfield | bbcode_uid | post_postcount | post_edit_time | post_edit_reason | post_edit_user | post_edit_count | post_edit_locked |
+---------+----------+----------+-----------+---------+---------------+------------+---------------+---------------+---------------+----------------+------------------+------------+---------------+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------+-----------------+------------+----------------+----------------+------------------+----------------+-----------------+------------------+
|  441372 |    78386 |        1 |     24554 |       0 | 212.21.151.86 | 1202060686 |             1 |             0 |             1 |              1 |                1 |          1 |               | Re: Reponse headers not trimming right - or other problem? :( | When you get the HTTP response from the remote server, you need to trim the HTTP headers before sending them to the client. Now you're sending your headers PLUS whatever the remote server gave you, that's why you see the remote headers in the "content". | 62c1ba0320da99795d9aff8518ad99a7 |               0 |                 | 386ciw1e   |              1 |              0 |                  |              0 |               0 |                0 | 
+---------+----------+----------+-----------+---------+---------------+------------+---------------+---------------+---------------+----------------+------------------+------------+---------------+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+-----------------+-----------------+------------+----------------+----------------+------------------+----------------+-----------------+------------------+
1 row in set (8.74 sec)
But still no topic:

Code: Select all

mysql> select * from phpbb_topics where topic_title like '%reponse headers%';
Empty set (3.16 sec)
Either the thread's been renamed, or it's been deleted :?
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Re: A bugged thread?

Post by JayBird »

There was something about a deletion in the moderator log Chris
Post Reply