I randomly receive the following error message on my web site while having Logo Tool installed.

Duplicate entry 'logotool_logo' for key 1 query: INSERT INTO variable (name, value) VALUES ('logotool_logo', 's:75:\"/home/fransonf/public_html/reunion/modules/logotool/logos//Reunion2008E.jpg\";') in /home/fransonf/public_html/reunion/includes/database.mysql.inc on line 120.

I have the settings set to show random logos on every page. I don't if it's a problem with SQL or the module. Please help.

http://fransonfamily.com/reunion

Comments

pobster’s picture

Try as I might - I just cannot replicate this issue. Do you have anything... weird... set up on your server which may be contributing to this issue? Do you have any php accelerator or caching stuff enabled?

Thanks

Pobster

lcfranson’s picture

My host does not use php accelerator and I disabled caching. The problem is very random.

pobster’s picture

Hmmm... Being random is not helpful!!!

...Are you absolutely sure there's no pattern to the error appearing? I've tried for over a week to overload it and generally confuse it, but I've not had an error like the one you're having. Perhaps it's a conflict? What contributed modules do you have enabled?

Thanks

Pobster

lcfranson’s picture

The errors are totally random. The error happens with different logos on any page. The only contributed modules I have enabled are autologout and countdown.

pobster’s picture

So...? Did you find out what caused this behaviour or did you give up on it?

Pobster

lcfranson’s picture

I uninstalled autologout, countdown and I am stille getting the error. I upgraded to Drupal 5 and I still get the error. I think the problem might be that I don't have lock table permissions for my database. My hosting company does not offer it. I can live with the error if that's the case.

pobster’s picture

Logotool hasn't been updated for Drupal 5.0? I'm sure it'll be very simple, but if you've already done it then please share the code with everyone else... I'm a bit in limbo at the moment as my dev PC has gone up in smoke so I've lost all the work I've done on updating my modules (all I have is some shoddy incomplete stuff I uploaded to CVS which is WAY out of date).

I'm afraid I still can't duplicate your error myself, I've had logotool installed flawlessly on my site since its inception and I've not come across it... Apologies I'm not more clued up about what could possibly be causing it.

Pobster

lcfranson’s picture

When I upgraded to Drupal 5, logotool just worked. The settings didn't change and I didn't uninstall it before the upgrade. Once I upgraded, I have been unable to change the settings in logotool because Drupal 5 does not put it in the module admin menu.

pobster’s picture

Status: Active » Closed (fixed)

Hiya! I'm going to close this bug report as I assume it hasn't happened any more?

Thanks

Pobster

lcfranson’s picture

Since I upgraded to Logo Tool 5.x-1.2, I no longer get errors.