I am using the latest CVS 6x version.
The latest update does not allow the viewing of sheets. A node will come up, but the spreadsheet is not visible. If I click edit, the editable spreadsheet is viewable. I have "fiddle" checked in options. I have not tried other than fiddle.

Comments

johnthomas00’s picture

Title: Not Able To View, Edit Works Find » Not Able To View, Edit Works Fine
infojunkie’s picture

Can you please open Firebug and let me know if there's an error in the Console?
Was it working for you in prior versions?

johnthomas00’s picture

uncaught exception: Syntax error, unrecognized expression: #
Line 0
document.getElementById("captcha") is null
http://sorry.google.com/sorry/misc/?continue=http://images.google.com/im...(%255B0-9%255D*)/%3Bhr%3Dlocation.href%3Bdocument.body.innerHTML%2B%3D%27%253Ca%2520href%3D%27%2Bhr.replace(ex,%27start%3D%27%2B(parseInt(hr.match(ex)%255B1%255D,10)%2B21))%2B%27%253ENext%253C/a%253E%27
Line 1

I had never used Firebug before, but I think I figured it out. I copied and pasted the errors above.

Yes, things worked fine before.

infojunkie’s picture

Is there a captcha on the same page as sheetnode? What's the setup?

johnthomas00’s picture

There is no captcha on the same page. I do have captcha installed and use it. Under edit sheetnode content type, I have comment submission form on a separate page. Further, I changed comments to read only on this node and I still get the error.

The errors are the same whether logged in as user 1 or an anonymous user.

I tried flushing all caches, including the captcha placement cache and boost cache.

infojunkie’s picture

I looked at the site but there's nothing readily apparent. I suggest disabling some of these modules one by one until the sheetnode reappears - then we can find the unwanted interference. Start with the Javascript file aggregator. Hopefully disabling this will show us which file/line the syntax error is occurring.

johnthomas00’s picture

I had
http://ftp.drupal.org/files/projects/jquery_update-6.x-2.x-dev.tar.gz
installed. Once I disabled, problem solved. I then uninstalled, and installed
http://ftp.drupal.org/files/projects/jquery_update-6.x-1.1.tar.gz
and it worked fine, but then I enabled
http://ftp.drupal.org/files/projects/skinr-6.x-2.x-dev.tar.gz
the UI module, and it broke again.
http://ftp.drupal.org/files/projects/acquia_slate-6.x-3.0-beta1.tar.gz
is dependent up upon skinr-6.x-2.x-dev.tar.gz (i.e. version 1 will not work).
My workaround is to keep the skinr UI module disabled except when I need it.

BTW, the firebug error is now
$wrapper.closest is not a function

Thoughts?

johnthomas00’s picture

Category: bug » support
Status: Active » Closed (cannot reproduce)

I changed themes and everything is fine. I suspect it is skinr or the other theeme

dafeder’s picture

Status: Closed (cannot reproduce) » Active

I am having the same problem. Whether in garland or my own theme, none of the view modes work, though edit works fine. In fiddle mode, which is what I really need, I get "Uncaught Syntax error, unrecognized expression: #" in my JS console.

dafeder’s picture

infojunkie’s picture

Re #10: Do you have jquery_update installed? Does uninstalling it resolve the problem?

RJL-dupe’s picture

Hi, if you're asking me, I do not have jquery_update installed.

infojunkie’s picture

Category: support » bug

Re #12: I committed a fix for #1046762: Able to see spreadsheet on node edit, not on node view. Please try it.

RJL-dupe’s picture

Thank you very much. But I'm new at Drupal - do you mean I should reinstall and try the latest recommended or dev version of the module - or something else?

infojunkie’s picture

I committed the fix to the 6.x-1.x-dev branch, and Drupal refreshes dev packages every 12 hours. So if you look at the Sheetnode releases right now, you'll find that the latest 6.x-1.x-dev is dated 2011-Jan-27. In a few hours (maximum 12), the dev release will be updated with my fix. You can download it then and overwrite your existing module.

If you want to try the module before then, you must get it directly from CVS, like so:

cvs -z6 -d:pserver:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-6--1 -d sheetnode contributions/modules/sheetnode

or using Drush:

drush dl sheetnode-6.x-1.x-dev --package-handler=cvs
infojunkie’s picture

Status: Active » Fixed

Marking as fixed unless I hear otherwise.

Status: Fixed » Closed (fixed)

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