Author Topic: Keep getting this error all of a sudden????  (Read 2861 times)

paul

  • Posts: 41
    • View Profile
Keep getting this error all of a sudden????
« on: November 18, 2008, 12:39:37 pm »
When ever I try to send out mail.  I keep getting this error.  


Please wait while email is queued to send... Duplicate entry 'dc9570adc34723bb44e33b46d850390e' for key 1



I rebooted the server and same deal.

Any idea?

paul

  • Posts: 41
    • View Profile
I figured it out..
« Reply #1 on: November 19, 2008, 03:43:18 am »
My host made a few changes making it difficult to send out.  I replaced the line:

In admin.php search for the line "function calc32" and change the entire function to:
Code:
function calc32($size=32){
 $unique_str = md5(uniqid(rand(), true));
 return substr($unique_str,0,$size);
}


Found it in another post.