On Mon, 23 Jul 2007 11:09:43 -0600, Wallace Winfrey wrote:
> We are having a very weird problem with Scoop.
> 
> I modified a story to add a link, then when I go into edit the link
> (because I forgot to close the link in quotes):
> 
> A. In Firefox/Windows & Firefox/Mac, after editing the story none of the
> buttons work.
> 
> B. In IE7/Windows, the entire editing field is greyed out and won't let
> me edit.
> 
> C. In Safari, when I open up the story for editing, after it opens the
> browser attempts to go to the URL with the link that has the missing quotes!
> 
> How can I edit this story manually? It seems the lack of a closing quote
> on the <a href="link>blah</a> string is majorly screwing up the editor's
> functionality.

Sad to say your best bet is actually using SQL. Because of the 
missing closing quote, the URL swallows up the rest of the tag and 
everything to the next quote. If the part it swallowed includes the 
</TEXTAREA> it can result in some very bizarre behaviour. 

The HTML checker should have caught that though; it's generally good 
about 
making sure everything matches up. The only time I've encountered that 
myself is when the database truncated something after the html checker 
said it was ok, and happened to lop off a closing quote.

You may be able to just concatenate a closing quote and tag with SQL, 
then edit it to fix it properly using the story editing form.

> Also, we have two running copies of Scoop on our site, one is for
> testing and previewing stories, the other is for production.
> 
> On the production site, most of the stories appear most of the time,
> although occasionally we get the story not found behavior. On the QA
> site, I can edit a story, I can see it in the admin story list, but when
> I go to view it, it says "Story Not Found". Consistently, although every
> once in a blue moon it will actually display the story. Note that the
> URL is correct, and matches the one on the production side where the
> story is indeed working.

When you say you have "two copies of Scoop" do you mean two Scoop sites 
running with one copy of apache, or two apaches each running one Scoop 
site? If the former, did you give the two sites different site_id 
variables in the apache configuration file? That site_id is how Scoop 
knows which data set it should use. The first time I had two copies of 
Scoop on the same apache I didn't know this and my two sites were going 
crazy. 

-janra