I get script on the page "Edit view" is making Sarari unresponsive.

How can I identify which script is doing this?

Any suggestions on how to troubleshoot?

I am not sure which version of jquery I am using. I think it is 1.2.x (if it is important to know, can someone tell me how to check it out?)

Thanks,
Chris

Comments

socialnicheguru’s picture

specifically this is when I click save on any edit.

socialnicheguru’s picture

Title: Slow script when using views 2 slows down site » LIGHTBOX2 is script causing views 2 to slow down site
Issue tags: +views, +lightbox2, +views 2, +slow

I took the time to disable all modules that show up on the page in view page of a webpage on my browser.

Lightbox2 is what caused my view to hang.

vm’s picture

if lightbox2 is the cause shouldn't this issue be in the lightbox2 queue?

socialnicheguru’s picture

Project: Views (for Drupal 7) » Lightbox2
Version: 6.x-2.x-dev » 6.x-1.x-dev

Changing to lightbox2 queue. I hope someone can help because lightbox2 is a GREAT module that many people including myself use heavily.

stella’s picture

Status: Active » Postponed (maintainer needs more info)

well the quick workaround is to disable lightbox2 functionality on admin/settings/lightbox2 for the page in question.

However, I need a lot more information before I can try to replicate the problem. For example, what browsers does it happen in? just safari? What are your lightbox2 settings? What are the views settings? What are the steps to reproduce? What version of jquery update are you using? Can you provide a link to your site?

socialnicheguru’s picture

Status: Postponed (maintainer needs more info) » Active

Safari gives me the script message
Firefox takes a LONG time

This is just on the admin page when I am making changes to the view not with the actual viewing of the view by the end user.

; Information added by drupal.org packaging script on 2008-06-23
version = "6.x-1.1"
core = "6.x"
project = "jquery_update"
datestamp = "1214262616"

btw, I even disabled jquery_update to see what was causing it before and after disabling lightbox

The slowdown happened on every view.

I can't enable lightbox2 now but will in a bit and tell you what my settings were.

I know I did not change them so whatever the defaults were is what I have. I will take another look.

Chris

merlinofchaos’s picture

Technically either one could be the cause. But there should probably be a bug in the lightbox2 queue that references this one.

stella’s picture

@activelyOUT: you said

Safari gives me the script message

but you've never specified what the script message was. Would you mind pasting this in? Would you also mind confirming that you're using the latest dev version of lightbox2 module?

socialnicheguru’s picture

yes I am using the latest dev version of lightbox. I am paraphrasing because I am developing now and had to disable lightbox2 and am under a time cruncch

Script on is unresponsive. Would you like to continue?
continue button and a stop button.
I usually choose the stop button.

Chris

stella’s picture

Does it say which script is unresponsive? The only time I've seen that error, it complains about jquery.js, (not a lb2 one) and has happened on sites where lb2 is not installed (mainly D5). I'll try and reproduce but I think this issue could be difficult to track down. It could be very dependant on your views config or other things on the site. Ideally I'd like to get access to your site, but I realise that may not be possible. Any info you can provide (e.g. views config), other modules installed, etc, would be really useful. Even trying to debug it in Firebug would be useful.

socialnicheguru’s picture

stella, thanks for your consideration on this. no it doesn't say which script which is so frustrating. Is there any tool that will tell me which script it is?

Here is what I can deduce.
I took a look at the page source and one by one removed all modules that added a .js file.
I kept getting the message popup when I hit save on any view until I removed lightbox2 js file. It then went away. As soon as I put it enabled lightbox2 and thus the lightbox2 js file.

That is why I specifically focused on lightbox2

stella’s picture

I still can't reproduce this one :( Maybe you could export the view and provide it as an attachment here? Then I could try out the same views config as you - though if you define any custom cck content types that appear in the view, then you may need to give me info on how to set them up too.

stella’s picture

Status: Active » Closed (won't fix)

Marking issue as "won't fix" as no more information forthcoming. Please feel free to re-open if the problem persists and you can provide more information.

Cheers,
Stella