denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
Denise ([staff profile] denise) wrote in [site community profile] dw_dev2011-08-18 09:22 am

is this a bug, or is this something busted on my 'hack?

While working tonight, I noticed that something may have broken comment email notification. I'm not getting any notifications of comments made to any journal (even when I was getting those notifications before -- that is, it's not a problem with the ESN workers not running) and in my Apache logs, whenever a comment is posted, I get:


Use of uninitialized value in substr at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 1282.
Use of uninitialized value in string ne at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3513.
Use of uninitialized value in string ne at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3513.
Use of uninitialized value in string eq at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3520.
Use of uninitialized value in string eq at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3520.
Use of uninitialized value in string eq at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3520.
Use of uninitialized value in string eq at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3668.
Use of uninitialized value in string eq at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 3668.
Use of uninitialized value in substr at /dreamhack/home/8083-rahaeli/dw/cgi-bin/LJ/Talk.pm line 1282.


Did we break something, or did I break my 'hack somehow? *g* (I'm using the most recent code, I swear!)
kareila: "PERL!" (perl)

[personal profile] kareila 2011-08-18 10:59 pm (UTC)(link)
The errors related to lines 3513, 3520 and 3668 are (I think) safely disregarded. I can reproduce them several revisions back; these sorts of equality test warnings are really common whenever a function returns "undef" when a string is expected. We've been fixing these warnings for a while, but it's hard to catch them all.

The substr errors appear to be related to icons stored in blobcache instead of mogilefs. I haven't been able to reproduce because I use mogilefs for my icons. But again, not likely related to the problem at hand.

That said, I'm not getting comment emails from my dreamhack either, but I'm not sure I was before. I did get an account expiration email when I turned on my workers for the first time in a while, so I know email notifications aren't completely broken.
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2011-08-23 10:57 am (UTC)(link)
Thank you for the comment! The blobcache thing was a big help; I'd have taken a lot longer to figure out to turn off mogilefs otherwise.