Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i cant upload file
#1
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
Reply
#2
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
Reply


Forum Jump:


Users browsing this thread: