Logo
FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
Email Notification Problems. Aaagghh!

 
Post new topic   Reply to topic    www.fanart-central.net Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Jedi
Forum Stalker


Joined: 27 Jun 2007
Posts: 1072
Location: West Sussex, England

PostPosted: Thu May 22, 2008 9:33 am    Post subject: Email Notification Problems. Aaagghh! Reply with quote

I no longer receive email notifications that my favourite artists have submitted artwork. Twice this has happened in, like, two days alone. I found this out, because I went to the recent submissions page and clicked on to today's date. What the hell is going on here, folks? Does this mean you're gonna set up a watch system like Deviant Art?
_________________
The Force will be with you... always.
Back to top
View user's profile Send private message
London
Moderator


Joined: 23 Mar 2006
Posts: 6474

PostPosted: Thu May 22, 2008 9:42 am    Post subject: Reply with quote

I have no idea really, but it may just be a delay (especially regarding the pictures submitted today, because a whole bunch of pictures [i]just[/i] got approved).
_________________
[i][size=9]Go Yankees![/size][/i]
Back to top
View user's profile Send private message
Sora121
Developer


Joined: 02 Oct 2006
Posts: 2591
Location: I'm here some place

PostPosted: Thu May 22, 2008 2:55 pm    Post subject: Reply with quote

The email notifications system has had a small bug that none of us can seem to figure out fully.

All of the program looks fine, but for some reason a few users on Photo-Lucidity have explained that they too are not receiving emails. You may want to try re-enabling the submissions to see if that may solve the problem.


I almost doubt it will, though. I did add a small bit to the processing that handles the notifications, but that should have little no effect all the same.
Just in case, I'll ask if anything has changed on PL.
Back to top
View user's profile Send private message MSN Messenger
cstdenis
Evil Overlord


Joined: 31 Dec 1969
Posts: 6490
Location: In the tubes.

PostPosted: Thu May 22, 2008 4:56 pm    Post subject: Reply with quote

The bug seems to only affect fav artist submission notification. As far as I've heard all other notifications work fine.
_________________
You will obey or molten silver will be poured into your ears.
Back to top
View user's profile Send private message Visit poster's website
Sora121
Developer


Joined: 02 Oct 2006
Posts: 2591
Location: I'm here some place

PostPosted: Thu May 22, 2008 11:07 pm    Post subject: Reply with quote

Just hit me, does the database distinguish between and number character being a number value and a number character being a character value?

This should still make no difference, and I may be completely wrong... seeing as usually when a textual character hits an INT database storage type and error is created.
I can't really type out my thoughts well tonight, but perhaps this can let you know what I'm getting at.

[code:1]
$i= 1;
$a = '1'; // "1"
while($i != 4)
{
$i++;
}
// should run fine

while($a != 4)
{
$a++;
}
//would create an error.
[/code:1]

If you get that, wouldn't that be right?
Seeing as $a isn't really a number its the textual representation of said number, where $i is a number. So therefore, trying to increment $a would bug out.

So what I mean is, the database has stored the textual representations for a few users ($a), and not the INT flags we wanted($i). And yet somehow can't tell the difference between them.


If we can't figure out a good, and more solid, reason for this to be happening, I say we try for updating the user database an replacing all the flags in the "notify_new_friend_picture" field with the integer of 1. It may fix it, I think...
Back to top
View user's profile Send private message MSN Messenger
cstdenis
Evil Overlord


Joined: 31 Dec 1969
Posts: 6490
Location: In the tubes.

PostPosted: Thu May 22, 2008 11:14 pm    Post subject: Reply with quote

php is pretty loose on data typing. '4' == 4 evaluates to true. You'd need '4' === 4 to get a false. Your second code in php would probebly still work. In a language like C(++) it would probebly increment the ascii value causing it to work anyway (tho not in the expected way and would get weird after 9)

The database on the other hand is very strict on typing and would fail completely with an ugly error if there was a type mismatch there.

We aren't doing enough numeric comparison in the comment notifications for this to really be relevant tho IMO.

Strata did some major work on notifications for this upcoming version so he may have replaced whatever the buggy code is anyway. We'll see when we put it into production (or at least rc.)
_________________
You will obey or molten silver will be poured into your ears.
Back to top
View user's profile Send private message Visit poster's website
Sora121
Developer


Joined: 02 Oct 2006
Posts: 2591
Location: I'm here some place

PostPosted: Thu May 22, 2008 11:29 pm    Post subject: Reply with quote

Right, lets hope it did get fixed.
If the bug can, and actually is spreading, we may be at a loss to it.
Back to top
View user's profile Send private message MSN Messenger
Jedi
Forum Stalker


Joined: 27 Jun 2007
Posts: 1072
Location: West Sussex, England

PostPosted: Fri May 23, 2008 9:39 am    Post subject: Reply with quote

Well, thanks for the responses, guys. I hope it gets fixed soon.
_________________
The Force will be with you... always.
Back to top
View user's profile Send private message
Stratadrake
Elder Than Dirt


Joined: 05 May 2004
Posts: 13710
Location: Moo

PostPosted: Fri May 23, 2008 10:08 am    Post subject: Reply with quote

[quote]Strata did some major work on notifications for this upcoming version so he may have replaced whatever the buggy code is anyway. We'll see when we put it into production (or at least rc.)[/quote]
Yeah, Trying to consolidate the comment processing and notifications, in part to reduce the possibility of duplicate notices.

Mildly related idea for future improvement: Include "opt-out" links in all notification e-mails.
_________________
Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.fanart-central.net Forum Index -> General Help All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum