[development] theme keeps disabling

Pooya pooya.source at gmail.com
Tue Feb 8 16:30:36 UTC 2011


oh thank u, this actually can really help

On Tue, Feb 8, 2011 at 7:48 PM, Ted <ted-drupalists at webfirst.com> wrote:

>
> 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:
>
> drush -r "/your/drupal/path" sql-query "select status from {system} where
> type = 'theme' and name = 'your_theme_name';"
>
> 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.
>
> Ted
>
>
> On 2/8/2011 10:15 AM, Randy Fay wrote:
>
> Really, you can't get any help until you can recreate the problem.
>
> 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.
>
> http://randyfay.com/debugging might be useful to you for strategy on this.
>
> When you have a way to recreate it, then it can be fixed, one way or
> another.
>
> -Randy
>
> On Tue, Feb 8, 2011 at 7:56 AM, Pooya <pooya.source at gmail.com> wrote:
>
>> 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.
>>
>>  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.
>>
>>  this one happens everyday or 2.
>>  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
>>
>> --
>> Pooya Sanooei
>> Twitter <http://twitter.com/sourcesoft> - Facebook<http://facebook.com/pooya.sanooei>-
>> Website <http://www.javabgoo.com>
>>
>>
>>
>>
>> --
>> Pooya Sanooei
>> Twitter <http://twitter.com/sourcesoft> - Facebook<http://facebook.com/pooya.sanooei>-
>> Website <http://www.javabgoo.com>
>>
>>
>
>
> --
> Randy Fay
> Drupal Module and Site Development
> randy at randyfay.com
> +1  970.462.7450
>
>
>
> --
>
> Ted Gifford | Senior Web Developer
>
> WebFirst | Real Solutions for a Virtual World | www.webfirst.com
> 15800 Crabbs Branch Way, Suite 120, Rockville, MD 20855 | Tel: 301.670.1690
> x 204
> *Services: Content Management / Drupal, Section 508, GIS, Workflow, Data
> Visualization, Microsoft .NET*
>



-- 
Pooya Sanooei
Twitter <http://twitter.com/sourcesoft> -
Facebook<http://facebook.com/pooya.sanooei>-
Website <http://www.javabgoo.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110208/cd6dccc3/attachment.html 


More information about the development mailing list