2014-12-04 50 views
-1

我從mailchimp網站下載示例代碼和我的C複製粘貼:/ XAMPP文件夾現在我運行index.php文件,但我得到下面的警告和錯誤Mailchimp使用CakePHP

Warning: include(C:\xampp\htdocs\Dropbox\Demos\mailchimp\mcapi2-php-examples-master/Vendor/pear-pear.cakephp.org/CakePHP\Cake\bootstrap.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Dropbox\Demos\mailchimp\mcapi2-php-examples-master\webroot\index.php on line 107

Warning: include(): Failed opening 'C:\xampp\htdocs\Dropbox\Demos\mailchimp\mcapi2-php-examples-master/Vendor/pear-pear.cakephp.org/CakePHP\Cake\bootstrap.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Dropbox\Demos\mailchimp\mcapi2-php-examples-master\webroot\index.php on line 107

Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your \cake core directory and your \vendors root directory. in C:\xampp\htdocs\Dropbox\Demos\mailchimp\mcapi2-php-examples-master\webroot\index.php on line 114

現在我安裝作曲家和製作藥業文件,並嘗試與作曲家update命令更新,但下面的錯誤顯示

http://prntscr.com/5d2cgw

+0

您是否嘗試使用更復雜的Mailchimp API功能,或者您只是希望發送電子郵件? – Dave 2014-12-04 14:59:03

回答

0

在composer.json文件的更改需要財產與該行

"require": { 
     "cakephp/cakephp": "2.5.*", 
     "mailchimp/mailchimp": ">=2.0.0" 
    },