<div dir="ltr"><div>I know but I suck at debugging and don't have much time. however that's the last solution and still a couple of days have been left of schedule just to solve this.<br></div><div>I'll try not to write a new code :) thank u for your time </div>
<br><div class="gmail_quote">On Tue, Feb 8, 2011 at 7:19 PM, Randy Fay <span dir="ltr"><<a href="mailto:randy@randyfay.com">randy@randyfay.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It's generally a *really* bad idea to write code that "corrects" for a bug. That code almost always becomes a bug itself. So I encourage you to *solve* the problem instead :-)<div><div class="h5"><br><br><div class="gmail_quote">
On Tue, Feb 8, 2011 at 8:42 AM, Pooya <span dir="ltr"><<a href="mailto:pooya.source@gmail.com" target="_blank">pooya.source@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>ok then I'm going to start testing through this bug. However still feel like it might be sections problem, so I'll check section module codes see if there's a line which disables a theme in specific conditions.</div>
<div>last solution might be writing a module that take cares if theme is disabled on each page request, if not enabled -> enable.</div><div><div><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 6:45 PM, Randy Fay <span dir="ltr"><<a href="mailto:randy@randyfay.com" target="_blank">randy@randyfay.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 href="http://randyfay.com/debugging" target="_blank">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<div><div><br>
<br><div class="gmail_quote">On Tue, Feb 8, 2011 at 7:56 AM, Pooya <span dir="ltr"><<a href="mailto:pooya.source@gmail.com" target="_blank">pooya.source@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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 href="http://twitter.com/sourcesoft" target="_blank">Twitter</a> - <a href="http://facebook.com/pooya.sanooei" target="_blank">Facebook</a> - <a 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 href="http://twitter.com/sourcesoft" target="_blank">Twitter</a> - <a href="http://facebook.com/pooya.sanooei" target="_blank">Facebook</a> - <a href="http://www.javabgoo.com" target="_blank">Website</a></div>
</div><br>
</div>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com" target="_blank">randy@randyfay.com</a><br>+1 970.462.7450<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Pooya Sanooei<br><div><a href="http://twitter.com/sourcesoft" target="_blank">Twitter</a> - <a href="http://facebook.com/pooya.sanooei" target="_blank">Facebook</a> - <a href="http://www.javabgoo.com" target="_blank">Website</a></div>
</div><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com" target="_blank">randy@randyfay.com</a><br>+1 970.462.7450<br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Pooya Sanooei<br><div><a href="http://twitter.com/sourcesoft" target="_blank">Twitter</a> - <a href="http://facebook.com/pooya.sanooei" target="_blank">Facebook</a> - <a href="http://www.javabgoo.com" target="_blank">Website</a></div>
</div><br>
</div>