Block hangs, formats strangely
rafaeldwan - August 27, 2008 - 23:42
| Project: | Tribune |
| Version: | 6.x-1.0 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | SeeSchloss |
| Status: | closed |
Description
the wheel just goes around and around...
the css gets weird, much larger, with a "this box is to confuse spambots" box, the title "bla" at the top, and the last displayed message is from a day ago. if I put in a message the css goes back to normal, but the conversation doesn't refresh.
going to the full page, everything's normal.
the site's a work in progress, but if you want to see it:
http://mitra.id.au/~fro/
Safari, drupal 6.4

#1
some more info:
seemed to work fine for user0, everything resolved, logged off and tried anonymous. worked okay to start from frontpage - I could post, it showed up, css normal - so I went to the tribune page, worked okay, then back to front page and the box didn't include the two entries I'd made on the tribune page and stopped reloading. can't post. css fine. if I go back to the tribune page I can still post, everything working, but again, no update on frontpage block. and now, about 15 minutes later, front page refresh. the delay is set for 30 seconds.
all other pages seem to work normally, btw. in fact, visiting a blog node seemed to reset the box, and front page worked fine.
when and if the css gets weird again i will get a screencapture and attach.
#2
happened again when I logged in as a privileged user. capture attached.
#3
#4
I am not sure at all why all this happens, but on your site there is definitely a problem : the tribune block appears on the tribune page. It shouldn't because some of the css and javascript depends on unique ids, etc, it really can't work, so right in the code I prevent the block from appearing on the tribune page. For some reason it doesn't seem to work on your site, I have updated the code (dev version) to use a better method, could you try it and tell me if it works now ?
#5
Hi -
Finally got to it. Tried both the new stable release and the dev. No luck.
Our host said she's got the webserver behind a squid proxy. Could that be the issue?
Let me know what you need to solve this - if you need access to play around I can arrange it.
Thanks.
#6
Hmm, I'm really not sure... could you try in the block settings to add "tribune" in the list of pages where the block should not appear ?
#7
Just did it. Even cleared cache. No luck :(
#8
I changed much of the javascript code today and the block and the main page can now coexist, so I think your problem should be fixed... could you give a try to the dev version please ?
#9
I'll update, but I discovered a new wrinkle to the problem: I'm using garland, had the site set to a customized color scheme, and because of a bug when I tried to change the color (see here for my report) the theme broke using anything but the default color setting.
Anyway, with default color setting on garland theme, the Tribune problem seems to have resolved itself!
So, hopefully you've fixed the problem in your new javascript already, but if not, here's another hint as to what's going on.
I really don't want to be stuck with this most generic of drupal themes, so hopefully the problem with the color module will be resolved. I'll let you know what happens with Tribune when that happens.
btw, the site is live now at http://frolympia.org
thanks again for your good work,
Rafael
#10
Okay okay, I have to admit though that I'm not sure I handled theming stuff correctly with this module... I wouldn't be *that* surprised if things break a bit because of a theme, but surely not to the point of breaking all js.
#11
Ew this one's old ! Well anyway, I believe most theming issues, broken CSS, etc, should be resolved, as I discovered (and fixed) problems in my HTML some time ago, tags which were not closed.
I'm closing this, but reopen it if there's still a problem.
#12
Sadly, still a problem.
I lost FTP access to the site for a while, so I lived with this, but I finally got a chance to do a lot of upgrades, including bringing Tribune up to its current release. I was very hopeful that the constant problems we've had with it would be fixed, as I really like the functionality.
However, the block still get very weird on about one of every three page views. Before the upgrade, sometimes the "this is a hidden field" would appear with the normal strangeness - all the text turning into normal body text size and the text field getting way to big for itself. The hidden field appearing seem to have stopped, but now there's a new problem - it looks like the entire block, when it's getting weird, is printing in reverse order (see the capture).
Thanks!
#13
Did you try to disable the module and then re-enable it? I had the same problem after trying to disallow non-authenticated users to post in tribune. After disabling and re-enabling it the problem got fixed. Nice site btw.