CakePHP-FileUpload-Plugin icon indicating copy to clipboard operation
CakePHP-FileUpload-Plugin copied to clipboard

Warnings generated when debug != 0

Open ceap80 opened this issue 14 years ago • 1 comments

When I enable debug, I keep getting this warning


```

But the plugin is uploading the file and saving the data in the model.

The thing that looks strange to me, is that the warning is beig generated in the component even when I'm only using behaviours.

But if I remove the plugin for the list of components in `app_controller.php`, I receive the following error: `Cannot redeclare class FileUploadSettings`

So a quick question, becuase I could not find the answer in the docs.

If I am just using behaviours, is it required to list the plugins in the components array of `app_controller.php`?
```

ceap80 avatar Sep 21 '11 14:09 ceap80

I am also having this issue. No warnings when saving though an associated model ProductReview->ProductReviewPhotos from the ProductReviews controller, but when saving within the models controller,Photo model from the Photos controller I get the warning. The files are being upload and the record is created.

damondelgado avatar Oct 26 '11 02:10 damondelgado