Closed (fixed)
Project:
Logo Tool
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2006 at 22:00 UTC
Updated:
6 Apr 2007 at 15:13 UTC
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.
Comments
Comment #1
pobster commentedTry 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
Comment #2
lcfranson commentedMy host does not use php accelerator and I disabled caching. The problem is very random.
Comment #3
pobster commentedHmmm... 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
Comment #4
lcfranson commentedThe errors are totally random. The error happens with different logos on any page. The only contributed modules I have enabled are autologout and countdown.
Comment #5
pobster commentedSo...? Did you find out what caused this behaviour or did you give up on it?
Pobster
Comment #6
lcfranson commentedI 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.
Comment #7
pobster commentedLogotool 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
Comment #8
lcfranson commentedWhen 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.
Comment #9
pobster commentedHiya! I'm going to close this bug report as I assume it hasn't happened any more?
Thanks
Pobster
Comment #10
lcfranson commentedSince I upgraded to Logo Tool 5.x-1.2, I no longer get errors.