LetoDMS Community Forum
i cant upload file - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Installation Problems (https://community.letodms.com/forumdisplay.php?fid=9)
+--- Thread: i cant upload file (/showthread.php?tid=96)



i cant upload file - nienna - 06-30-2010

well my problem is about file upload. so im using leto on localhost for now. 'n proly i hav missed something on setup.


PHP Code:
    var $_rootDir "/xampp/htdocs/letodms/";
    var 
$_httpRoot "/letoDMS/";
    var 
$_contentDir "/xampp/htdocs/letodms/docs/"

and im getting
Code:
Warning: copy(/xampp/htdocs/letodms/docs/1048576/20/1.pdf) [function.copy]: failed to open stream: No such file or directory in C:\xampp\htdocs\letoDMS\inc\inc.FileUtils.php  on line 32

so what can i do for it..

btw im using latest xampp...

thx so much for help

ah and its create folders like

C:\xampp\htdocs\letoDMS\op\xampp\htdocs\letodms\docs\1048576\21

i was try
like

C:\xampp\htdocs\letoDMS\docs
/docs/
/xampp/htdocs/letodms/doc/
/htdocs/letodms/doc/

etc etc but still same it just want to create folders in op folder


RE: i cant upload file - administrator - 06-30-2010

first you need to have your path correct :

// path to where mydms is located
var $_rootDir = "/xampp/htdocs/letodms/";

Correct path would be :

C:\xampp\htdocs\letodms

var $_httpRoot = "/letoDMS/";


// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir = "/xampp/htdocs/letodms/docs/";

C:\xampp\htdocs\letodms\docs\

try that see what happens

thanks for your interest in LetoDMS