Drupal Version: 6.22
Sheetnode Version: 6.x-1.5 and 6.x-1.x-dev (tried both)
Hello,
I'm having problems referencing cells in other sheetnodes using the Sheetnode module:
I created a sheetnode "test" and entered some numbers in A1, B1, C1 and D1. Then I created another sheetnode and tried to reference the cells in the "test" sheetnode using ="test"!A1
or ="nid"!A1
etc. When I press Enter, an error message box appears saying:
Unknown line type '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
.
Beneath the spreadsheet I see the message
A2 Calculating... Loading Sheet...: test
.
After clicking OK on the error window, the sheetnode hangs and is broken. I can save it, but I can't delete the reference in the cell any more, and I can't enter data in other cells either. It is the same when I open the saved sheetnode. I have to delete it.
I tried this with Safari, Firefox and Opera on MacOS (Lion and Snow Leopard) and with Firefox on Linux on different computers. Unfortunately I have no Windows computer around to try.
When I do the same thing on the Sheetnode Demo Page I see #N/A
for a short time, then the data in the "test" sheet appears. It seems to work very well there.
I use the Sheetnode module for a site with about 100 users. Each user has his own spreadsheet, can log on and enter his data. At the end of the year I need to sum up the data in the spreadsheets in a "Totals" spreadsheet, where I would like to reference the data in cells of the users' spreadsheets. All the spreadsheets have the same structure and are created from a Sheetnode template. Everything works nicely and I am really glad I found Drupal and the Sheetnode module. It works great for my purpose, and if I could resolve this issue with the reference of data in cells of other sheetnodes, I would really be in heaven!
Thanks in advance for your help.
Update:
I just realised that I accidentally assigned this issue to myself. Of course it should be "none".
Thanks in advance for your help.
Comments
Comment #1
infojunkieThis sounds like the referenced spreadsheet is not being found. Can you please confirm by using Firebug and watching the Net tab for a call to "sheetnode/load". What is the response to this call?
Comment #2
rapport CreditAttribution: rapport commentedThanks for your answer, infojunkie.
I tried with Firebug and this was the response to the "sheetnode/load" call:
(I replaced the proxy name with "proxy.name" and the host name with "host.name.com")
"Header" tab:
"Post" tab:
"Answer" tab
My Firebug is in German. I replaced the headers with English where they were in German.
Seems that you are right. Now I can see, where the error message comes from.
In the mean time I was able to try from a Windows computer and from a computer outside our network, with another/no proxy. No change.
I would be really glad if you could help me fix this.
Thanks a lot in advance and regards.
Comment #3
rapport CreditAttribution: rapport commentedIt seems I could fix this issue.
I found out by accident, that clean URLs were not turned on in my Drupal installation. They could not be turned on because I could not use the standard .htaccess that comes with Drupal 6.22 on my server as it resulted in a server error. I searched the Internet and found a .htaccess file that worked with my server. Then I replaced the standard .htaccess with the other and could turn on clean URLs. I turned on clean URLs and now the referencing of other sheetnodes works!
Thank you infojunkie for pointing me in the right direction.
Regards.
Comment #4
infojunkieThanks for the info. I will work on making sheet referencing compatible with un-clean URLs.
Comment #5
Ramya Nallu CreditAttribution: Ramya Nallu commentedI'm having problems referencing cells in other sheetnodes using the Sheetnode module:
I created a sheetnode "test" and entered some numbers in A1, B1, C1 and D1. Then I created another sheetnode test1 and tried to reference the cells in the "test" sheetnode using ="test"!A1 or ="nid"!A1 etc. When I press Enter, an error message box appears saying:
"Sheet unavailable: test"
Comment #6
infojunkie@Ramya Nallu: is your report related to not using clean URLs? If not, please open a separate issue.
Comment #7
infojunkieComment #7.0
infojunkieMistake in assignment