Ticket #1299 (closed defect: fixed)
Error on creating assets folder/file in files and images in cms
| Reported by: | mandrew | Owned by: | aoneil |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | CMS - Files and Images section | Version: | 2.0 |
| Severity: | low effort / impact | Keywords: | |
| Cc: | Hours: |
Description
If assets directory doesn't exist then this error appears - error should be clear about what has happenend (in this case there is no assets directory).
Error adding folder 500//ERROR:Error 2: mkdir() [function.mkdir]: No such file or directory At l517 in /sites/dev.silverstripe.com/mandrew/testproject/cms/code/AssetAdmin.php mkdir(../assets/NewFolder) line 517 of AssetAdmin?.php
AssetAdmin?->addfolder(Array) line 130 of Controller.php
Controller->run(Array) line 48 of Director.php
Director::direct(/admin/assets/addfolder) line 102 of main.php
Change History
Note: See
TracTickets for help on using
tickets.
