(getting this on pages like “Mark all Messages as Read” and “Logout”)
8: Undefined variable: seek
File: /home/jgo/public_html/addon_pastebin.php
Line: 12
EDIT: It works now again but maybe you want to have a look at it. 
Mike
(getting this on pages like “Mark all Messages as Read” and “Logout”)
8: Undefined variable: seek
File: /home/jgo/public_html/addon_pastebin.php
Line: 12
EDIT: It works now again but maybe you want to have a look at it. 
Mike
I had the same error…
Even more worrying is that I didn’t touch any PHP code in that file for weeks…
Anyway, I fixed the issue with the missing variable: it was a typo in dead code… 
wtf… dead code? okey…
EDIT:
Yep, works for me now.
$seed = time();
if(false) {
$seek = 14;
}
Reassuring to know half the internet runs on this sort of crap 
Cas 
I’m going to be blatantly assume you didn’t mean it as ‘coded by the likes of Riven’, and therefore wholeheartedly agree with you :-*
:persecutioncomplex: You assumed right 
Cas 
While you’re at it
8: Undefined property: stdClass::$IS_ROOT
File: /home/jgo/public_html/Themes/default/PersonalMessage.template.php (interleaved sub template - eval?)
Line: 666
trying to access my PMs just now 
Cas 
[quote]Line: 666
[/quote]
Common, you’re making that up 
For the sake of it, a few hours ago I did a apt-get update / upgrade, so that at least we know we’re running a safe version of everything, and hopefully stricter PHP parser. Let’s assume that triggered it, and we’re not being hacked by somebody that finds joy in configuring PHP installations to be less tolerant.
Evil? Yes, it was yet another typo on line 666.
Friday the 13th, too. Creepy.
Cas 
I know, preaching to the choir.
Fixed. I’m incredibly uncomfortable with this sudden change in strictness. Not just because it exposed my sloppy PHP coding.
[quote]Incrementing (++) a NULL produces 1. Decrementing (–) a NULL produces NULL. Decrementing a string likewise leaves it unchanged.
[/quote]
Made me smile.
I like PHP. But yea its all over the place.
http://www.exploit-db.com/exploits/18665/
Made me cry, really. Seriously:
$holdRequest = malloc($httpRequestContentLength);
Denial of Service with 1 HTTP request. Great!
This explains it though:
http://en.wikiquote.org/wiki/Rasmus_Lerdorf
[quote]I’m not a real programmer. I throw together things until it works then I move on. The real programmers will say “Yeah it works but you’re leaking memory everywhere. Perhaps we should fix that.” I’ll just restart Apache every 10 requests.
[/quote]
I’m supposed to laugh, but just 4 hours ago my voxel renderer was using 5GBs of memory and having half-second GC pauses…
Dead code, friday 13, line 666… wth is these?! ;D
I didn’t try the pastebin but the showcase’s thumbnails panel was broke too.