Community Support for OpenDocMan (Deprecated)
dataDir config location version 1.2.6 - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: dataDir config location version 1.2.6 (/thread-451.html)



dataDir config location version 1.2.6 - mdburden - 08-21-2011

Can anyone tell me where the config location is for the dataDir is in version 1.2.6? In previous versions it os in the config.php file but I cannot find it in 1.2.6.


Re: dataDir config location version 1.2.6 - Mikeyy - 08-21-2011

Log in as "admin", Administration -> Change settings -> dataDir


Re: dataDir config location version 1.2.6 - mdburden - 08-22-2011

THat is the problem. I can't login because I get the message that the dataDir does not exist. I have created the directory and I know it is writeable and I am 99.9% sure that I used the right path.


Re: dataDir config location version 1.2.6 - spy1309 - 09-08-2011

I had the same problem and it took me a day to figure it out.
Lines in the config.pho looks like this


// Uncomment this one for WINDOWS - Don't forget the trailing backslash "/"
'dataDir' => 'c:/document_repository/',

// Uncomment this one for LINUX - Don't forget the trailing slash "/"
//'dataDir' => '/var/www/document_repository/',

They should look like this to work.

// Uncomment this one for WINDOWS - Don't forget the trailing backslash "/"
'dataDir' => 'c:/document_repository/',

// Uncomment this one for LINUX - Don't forget the trailing slash "/"
'dataDir' => '/var/www/document_repository/',

If your lines look like this it will not work.



It did not work til I added "//" in the front of the datadir path for linux.