* mkdir(C:/xampp/htdocs/silverstripe/assets/Bildergalerien/Bla/,1533)
Line 30 of Folder.php
* Folder::findOrMake(Bildergalerien/Bla)
Line 115 of MemberGalleryPage.php
* MemberGalleryPage_Controller->upload(HTTPRequest)
Line 162 of Controller.php
* Controller->handleAction(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 29 of ModelAsController.php
* ModelAsController->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/galleries/upload/3)
Line 118 of main.php
if a new user wants to create a gallery, it appear a server failure!
Trace:
[Warning] mkdir() [function.mkdir]: No such file or directory GET /silverstripe/galleries/upload/3
Line 30 in C:\xampp\htdocs\silverstripe\sapphire\filesystem\Folder.php Source
21 22 foreach($parts as $part) { 23 $item = DataObject::get_one("Folder", "Name = '$part' AND ParentID = $parentID"); 24 if(!$item) { 25 $item = new Folder(); 26 $item->ParentID = $parentID; 27 $item->Name = $part; 28 $item->Title = $part; 29 $item->write(); 30 if(!file_exists($item->getFullPath())) mkdir($item->getFullPath(),Filesystem::$folder_create_mask); 31 } 32 $parentID = $item->ID; 33 } 34 return $item; 35 } 36
Trace