LetoDMS Community Forum
RC5 LoginProblem after new installation - 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: RC5 LoginProblem after new installation (/showthread.php?tid=293)

Pages: 1 2


RE: RC5 LoginProblem after new installation - Tscheggi - 04-18-2011

(04-18-2011, 05:14 PM)Tscheggi Wrote: I've tested directly the upload
The file is uploaded ?
[/quote]

No !
I get an "error ist occured" ...

With setting the error_Variables i get also an :
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/volume1) is not within the allowed path(s): (/usr/bin/php:/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog:/var/services/homes:/var/services/musicSmile in /volume1/web/LetoDMS-3.0.0-RC5/LetoDMS_Core/Core/inc.FileUtils.php on line 64


RE: RC5 LoginProblem after new installation - Doudoux - 04-18-2011


try to replace
PHP Code:
/volume1/web/LetoDMS-3.0.0-RC5
by
PHP Code:
/var/services/web/LetoDMS-3.0.0-RC5

in settings file

doudoux





RE: RC5 LoginProblem after new installation - Tscheggi - 04-18-2011

Ok,
now I get the message from File "/var" :-(

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var) is not within the allowed path(s): (/usr/bin/php:/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog:/var/services/homes:/var/services/musicSmile in /volume1/web/LetoDMS-3.0.0-RC5/LetoDMS_Core/Core/inc.FileUtils.php on line 64


RE: RC5 LoginProblem after new installation - Doudoux - 04-19-2011

(04-18-2011, 07:49 PM)Tscheggi Wrote: Ok,
now I get the message from File "/var" :-(

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var) is not within the allowed path(s): (/usr/bin/php:/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog:/var/services/homes:/var/services/musicSmile in /volume1/web/LetoDMS-3.0.0-RC5/LetoDMS_Core/Core/inc.FileUtils.php on line 64

Try this:

In you php.ini file, add /volume1/web to the open_basedir parameters

doudoux



RE: RC5 LoginProblem after new installation - Tscheggi - 04-19-2011

(04-19-2011, 03:49 AM)Doudoux Wrote: Try this:

In you php.ini file, add /volume1/web to the open_basedir parameters

doudoux

Hi Doudoux,

with adding "volume1/web" the error is still there, but if I delete the whole openbaseDir-Entry in my Synology DS209 it all works fine.
I don't know which problems I will get, with a empty openBaseDir-Entry.
But I think thats a synology-problem, so this thread can be marked as "solved".
If I get the right settings from the synology-forum,I will posted here.

Thank you for your help

Hi Doudoux,

me again :-)
I've added a screenshot from my error.
I think the problem is in the core/inc.FileUtils.php"
In the makeDir-Function you get in with the full "Data-Path" and you make a "preg-split".
After this you check for every "preg_split" the directory.
The "var"-Directory is not in the allowed path and so you get the "openbase"-Dir.
I think you only have to check the "data"-Path.

In this thread it seems to be the same problem : http://forums.letodms.com/showthread.php?tid=302&highlight=makedir

Could this be the problem ?

Thank you