Uploaded files not saving
-
Having issues with files not saving. Not sure what I am doing wrong…
Logged in as administrator or subscriber with same results:
Can create folders
Can delete folders
Can specify files to be uploaded
On File Up command files ‘appear’ to upload
But after file upload process files are not stored.On page paramters:
[fileaway type=”table” searchlabel=”search in directory” sortfirst=”mod” fadein=”opacity” fadetime=”1500″ paginate=”true” bulkdownload=”off” manager=”true” base=”2″]
-
You on a Windows server?
If so, see FAQ and plugin requirements.
For DIY fix, see: https://ww.wp.xz.cn/support/topic/upload-problems-14?replies=4
Hi Thomas
Thx. Just figured out that the files are uploading, did a server search and found that they are all uploading to one directory – not the open one (displayed). Just need to figure out the syntax for loading to the currently open directory.
Apologies again.
[fileaway directories=”true” drawerid=”1″][fileup matchdrawer=”1″]
Hi Thomas, still having problems. All files are loading to drawer 1. I went back and reset options and updated landing pages but still having problems:
File Away Configuration set three server folders with names 1=Management, 2=HR, 3=Projects
3 landing pages for each Directory to allow uploads each with FileAway & Fileup parameters:
MANAGEMENT (http://www.insight-setup1.co.uk/document-manager-1/):
[fileaway type=”table” searchlabel=”search in directory” sortfirst=”mod” fadein=”opacity” fadetime=”1500″ paginate=”true” bulkdownload=”off” manager=”true” base=”1″]
[fileup fadein=”opacity” fadetime=”1500″ uploader=”name” matchdrawer=”1″]HR (http://www.insight-setup1.co.uk/document-manager-2/):
[fileaway type=”table” searchlabel=”search in directory” sortfirst=”mod” fadein=”opacity” fadetime=”1500″ paginate=”true” bulkdownload=”off” manager=”true” base=”2″]
[fileup fadein=”opacity” fadetime=”1500″ uploader=”name” matchdrawer=”2″]Projects (http://www.insight-setup1.co.uk/document-manager-3/):
[fileaway type=”table” searchlabel=”search in directory” sortfirst=”mod” fadein=”opacity” fadetime=”1500″ paginate=”true” bulkdownload=”off” manager=”true” base=”3″]
[fileup fadein=”opacity” fadetime=”1500″ uploader=”name” matchdrawer=”3″]PROBLEM: Using FileUp to upload from any of the 3 landing pages results in files being loaded to Base Directory 1. What am I doing wrong?
I tried deactivating all other plugins – just in case – but same result.
For one, you’re not setting the base directory in the [fileup] shortcode.
Secondly, if you’re using matchdrawer=1|2|3 in your fileup shortcode, you need to have a corresponding drawerid=1|2|3 in your [fileaway] shortcode. This is what you need:
[fileaway type="table" searchlabel="search in directory" sortfirst="mod" fadein="opacity" fadetime="1500" paginate="true" bulkdownload="off" manager="true" base="1" drawerid="1"] [fileup fadein="opacity" fadetime="1500" uploader="name" base="1" matchdrawer="1"] [fileaway type="table" searchlabel="search in directory" sortfirst="mod" fadein="opacity" fadetime="1500" paginate="true" bulkdownload="off" manager="true" base="2" drawerid="2"] [fileup fadein="opacity" fadetime="1500" uploader="name" base="2" matchdrawer="2"] [fileaway type="table" searchlabel="search in directory" sortfirst="mod" fadein="opacity" fadetime="1500" paginate="true" bulkdownload="off" manager="true" base="3" drawerid="3"] [fileup fadein="opacity" fadetime="1500" uploader="name" base="3" matchdrawer="3"]Also, bulkdownload=”off” actually resolves to bulkdownload=”on”. If you don’t want bulk downloads, remove the bulkdownload attribute from the shortcode. But in manager mode it is always going to be enabled.
I would also be sure to add directories=”true” to each [fileaway] shortcode, for those who don’t have access to manager mode.
So with my revised counsel, this is what you want:
[fileaway type="table" searchlabel="search in directory" sortfirst="mod" fadein="opacity" fadetime="1500" paginate="true" directories="true" manager="true" base="1" drawerid="1"] [fileup fadein="opacity" fadetime="1500" uploader="name" base="1" matchdrawer="1"] [fileaway type="table" searchlabel="search in directory" sortfirst="mod" fadein="opacity" fadetime="1500" paginate="true" directories="true" manager="true" base="2" drawerid="2"] [fileup fadein="opacity" fadetime="1500" uploader="name" base="2" matchdrawer="2"] [fileaway type="table" searchlabel="search in directory" sortfirst="mod" fadein="opacity" fadetime="1500" paginate="true" directories="true" manager="true" base="3" drawerid="3"] [fileup fadein="opacity" fadetime="1500" uploader="name" base="3" matchdrawer="3"]Right – got this completely wrong. Let me take this away and read that article and fix it. Thx for such a swift response.
The article I linked to in the third comment here is only relevant if you’re on a Windows server, which it doesn’t seem you are.
OK thx
Hi Thomas – perfect. Just been through each parameter you listed to try and understand better what this is doing and where I was wrong. Thanks for your help.
Two other questions on the FileUp:
1) after a file is uploaded the file name is removed from the upload list, but the file listing doesn’t refresh – is there a way to force this automatically (other than refreshing the browser page)
2) is it possible to rename the text on the File Up button? Do I need to delve into the code to change it?
Thanks again.
1. No, that’s not a feature.
2. uploadlabel=”whatever”
Thx
The topic ‘Uploaded files not saving’ is closed to new replies.