Main
Create a Site
Pricing
Forum
Help▼
FAQ
Contact Us
Articles▼
About Our Forums
Planning your Loot System
Building your DKP System
Item Link Guide
In-Game DKP Mod
DKP Profiler Mod
Creating Guides
Layout Guide
Using the Gallery
BBCode Guide
Resources▼
Preview Our Templates!
Features
Free Demo
Guild List
Testimonials
Recent Changes
Logged Out
Create an Account
Login:
Password:
Forgot your password?
To get access, enter your email address or your user name
Cancel
Newsletter duplication
Back to the Tickets List
Newsletter duplication
Creator
Verno
Public or Private
Public
Private tickets are only accessible to you and to DKPSystem.com staff
Public Tickets are visible to everyone)
Status
Closed
Type
Bug
Section of the Site
Other/Misc
Urgency
(0 votes)
Rating
(0 votes)
Description:
When I send a newsletter out, it is sending two copies to everyone. When I click to send it out, it correctly says that it is queueing 29 emails. But everyone gets two copies, both with the same time on them.
Official DKPSystem.com Comments
No official comments yet
User-Submitted Comments
These posts are also available on the
forum
with more features. This page is intentional simplified
View this info on the forum
[You must be logged in to post comments]
5314 days ago
Chops
Said:
Just to be sure, while this might not be the cause, make sure not to double-click the "Send Now" link.
[You must be logged in to reply]
5314 days ago
Verno
Said:
Quote by
Chops
Just to be sure, while this might not be the cause, make sure not to double-click the "Send Now" link.
Well, it's happened two weeks running now, so I don't think it was that. I wouldn't normally double-click a link, so it would have had to be an accident.
[You must be logged in to reply]
5313 days ago
Chops
Said:
Interesting. I'll have to look further into this. I don't currently have an explanation.
[You must be logged in to reply]
5307 days ago
Verno
Said:
Two copies went out again this week. I definitely only clicked once, and it said it was queueing up the correct number.
[You must be logged in to reply]
5289 days ago
Verno
Said:
Can I get an update on this? I send out a newsletter every week, and everyone always gets two copies. It's a bit embarrassing.
[You must be logged in to reply]
5289 days ago
Chops
Said:
I'm so sorry for this. I'm still working on a solution for you. I'm really not sure why it's duplicating your newsletter.
On a more positive note, I like the custom layout you've done on your site. Very nice presentation!
But I want you to know that I am indeed looking into this for you.
[You must be logged in to reply]
4810 days ago
Verno
Said:
This still isn't fixed.
[You must be logged in to reply]
4809 days ago
Chops
Said:
Thank you for bringing this up again.
Consider it officially fixed.
This is one of the most enigmatic issues I've run across since I started this over 5 years ago.
The ultimate cause was the gallery preview section, oddly enough.
Here's a basic breakdown for you, if you're curious.
Initially, I suspected that the load balancer was double-issuing requests, which was something that has happened in the past when for whatever reason the load balancer thought one of the servers was down and reissued the request to another server.
But the fact that it wasn't happening for me on the DKPSystem main page or my guild site more or less indicated to me that that wasn't the case. So I delved deeper and found that every page on your site was actually double-issuing requests, and that they were being issued by the browser.
The log files on the server would first indicate the original REFERER header, and then there would be a duplicate request with the target page as the REFERER header. This could be caused by some kind of javascript redirect.
So commenced several hours of reading over the HTML and javascript of your site (both the generated template code from your custom layout and the raw layout.html file you use) looking for something, *anything* that would look like a separate request. A javascript AJAX request, a redirect, or a meta tag redirect would be the obvious culprits, none of which existed. I even had a moment of panic when I saw that the page was loading a pastebin.js file, which I thought your site had been hacked (as pastebin is a common dumping ground for keyloggers), until I realized it was one of my chrome plugins (lol, so dump).
I disabled javascript and found that the problem was still happening, which really got me wondering. It happened in both Chrome and Firefox (I run Linux so I couldn't test IE without walking into the next room, but it was unnecessary).
I fired up Wireshark to sniff the packets, and found the duplicate requests there as well. I was hoping Wireshark would give me some insight, but to no avail.
I tried using wget to download the pages, thinking that it would also duplicate requests in the log, but they weren't. Wget was issuing a single request. So something about the browser was issuing the double-request, and it wasn't javascript, since javascript was disabled, and it wasn't a meta tag redirect thing.
After searching a bit on google (which turned out to be a difficult search query to write), I came across someone mentioning that an <img> tag with an empty "src" attribute would load the current page as the src (something of which I was admittedly unaware), and I looked over your page's code to find exactly that, but it was in the gallery preview.
The page made a dummy, supposedly empty <img src=''> tag which would then be loaded with the cycling images when the page loaded. I replaced it with <img src='about:blank'> so that it's just an empty request to the browser default and viola, problem solved!
And since I don't use the gallery preview on my guild site or on the DKPSystem.com site, I wouldn't have noticed it.
So there you have it!
I've tested the fix and pushed it out to the production servers already. Thanks again for keeping on me to fix this elusive bug.
[You must be logged in to reply]
Main
|
Create a Site
|
Features
|
Forum
|
Knowledge Base
|
Contact
|
Privacy Policy
Part of the
DKPSystem.com
Network.