Sundial Widget - 'unknown error' problem
|
|
Hi peeps, We keep getting an ‘unknown error’ in the widget, any ideas how to fix this? Cheers. |
|
|
You’ll want to get in touch with the person who designed the widget. We can’t provide support for 3rd party products that work with Basecamp, sorry. |
|
|
No problem Jason, I was wondering if anyone else had this problem? The people who make Sundial are ignoring my attempts to contact them! :( |
|
|
I have the same thing and see we’re not alone: http://www.clearwired.com/loop/archives/35-Sundial.html. Pity, looks good. |
|
|
Sundial’s widget doesn’t work because of an HTTP Request problem. It’s fixable. Open the widgets contents then the file “LocalResources/Sundial.js”. Around line 900 you’ll see ‘Host’: (getObj(‘b’)).value, remove that line entirely. Save the file. Reload the widget. And it will work just like it should. The reason this happens is because the value of ‘b’ is ‘http://base.camp.address.org’. which is correct. The value of “Host” should be ‘base.camp.address.org’ without the ‘http://’. Setting this value incorrectly yields a “Bad Request error’ from the webserver app basecamp is running, not basecamp itself, and basecamp would have no way of fixing it even if they wanted to. Removing the line mentioned above will result it the ‘Host’ being set to it’s default value for the url given, which in this case would be ‘base.camp.address.org’. Success. |
|
|
I went so far as to delete the widget I already had and reinstall with the ‘Host’: (getObj(‘b’)).value, line removed and am still getting unknown errors in several places. It can read my projects and to-dos for such, but I haven’t been able to post any time to anything. I wrote to the creators of the widget but no response as of yet. If anyone else has any ideas I’m all for it… thanks! |
|
|
Figured out another cause – Basecamp project MUST have at least one “to do” listed but do NOT select it in Sundail. (doesn’t make sense but it seems to work) Hope this helps… |
|
|
In my version of Sundial I found this code snippet around Line 900: case ‘save_entry’: url += basecampAPI.request_templates.time_tracking.create.url; break; default: url = (getObj(‘b’)).value; break; Does the use of “URL” instead of “Host” mean my version has been fixed? I think I found that somebody has modified Sundial more recently than the original author, so I downloaded that version. It’s been awhile, and I’m no programmer, so I wonder if you all can enlighten me. Thanks! |
|
|
THANK YOU SYKO!!!! In mine, the code in question was on line 898. Deleted it and presto! It works fine! |
|
|
Actually I take that back… I really love Basecamp… Sundial Widget sucks. |
