<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    One of your first steps might be to keep a running log of your theme
    status. You could do that with a drush script run from cron every
    minute: <br>
    <br>
    drush -r "/your/drupal/path" sql-query "select status from {system}
    where type = 'theme' and name = 'your_theme_name';"<br>
    <br>
    echo the date to your log as well and you should be able to narrow
    down which web request, if any, is responsible for disabling the
    theme.<br>
    <br>
    Ted<br>
    <br>
    On 2/8/2011 10:15 AM, Randy Fay wrote:
    <blockquote
      cite="mid:AANLkTim6hzuOKjNm68+1f-u7=_W1Gou-RtSyuO9PU1fV@mail.gmail.com"
      type="cite">Really, you can't get any help until you can recreate
      the problem.<br>
      <br>
      Try all the things you've suggested and see if you can make it
      happen predictably. Use a notebook or something to list the
      permutations you've tried.  Try to figure out all of them.<br>
      <br>
      <a moz-do-not-send="true" href="http://randyfay.com/debugging">http://randyfay.com/debugging</a>
      might be useful to you for strategy on this.<br>
      <br>
      When you have a way to recreate it, then it can be fixed, one way
      or another.<br>
      <br>
      -Randy<br>
      <br>
      <div class="gmail_quote">On Tue, Feb 8, 2011 at 7:56 AM, Pooya <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:pooya.source@gmail.com">pooya.source@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div dir="ltr">I've got a weird problem my theme. I've got 2
            custom theme, one default for main website and another admin
            theme. I also use sections module to simulate a joomla-like
            admin page. problem here is that admin theme becomes
            disabled sometimes so admin users see admin page with
            default theme! so everytime I have to login user/1 and
            enable admin theme.<br clear="all">
            <div dir="ltr">
              <div><br>
              </div>
              <div>I have no idea why this happen but kinda feel like
                mostly when I visit a alias, run cron(not all the crons)
                or add new section.</div>
              <div><br>
              </div>
              <div>this one happens everyday or 2.</div>
              <div> any1 can help me out here? I'm done with the site
                which I'm working for a month on it, but can't install
                it for my client yet since this crit bug </div>
              <br>
              -- <br>
              <div dir="ltr">Pooya Sanooei<br>
                <div><a moz-do-not-send="true"
                    href="http://twitter.com/sourcesoft" target="_blank">Twitter</a>
                  - <a moz-do-not-send="true"
                    href="http://facebook.com/pooya.sanooei"
                    target="_blank">Facebook</a> - <a
                    moz-do-not-send="true"
                    href="http://www.javabgoo.com" target="_blank">Website</a></div>
              </div>
              <br>
            </div>
            <br>
            <br clear="all">
            <br>
            -- <br>
            <div dir="ltr">Pooya Sanooei<br>
              <div><a moz-do-not-send="true"
                  href="http://twitter.com/sourcesoft" target="_blank">Twitter</a>
                - <a moz-do-not-send="true"
                  href="http://facebook.com/pooya.sanooei"
                  target="_blank">Facebook</a> - <a
                  moz-do-not-send="true" href="http://www.javabgoo.com"
                  target="_blank">Website</a></div>
            </div>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Randy Fay<br>
      Drupal Module and Site Development<br>
      <a moz-do-not-send="true" href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>
      +1  970.462.7450<br>
      <br>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <p style="font-family: Helvetica,Arial,sans-serif; font-size:
        10pt;">Ted Gifford | <span style="font-size: 8pt;">Senior Web
          Developer</span><br>
        <br>
        WebFirst | Real Solutions for a Virtual World | <a
          href="http://www.webfirst.com">www.webfirst.com</a><br>
        15800 Crabbs Branch Way, Suite 120, Rockville, MD 20855 | Tel:
        301.670.1690 x 204<br>
        <strong>Services: Content Management / Drupal, Section 508, GIS,
          Workflow, Data Visualization, Microsoft .NET</strong> </p>
    </div>
  </body>
</html>