This issue was originally posted here: http://chrisshattuck.com/blog/using-evernote-and-drupal-ultimate-bloggin...
This is great news, I was thinking about a similar approach and haven't had enough time to develop the module, so I'm very happy to see that you've done it.
Downloaded and tested the module. Looks like there is an error in evernote.module:28 where you have ":" as the path separator which should be ";"
Once I've corrected this I was able to add an evernote account but I can't add a feed. When I call that page I get a WSOD and the PHP log shows
Uncaught exception 'TTransportException' with message 'THttpClient: Could not connect to www.evernote.com:443/edam/user' in D:\Drupal6\sites\all\libraries\evernote\transport\THttpClient.php:187
I'm not sure where this is coming from. Maybe my web server is blocking outgoing traffic to evernote.com? I doubt it.
Comment | File | Size | Author |
---|---|---|---|
#2 | tree.txt | 4.97 KB | jurgenhaas |
Comments
Comment #1
chrisshattuck CreditAttribution: chrisshattuck commentedIt sounds like this is an issue with the Pear Request.php library. Did you create your own API package, or download the zip from http://chrisshattuck.com/blog/instructions-setting-evernote-library-ever...?
Just to make sure, I did a fresh install on two separate sites and servers, and didn't run into either of these issues. I'd love to know what's going on here, but I'll need to be able to re-create it somewhere to dig in.
Anyone else having these issues?
Comment #2
jurgenhaasThanks for your quick reply. I've ddouble checked your installation instructions and I think all is as it should be. To cross check I've created a dir and file list of the evernote library on my server. It's attached. Please let me know if you need to know anything else.
Comment #3
chrisshattuck CreditAttribution: chrisshattuck commentedDid you use the zip file from the site, or did you put together your own? If you put together your own, try the zip file and let me know if you still are running into the problem.
Comment #4
jurgenhaasOriginally I used the API zip from evernote.com plus all the additional downloads from PEAR. That caused the error described.
Now, I replaced all that with the zip file from your blog and I get a different error which says that require_once can't load autoload.php although the file is in the same place as before. Extracting the ZIP however mentioned something about encryption keys, so maybe the files are somehow packed and/or encrypted?
Comment #5
Summit CreditAttribution: Summit commentedSubscribing, greetings, Martijn
Comment #6
chrisshattuck CreditAttribution: chrisshattuck commentedThere shouldn't be any encryption going on unless my Mac is amazing and does that kind of thing without asking.
Can you post the exact error? And can you check in your sites/all/libraries/evernote directory to make sure there is an autoload.php file there?
Are you on a Linux or Windows machine?
Thanks,
Chris
Comment #7
jurgenhaasI'm on Windows and the original error is:
I've then included some debugging into evernote.module
and received this exception:
So that shows that the file does exist but can't be read by
require_once("autoload.php");
.