If anyone's interested in the technical explanation, the script responsible for replying to the ajax request was miscalculating the number of posts in a thread. Instead of using a method which was abstracted into a Thread class, it used it's own database query which forgot to consider posts that were marked as deleted but were never permanently deleted.
Archived: 'Page Does Not Exist' Error Fixed
Posted Under: Site News & Updates
(Page 1 out of 1): 1
'Page Does Not Exist' Error Fixed
07/20/09 11:47 pm | #1
I believe I have finally fixed the "Page does not exist" error that would sometimes appear while replying through the Quick Reply. This bug has existed since December when we moved to the completely new, custom software but its source has always escaped me. Hopefully it's now squashed for good.
If anyone's interested in the technical explanation, the script responsible for replying to the ajax request was miscalculating the number of posts in a thread. Instead of using a method which was abstracted into a Thread class, it used it's own database query which forgot to consider posts that were marked as deleted but were never permanently deleted.
If anyone's interested in the technical explanation, the script responsible for replying to the ajax request was miscalculating the number of posts in a thread. Instead of using a method which was abstracted into a Thread class, it used it's own database query which forgot to consider posts that were marked as deleted but were never permanently deleted.
Re: 'Page Does Not Exist' Error Fixed
07/20/09 11:50 pm | #2
yeah i have noticed it a ton. thanks for the hard work jackson!
Re: 'Page Does Not Exist' Error Fixed
07/20/09 11:51 pm | #3
Is that were it says 'Fatal error? Cause I just got that after posting that last post in the grind my gears thread.
Re: 'Page Does Not Exist' Error Fixed
07/20/09 11:52 pm | #4
If you just received an error while replying through the advanced reply page, sorry about that. While deleted posts were accounted for there, it still wasn't using the abstracted code within the method so I had to correct that.
Edit: Irish, this is the one you just received. It's corrected now though.
Edit: Irish, this is the one you just received. It's corrected now though.
Re: 'Page Does Not Exist' Error Fixed
07/20/09 11:52 pm | #6
Thanks Jackson that always bugged me when that happened
Re: 'Page Does Not Exist' Error Fixed
07/20/09 11:52 pm | #7
OHH!!! so thats what that was...i never realized that but yea it did happen to me alot. i mean, the post was still there and posted but it would be all "omg page no exist gtfo!" and i was like " k..."
Re: Re: 'Page Does Not Exist' Error Fixed
07/20/09 11:54 pm | #8
Quote by Jackson:
If you just received an error while replying through the advanced reply page, sorry about that. While deleted posts were accounted for there, it still wasn't using the abstracted code within the method so I had to correct that.
Edit: Irish, this is the one you just received. It's corrected now though.
Edit: Irish, this is the one you just received. It's corrected now though.
Yeah, it was no real inconvenience but I thought you'd wanna know.
(Page 1 out of 1): 1