Ahoy there,

I am trying to write some custom javascript code to enhance one of my websites. I have things working on some of the pages, but I just noticed that on other pages jquery seems to be completely borked. I am having a hard time tracking down the reason, because I hadn't noticed this error before.

Firebug says "c is undefined" (eval(function(p,a,c,k,e,r){e=function(...serialize|pixelLeft'.split('|'),0,{})))

I've closed out all other tabs, exited firefox, and reloaded things just to make sure it wasn't the browser.

I also commented out the code I had written in the first place; no effect.

This is the standard jquery.js file that comes with drupal (1.2.6 [p,a,c,k,e,d]), no jquery_update or anything.

I'm at a complete loss because I don't know how long this has been going on for, or when it started.

Any insight would be much appreciated. I've attached a screenshot; you can see the error for yourself at: http://bit.ly/dsKBXa

CommentFileSizeAuthor
#2 jquery-c-is-undefined.jpg16.76 KBgone404

Comments

gone404’s picture

Doesn't seem to happen with the shortened url redirect. Try reloading if you don't see the error right off the bat.

gone404’s picture

StatusFileSize
new16.76 KB
gone404’s picture

Figured it out. Replaced the packed jquery.js with the uncompressed one. I had to wrap line 663-681 with

if(elem) {
}

Works for me. Still don't know what was causing the error.

davidw’s picture

Same error here. Been bangin my head.

Were you also getting 500 errors from Apache when this was happening?

So you fixed this by replacing jquery.js ??

davidw’s picture

Seems that maybe this is a Firefox or Firebug issue?? I don't get the error using developer tools in Chrome.

dpearcefl’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Has this issue been fixed in the latest D6?

dpearcefl’s picture

Priority: Normal » Major
Status: Postponed (maintainer needs more info) » Active
PaulM’s picture

Version: 6.17 » 6.19

Hi, I have the same problem with error "c is undefined" in Drupal 6.19. In my opinion, is the cause of module CCK Fieldgroup Tabs. Any suggestions?

cweagans’s picture

Priority: Major » Normal

Support requests are never critical or major.

kars-t’s picture

Status: Active » Fixed

Hi

I am closing this issue to clean up the issue queue. Feel free to reopen the issue if there is new information and the problem still resides. If not please make sure you close your issues that you don't need any more.

Maybe you can get support from the local user group. Please take a look at this list at groups.drupal.org.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.