Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Uploadify Uploadfolder Problem

Go to End



Community Member, 72 Posts

30 August 2011 at 5:28am

Hi @ all,

uploadify didn't accept the selected upload folder. after searching the forum i found this.

Index: www/uploadify/code/UploadifyField.php 
--- www/uploadify/code/UploadifyField.php   (revision 13) 
+++ www/uploadify/code/UploadifyField.php   (working copy) 
@@ -485,7 +485,7 @@ 
   public function CurrentUploadFolder() { 
      if($this->uploadFolder) { 
-         $folder = Folder::findOrMake($this->uploadFolder); 
+         return Folder::findOrMake($this->uploadFolder); 
      if($result = $this->Files()) { 
         if($result instanceof File) {

but i'm new to SS and PHP. Cause of that i don't know what to do. and i don't understand that code snippet.

can someone help me to fix uploadify?