Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File upload Problems
#1
Hi,

thanks for programming LetoDMS. It's a great script!!!

Everything goes well, but when I try to upload a file (44kb/pdf) I become a Error Message:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/users) is not within the allowed path(s): (/users/schule/temp:/users/schule/www) in /users/schule/www/1/inc/inc.FileUtils.php on line 61

I solved this problem with changing the download directory in inc/inc.settings.php line 64 from

var $_contentDir = "/users/schule/www/1/downloads/";

to

var $_contentDir = "/downloads/";

I was happy to solve this problem but now I recieved the following error massage:

Warning: fopen(/downloads/20100809.log) [function.fopen]: failed to open stream: No such file or directory in /users/schule/www/1/inc/inc.Utils.php on line 244

Warning: fwrite() expects parameter 1 to be resource, boolean given in /users/schule/www/1/inc/inc.Utils.php on line 245

Warning: fclose() expects parameter 1 to be resource, boolean given in /users/schule/www/1/inc/inc.Utils.php on line 246

I have tried to change permissions for /downloads/ (755/666/777) an the log-files without success.

Someone any ideas????

Tom
Reply


Messages In This Thread
File upload Problems - by spacecop - 08-09-2010, 03:24 PM

Forum Jump:


Users browsing this thread: