Closed clementcrownrise closed 7 years ago
If you are downloading plugins using Composer, then they'll end up in the /vendor
folder, not in src/Plugin
. I'd also assume that if you're using Composer, you're using Cake 3, which would be looking in /vendor
and not in Plugin
Use composer to install the plugin so that the plugin and it's dependencies are properly installed.
@clementcrownrise As @davidyell says, the plugins will be installed inside of /vendor
. CakePHP knows how to load them up, so you just need to add it to your bootstrap at that point.
The src/Plugin
folder is for plugins you've developed for your particular application.
I used composer to do the installation, the plugin files were not in vendor file also, however, I will try again.
Thanks
They won't be top-level, but in some nested directory.
Telling me nothing to install,
It's already installed then. Here is what I get in an app that has it installed already:
$ ll vendor/josegonzalez/cakephp-upload/
total 72
drwxr-xr-x@ 14 jose staff 476B Nov 30 22:40 .
drwxr-xr-x@ 7 jose staff 238B Nov 30 22:40 ..
-rw-r--r--@ 1 jose staff 320B Nov 21 09:02 .editorconfig
-rw-r--r--@ 1 jose staff 22B Nov 21 09:02 .gitignore
-rw-r--r--@ 1 jose staff 353B Nov 21 09:02 .scrutinizer.yml
-rw-r--r--@ 1 jose staff 1.8K Nov 21 09:02 .travis.yml
-rw-r--r--@ 1 jose staff 2.9K Nov 21 09:02 CONTRIBUTING.md
-rw-r--r--@ 1 jose staff 1.1K Nov 21 09:02 LICENSE.txt
-rw-r--r--@ 1 jose staff 2.7K Nov 21 09:02 README.md
-rw-r--r--@ 1 jose staff 1.1K Nov 21 09:02 composer.json
drwxr-xr-x@ 12 jose staff 408B Nov 21 09:02 docs
-rw-r--r--@ 1 jose staff 1.2K Nov 21 09:02 phpunit.xml.dist
drwxr-xr-x@ 6 jose staff 204B Nov 21 09:02 src
drwxr-xr-x@ 6 jose staff 204B Nov 21 09:02 tests
Ok, thanks for your support
hope I can add the upload to multiple field , like I did in the screenshot above ?
Sure that probably works.
see my debug, the record is not added and no picture is uploaded
@clementcrownrise please join the cakephp slack or irc room to get further support there.
Ok, thnks
I installed your cakephp upload plugin, but on clicking on the submit button, i get the below error.
I actually installed with composer, but I didnt see the plugin file and folder in the cakephp Plugin directory, so I had to manually download the plugin from github and place the folder in the cakephp plugin directory,
Please what could me the cause of this problem? and how do I fix it?