Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Index.pl not Updating Comments

posted by Krow on 08:37 AM May 29th, 2002   Printer-friendly   Email story
I'm getting the following error in slashd.log

Thu Feb 21 01:07:05 2002 freshenup.pl *** Update data not in error channel!

Which is causing my homepage not to update with the # of comments a story has, can someone explain how to fix this?

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • One, check the discussions table - I had this error for 12 miserable hours of debugging last night, and it turned out that discussion rows weren't being created for stories, which caused major breakage. Manually inserting discussions rows seems to have got rid of most of the errors (and I can now post comments on my site).

    Two, check section_topics in your database. If the entries in here make no sense relative to what is in your sections and topics tables, then that will cause number one above to happen because the story editor screws up when it can't find the right topic for the section...

    Hope this helps... I haven't cleared all my errors of this type, so I may not have found the cause, just treated some symptoms instead :(

    Regards,
    Denny
  • It was due to a problem in the data;misc;default template, which is bizarre to say the least.

    Look into the slashd.log and find the command that gives error, then run it by hand. For example:
    article.pl virtual_user=mol_forum ssi=yes sid='02/06/07/1032217' section='articles' bytes=5102 > /dev/null.

    If it works fine, it returns on the standard error something like
    count 1, hitparade 1,1,1,0,0,0,0
    otherwise there should be errors after the count line: fix those errors, are the ones that confuse slashd.

    Good luck

    --

    Check out the Slash in Italian Project [kenobi.it]