Psycho-Babble Administration Thread 2062

Shown: posts 1 to 5 of 5. This is the beginning of the thread.

 

Dr. Bob, more wonky HTML on Psycho-Babble

Posted by kid_A on September 16, 2001, at 13:56:59

Theres a little HTML glitch on Psycho Babble, which was similar to a previous problem, it starts at a point in the messages where the following is:

abble/20010907/msgs/78504.html" >Europe Cruz 9/10/01

...just letting you know, as it seemed to be easily fixable last time.

 

Re: more wonky HTML

Posted by Dr. Bob on September 16, 2001, at 15:09:09

In reply to Dr. Bob, more wonky HTML on Psycho-Babble, posted by kid_A on September 16, 2001, at 13:56:59

> Theres a little HTML glitch on Psycho Babble, which was similar to a previous problem, it starts at a point in the messages where the following is:
>
> abble/20010907/msgs/78504.html" >Europe Cruz 9/10/01
>
> ...just letting you know, as it seemed to be easily fixable last time.

Thanks for letting me know. It's fixed. But do you have any idea why this happens? I think all the scripts lock files before writing to them. I don't know if I'm doing something wrong, of if this just happens when a server gets busy. At least it doesn't happen *that* often...

Bob

 

Re: more wonky HTML » Dr. Bob

Posted by kid_A on September 16, 2001, at 19:16:04

In reply to Re: more wonky HTML, posted by Dr. Bob on September 16, 2001, at 15:09:09

> Thanks for letting me know. It's fixed. But do you have any idea why this happens? I think all the scripts lock files before writing to them. I don't know if I'm doing something wrong, of if this just happens when a server gets busy. At least it doesn't happen *that* often...

Well, index.html for each directory is static, so I am asuming that as users post, this is appended to by whatever mechanism is used for that purpose... It seems to affect a random? section of the html rather than just an error in the post process that affects all the messages from that point onwards... This has been the case in both times that I've noticed it...

It could in fact be a after effect of the post process, which incorectly updates index.html, but I don't know that for certain... I don't know if it happens randomly, perhaps the page gets corrupted at some point during the write process...??? Or by some other method...

Maybe we can check out the html next time, if it occurs again to get a better picture.

Do you use a pre-made cgi for the boards, or is it something of your own design? If you got it as an add-on, you may try contacting the original author.

Sorry I can't be more helpfull, I'm not quite an expert in html, I do a bit of design, but thats about it.

 

Re: more wonky HTML

Posted by Dr. Bob on September 17, 2001, at 0:57:24

In reply to Re: more wonky HTML » Dr. Bob, posted by kid_A on September 16, 2001, at 19:16:04

> It seems to affect a random? section of the html rather than just an error in the post process that affects all the messages from that point onwards...
>
> perhaps the page gets corrupted at some point during the write process...???

It does seem random, but maybe that's just because I don't know what's going on... I do think it's getting corrupted during a write process, what else could it be?

My theory is that the basic "post process" is OK, since it works 99% of the time, but every once in a while certain things happen at the same time and, um, wonk the HTML. Two people try posting at the same time? Someone posts just as the server's rotating its logs? Or as it gets backed up?

Some posts have been affected, too, it doesn't just happen to the index.html pages.

> Maybe we can check out the html next time, if it occurs again to get a better picture.

It's like a section is missing. It's not like something's there that shouldn't be, or something comes out wrong...

> Do you use a pre-made cgi for the boards, or is it something of your own design?

It was pre-made at the beginning, but I've made a zillion changes since...

Any Perl whizzes out there?

Bob

 

Re: more wonky HTML

Posted by Dr. Bob on September 17, 2001, at 11:02:14

In reply to Re: more wonky HTML, posted by Dr. Bob on September 16, 2001, at 15:09:09

> I think all the scripts lock files before writing to them. I don't know if I'm doing something wrong...

I finally went and tested it. Boy, it was *totally* not working! Now I'm amazed we managed to get this far. Well, it should be fixed now (famous last words)...

Bob


This is the end of the thread.


Show another thread

URL of post in thread:


Psycho-Babble Administration | Extras | FAQ


[dr. bob] Dr. Bob is Robert Hsiung, MD, bob@dr-bob.org

Script revised: February 4, 2008
URL: http://www.dr-bob.org/cgi-bin/pb/mget.pl
Copyright 2006-17 Robert Hsiung.
Owned and operated by Dr. Bob LLC and not the University of Chicago.