LetoDMS Community Forum
File upload Problems - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10)
+--- Thread: File upload Problems (/showthread.php?tid=127)

Pages: 1 2 3 4


File upload Problems - spacecop - 08-09-2010

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


RE: File upload Promlems - administrator - 08-09-2010

hi spacecop

thanks for using LetoDMS

i think its your permission but try to do this , reinstall LetoDMS, and don't change any of file in LetoDMS because its tested and its working fine for all most a lot of people , what you can download a fresh copy from download center in letodms.com and try it again and see what happens.

double check you the system requirment , you can check the system requirment on www.letodms.com/doc

thanks

LetoDMS team.


RE: File upload Problems - spacecop - 08-09-2010

I reinstalled Leto.

This error message I recieved when I try to change the name of the DMS folder:

Warning: fopen(/data/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

Warning: Cannot modify header information - headers already sent by (output started at /users/schule/www/1/inc/inc.Utils.php:244) in /users/schule/www/1/op/op.EditFolder.php on line 71


RE: File upload Problems - spacecop - 08-09-2010

if I change

// set false to disable log system
var $_logFileEnable = true;

to

// set false to disable log system
var $_logFileEnable = false;

I don't receive a error, but I still not able to upload any files Dodgy


RE: File upload Problems - administrator - 08-09-2010

what is the error msg ? when you try to upload

Thanks

oh are you using v1.9


RE: File upload Problems - spacecop - 08-09-2010

yes I'm using v1.9.

Message:

Ein Fehler ist aufgetreten.
Bitte Administrator benachrichtigen

Warning: fopen(/download/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


RE: File upload Problems - administrator - 08-09-2010

do you have this

1. Requirements

MyDMS is a web-based application written in PHP. It uses the MySQL RDBMS to manage the documents that are loaded into the application.

Make sure you have PHP 4.0 or higher installed, and MySQL 4 or higher. MyDMS will work with PHP running in CGI-mode as well as running as module under apache. If you want to give your users the opportunity of uploading passport photos you have to enable the gd-library (but the rest of MyDMS will work without gd, too).

You will also need to download and install the ADODB database abstraction library from http://adodb.sf.net/ since MyDMS relies upon it for all database connectivity.


RE: File upload Problems - spacecop - 08-09-2010

You will also need to download and install the ADODB database abstraction library from http://adodb.sf.net/ since MyDMS relies upon it for all database connectivity.

This requirement is not possible. I am hosting on a free hoster. It's not possible to install libraries.

The other requirements are

PHP Version 5.3.2
MySQL4 or higher

May I try another version from LetoDMS?


RE: File upload Problems - administrator - 08-09-2010

then LetoDMS won't work if yo don't install adodb but i think matteo or aleksey can reply for you .

if that is possible

thanks

LetoDMS


RE: File upload Problems - spacecop - 08-09-2010

now I tried to install adodb5.
I have put the files in accessable folder on my webspace.
But which file I have to personalize?
And what?

Sry me english is not so well.