<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Option 1:<br>
      <br>
      Disable the PHP filter module, find your node and delete it, then
      re-enable the module<br>
      <br>
      <br>
      Option 2:<br>
      If you got the nid for it, then the quick fix would be a couple of
      lines in your custom module:<br>
      <br>
      function module_init() {<br>
      node_delete($nid);<br>
      }<br>
      <br>
      Put that in your module (of course changing module to your mode
      name), load a page and then remove that function.<br>
      <br>
      Option 3:<br>
      Find your node in your field_data_body table and change the input
      format to 1. That takes the PHP filter out of it. If you don't
      know the nid, you can search for all nodes with PHP code in them:<br>
      <br>
      SELECT * FROM `field_data_body` WHERE `body_value` LIKE
      '%&lt;?php%'<br>
      <br>
      <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://hollyit.net">http://hollyit.net</a></pre>
      On 1/17/2014 12:14 PM, Darrell Eifert wrote:<br>
    </div>
    <blockquote cite="mid:52D964E5.1050905@hampton.lib.nh.us"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Thanks to those who have responded.&nbsp;
        I added a module to D7 that allows me to search by Title in the
        admin/content menu.&nbsp; I am able to search for and find the "Page
        Count" node that has the rogue PHP code, but the result line
        under TITLE says "No content available." and does not give me an
        edit / delete option.<br>
        <pre class="moz-signature" cols="72">Best,

Darrell Eifert
Lane Memorial Library
(603) 926-3368</pre>
        On 1/17/2014 11:17 AM, Metzler, David wrote:<br>
      </div>
      <blockquote
        cite="mid:CB99AEDD84838B4D919DE8C443FC5C55376ED836@palm.evergreen.edu"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta name="Generator" content="Microsoft Word 14 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Also

              if you can find it from the admin/content menu there is a
              bulk delete &#8220;update option&#8221; there that should work for
              you. <o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>
              [<a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</a>]
              <b>On Behalf Of </b>Walt Daniels<br>
              <b>Sent:</b> Friday, January 17, 2014 8:09 AM<br>
              <b>To:</b> <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:support@drupal.org">support@drupal.org</a><br>
              <b>Subject:</b> Re: [support] Drupal 6 --&gt; 7 upgrade -
              rogue PHP code / delete page?<o:p></o:p></span></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <div>
            <p class="MsoNormal">The node numbers do not change if you
              use the upgrade process, so test going to /node/nnn on D7
              &nbsp;side and see if you get the WSOD one.<o:p></o:p></p>
            <div>
              <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
            </div>
            <div>
              <p class="MsoNormal">You may also be able to find it in
                the Content view, or perhaps via the url aliases.<o:p></o:p></p>
            </div>
          </div>
          <div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
            <div>
              <p class="MsoNormal">On Fri, Jan 17, 2014 at 10:34 AM,
                Darrell Eifert &lt;<a moz-do-not-send="true"
                  href="mailto:deifert@hampton.lib.nh.us"
                  target="_blank">deifert@hampton.lib.nh.us</a>&gt;
                wrote:<o:p></o:p></p>
              <p class="MsoNormal">Hello all --<br>
                <br>
                I recently completed a test Drupal 6 to 7 upgrade on our
                library site,<br>
                and all seemed to be well except that our old cron job
                will not run --<br>
                it appears to die on a white screen with the words
                "Number of pages". &nbsp;I<br>
                did some digging via drush cron, and discovered that a
                page I had built<br>
                in Drupal 6 with PHP code listing the total number of
                website pages<br>
                contained a PHP function referencing "db_result", which
                apparently is<br>
                not supported in Drupal 7.<br>
                <br>
                My problem now is that I cannot delete the 'rogue' page
                from Drupal 7.<br>
                I can find the page easily enough, but it displays only
                as white screen<br>
                with text and none of the usual edit / delete tabs.<br>
                <br>
                Is there a way to delete a Drupal node without actually
                landing on that<br>
                node? &nbsp;(Note also that I have the node alias from the
                Drupal 6 install,<br>
                but do not know the node number of the page in D7.)<br>
                <br>
                Thanks in advance ...<br>
                <span style="color:#888888"><br>
                  <span class="hoenzb">--</span><br>
                  <span class="hoenzb">Best,</span><br>
                  <br>
                  <span class="hoenzb">Darrell Eifert</span><br>
                  <span class="hoenzb">Lane Memorial Library</span><br>
                  <span class="hoenzb"><a moz-do-not-send="true"
                      href="tel:%28603%29%20926-3368">(603) 926-3368</a></span><br>
                  <br>
                  <span class="hoenzb">--</span><br>
                  <span class="hoenzb">[ Drupal support list | <a
                      moz-do-not-send="true"
                      href="http://lists.drupal.org/" target="_blank">
                      http://lists.drupal.org/</a> ]</span></span><o:p></o:p></p>
            </div>
            <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>