简体   繁体   中英

CakePHP and MongoDB

I am new to cakePHP and MongoDB. I encountered some problem while trying to use the MongoDB plugin for CakePHP.

I encountered these error messages while trying to run the application on my server.

Error: The application is trying to load a file from the Mongodb plugin

Error: Make sure your plugin Mongodb is in the app\\Plugin directory and was loaded

<?php CakePlugin::load('Mongodb');

I tried looking into the app/plugin folder and it is empty.

Is there anything that I can do to resolve the problem?

Hopefully you've done a few of these steps already, but just in case .. here is the full list:

Step 1: Install a MongoDB server and make sure you can connect with the mongo shell

Step 2: Install the PHP mongo driver

Step 3: Download the cakephp-mongodb plugin

cd my/app/plugins
git clone git://github.com/ichikaway/cakephp-mongodb.git mongodb

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM