Comments (6)
Hi,
thanks for the feedback and sorry for the delay.
The HtmlNoteContent is "experimental" so far...
I'd recommend that you stick with the ENML or plain text for now.
Thank you.
PS : I keep the issue open as a reminder.
from evernote-cloud-sdk-php.
Hi Laurent,
I finally used the ENML and everything is working.
Thanks,
David Landry
Le 2015-02-25 ? 11:14, Laurent Sarrazin <[email protected]mailto:[email protected]> a ?crit :
Hi,
thanks for the feedback and sorry for the delay.
The HtmlNoteContent is "experimental" so far...
I'd recommend that you stick with the ENML or plain text for now.
Thank you.
PS : I keep the issue open as a reminder.
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-75989539.
from evernote-cloud-sdk-php.
@david-landry After doing the composer install, the error you mentioned would be gone.
kenson@www:/var/www/public_html/evernote/evernote-cloud-sdk-php$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing ezyang/htmlpurifier (v4.6.0)
Downloading: 100% - Installing symfony/css-selector (v2.6.4)
Downloading: 100% - Installing tijsverkoyen/css-to-inline-styles (1.5.2)
Downloading: 100%
Writing lock file
Generating autoload files
from evernote-cloud-sdk-php.
If you got the following error, please install the php extension "sudo apt-get install php5-xsl"
PHP Warning: DOMDocument::load(): I/O warning : failed to load external entity "/var/www/public_html/evernote/evernote-cloud-sdk-php/sample/client/html2enml.xslt" in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter/HtmlToEnmlConverter.php on line 92
PHP Fatal error: Class 'XSLTProcessor' not found in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter/HtmlToEnmlConverter.php on line 94
from evernote-cloud-sdk-php.
However, I got the error unsolved.
$content = new Evernote\Model\HtmlNoteContent('');
$content->setBaseUrl('http://www.google.com');
$note->setContent($content);
kenson@www:/var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter$ php ../../../../sample/client/create_note.php
PHP Fatal error: Uncaught exception 'EDAM\Error\EDAMUserException' in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php:13807
Stack trace:
0 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php(2393): EDAM\NoteStore\NoteStore_createNote_result->read(Object(Thrift\Protocol\TBinaryProtocol))
1 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php(2353): EDAM\NoteStore\NoteStoreClient->recv_createNote()
2 [internal function]: EDAM\NoteStore\NoteStoreClient->createNote('S=s67:U=5efd9f1...', Object(EDAM\Types\Note))
3 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Store/Store.php(25): ReflectionMethod->invokeArgs(Object(EDAM\NoteStore\NoteStoreClient), Array)
4 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Client.php(449): Evernote\Store\Store->__call('createNote', Array)
5 /var/www/public_html/ever in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php on line 13807
from evernote-cloud-sdk-php.
It's 2016 and i'm getting the same exception. Looks like Evernote is dead.
from evernote-cloud-sdk-php.
Related Issues (20)
- en-todo checked state
- Getting issue with Create Note
- Fatal errors – am I doing something wrong? HOT 5
- is there a http api for evernote ? HOT 1
- A session had already been started - ignoring session_start() HOT 4
- Failed to run add_resource.php
- Any sample for webhook?
- Tag a release HOT 2
- Hive Thrift execution error
- Update "tijsverkoyen/css-to-inline-styles" HOT 2
- Get notes from linked notebooks HOT 2
- How do I get access tokens? HOT 1
- There are not createOrUpdateNotebookShares function
- Uncaught Exception: in ...\wp-content\plugins\evernote-sync\src\EDAM\UserStore\UserStore.php on line 3210
- Undefined index in Client.php
- Array and string offset access syntax with curly braces is deprecated HOT 3
- listNotebooks() fails for specific users
- The SDK response got very slow
- No Code Change - Suddenly: Could Not Connect Error HOT 1
- Web (global) links generated by Evernote API do not open HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evernote-cloud-sdk-php.