[Imc-drupal-dev] Anonymous posts get error.
Erisian St. Vinge
esvinge at yahoo.com
Wed Oct 26 12:10:14 PDT 2005
I fixed this by realizing that the subscription module
was causing the problem. It was calling the user_save
function even when people were'nt logged in, thus
causing the error. There is a bug in the subscription
module and I guess there is a new version.
The moral is always test modules after installing them
and look for errors, with drupal its really easy to
just click modules and then woalah they work but weird
bugs can crop up like this.
I've been working on the moderation of comments
recently after we've had a lot of problems with
racists after covering the toledo protests of the
nazis. It can be pretty useful so far.
--- "Erisian St. Vinge" <esvinge at yahoo.com> wrote:
> Hey everybody. I'm the main admin for Cbusimc.org
> I'm having a problem where anonymous users are
> this error whenever they post instead of a
> confirmation. Everything is still posted but it has
> resulted in people reposting a lot of stuff. It also
> doesn't happen when people are logged in.
> I posted it on Drupal.org with no responses yet, any
> help is welcome although I guess I'll just keep
> looking into it myself.
> user error: Duplicate entry '' for key 2
> query: INSERT INTO users (created, changed, uid)
> VALUES ('1130284968', '1130284968', '100') in
> on line 66.
> warning: Invalid argument supplied for foreach() in
> on line 174.
> warning: Cannot modify header information - headers
> already sent by (output started at
> on line 192.
> This doesn't happen when people post Flexinode
> while they are logged in, but only when they are a
> anonymous user, or not logged in.
> I saw some references too this but I couldn't figure
> it out. Some comments say that the changed column
> fazed out after drupal 4.6.1, but I'm using 4.6.3
> the whole site uptodate. Any kind of recommendations
> would be appreciated.
> Start your day with Yahoo! - Make it your home page!
> Imc-drupal-dev mailing list
> Imc-drupal-dev at lists.indymedia.org
Yahoo! FareChase: Search multiple travel sites in one click.
More information about the Imc-drupal-dev