Still working on the weirdo bug that was/is causing problems with the archive (either posts that shouldn't be showing which are, or the opposite.) Tracking this down has basically led me on a tour back through the entire logic of the system. Yikes. It's not a pretty site in there. Spaghetti code I believe it's called. Anyway, made some changes to the /edit and /post scripts. If you were trying to post or edit between 2:30 and 3:30 today you might have gotten some errors or other strange results. Should be working now. Definitely fixed some things. Also got my head around a few more problem scenarios that still have to be fixed. These involve strange combinations of events, but could possibly happen. The best fixed that happened today has to do with deleting posts. Before, if you deleted a post that was showing on a page (say the page is set to display 10 posts) then the page would only show 9 posts. This was a problem in its own right, but also led to other problems if still more posts are added. The probelm would be that stuff at the bottom of the page wouldn't slip into the archive correctly. This should be fixed now. If you have a page set to display 10 items, and you have more than 10 items (i.e., some have already slipped into the archive) and then you erase one post that is one of the 10 showing, you should now still have 10 posts showing on the page (it will now resurrect one out of the archive.)
One of the problems still to be fixed involves changing the orientation of the page (from chronological to reverse, or the other way around.) If you do this, and the end that you are putting at the top contains deleted posts, things will go a little screwey. So beware of reversing the ordering of your page until further notice.
One quick fix for this sort of problem is to set the number of posts to display on page (set in [editpage]) to '1', and then set it back up again to whatever you want. This is like 'reseting' the ordering mechanism of the page. Blah, blah, blah.
I think I have learned this week that sometimes I should just shut up, lest the demented one of me speaks his mind, but I have learning disabilities and will make the obvious grievous error of speaking for others, like this--we appreciate your efforts, jim.
|
One of the problems still to be fixed involves changing the orientation of the page (from chronological to reverse, or the other way around.) If you do this, and the end that you are putting at the top contains deleted posts, things will go a little screwey. So beware of reversing the ordering of your page until further notice.
One quick fix for this sort of problem is to set the number of posts to display on page (set in [editpage]) to '1', and then set it back up again to whatever you want. This is like 'reseting' the ordering mechanism of the page. Blah, blah, blah.
- jim 6-14-2001 8:37 pm
I think I have learned this week that sometimes I should just shut up, lest the demented one of me speaks his mind, but I have learning disabilities and will make the obvious grievous error of speaking for others, like this--we appreciate your efforts, jim.
- jimlouis 6-14-2001 9:30 pm [add a comment]