有人有裝過Evernote嗎?
有點像雲端筆記本~
請問各位高手們~~
我裝了發生錯誤顯示
Fatal error: require_once() [function.require]: Failed opening required 'autoload.php' (include_path='.;C:\xampp\php\pear\:sites/all/libraries/evernote') in C:\xampp\htdocs\dreamlab\sites\all\modules\evernote\evernote.module on line 28
http://drupal.org/project/evernote
安裝模組區塊
http://drupal.org/project/evernote
安裝用法
INSTALLATION
See http://drupal.org/getting-started/install-contrib for instructions on how to install or update Drupal modules.
You will also need to add the Evernote API library to Drupal. Right now the API isn't quite set up for web applications like this, so you'll need to do some finagling. You can use the instructions below to build the library yourself, or you can go to this URL to read about how to download a ZIP file with this already done: http://chrisshattuck.com/blog/instructions-setting-evernote-library-ever...
1. Download the Evernote API (labeled "Evernote API") - http://www.evernote.com/about/developer/api/
2. Expand the zip
3. Copy the folder /sample/php/EDAMWebTest/lib/HTTP to /lib/php
4. Copy the folder /sample/php/EDAMWebTest/lib/OAuth to /lib/php
2. Next we need a few PEAR libraries that might not be installed on your server, so...
3. Download the HTTP_Request PEAR script and add to /lib/php/HTTP - http://pear.php.net/package/HTTP_Request/
4. Download the Net_URL PEAR script and add to /lib/php/HTTP - http://pear.php.net/package/Net_URL/
5. Download the Net_Socket PEAR script and add to /lib/php/HTTP -http://pear.php.net/package/Net_Socket/
6. Rename the folder /lib/php to evernoteand move it to your /sites/all/libraries/folder
小弟不才,真的看不太懂安裝程序,想請問是否有高手支援相助一下。謝謝各位
Re: 有人有裝過Evernote嗎?
Evernote API 裏有 'autoload.php'
你放錯了位置吧
[經常重複這句:把你的安裝方法寫出來 :) ]
---
notaBlueScreen
Re: 有人有裝過Evernote嗎?
哈嚕~說明一下我裝的方式~
之前的'autoload.php'位置放完了~(解決)
Evernote Drupal Module裡面有一段
26行~37行
$included = true;
ini_set("include_path", ini_get("include_path") . ":" . "sites/all/libraries/evernote");
require_once("autoload.php");
require_once("Thrift.php");
require_once("transport/TTransport.php");
require_once("transport/THttpClient.php");
require_once("protocol/TProtocol.php");
require_once("protocol/TBinaryProtocol.php");
require_once("packages/Types/Types_types.php");
require_once("packages/UserStore/UserStore.php");
require_once("packages/NoteStore/NoteStore.php");
require_once("OAuth/SimpleRequest.php");
________________________________________________________________
這部份~都依照他寫的方式複製並放在sites/all/libraries/evernote資料夾裏,
我裝到 require_once("OAuth/SimpleRequest.php");
drupal顯示沒有此物件檔,我去找SimpleRequest.php下載
有找到此檔案
一樣也是放在sites/all/libraries/evernote資料夾裏,
可以試了一下之後,發現drupal讀的卻是在 module/evernote的資料夾的東西
之後去建置>evernote新增就會顯示下列的東西
Fatal error: Class 'SimpleUrl' not found in C:\xampp\htdocs\dreamerdrupal\sites\all\modules\evernote\oauth\SimpleRequest.php on line 5
系統再次顯示
•warning: include_once(simpletest/url.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\dreamerdrupal\sites\all\modules\evernote\oauth\SimpleRequest.php on line 2.
•warning: include_once() [function.include]: Failed opening 'simpletest/url.php' for inclusion (include_path='.;\xampp\php\PEAR:sites/all/libraries/evernote') in C:\xampp\htdocs\dreamerdrupal\sites\all\modules\evernote\oauth\SimpleRequest.php on line 2.
後來我又開了SimpleRequest.php 去找
第二行顯示
include_once( "simpletest/url.php" );
第四行顯示
class SimpleRequest extends SimpleUrl
之後爬文~就找不太到相關資訊(英文不好)~~
疑問一
SimpleRequest.php 的檔案是否找尋錯誤???
疑問二
simpletest/url.php哪邊可以找到???
請諸位前輩高手,給予解方或方針,謝謝大家。