Community Support for OpenDocMan (Deprecated)
Newbie - 4hrs on confg.php & tearing out hair.... - 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: Newbie - 4hrs on confg.php & tearing out hair.... (/thread-197.html)



Newbie - 4hrs on confg.php & tearing out hair.... - fruitbat - 03-16-2010

Hello,

I'm really struggling with these config.php settings - its the old favourite error message.....

There is a problem with your dataDir. Check to make sure it exists and is writeable

I've looked at it a hundred time (or it feels like it) and tried various combinations of strings still get the error. Having searched the forum i do understand that its just simply checking to se if the file is there and if that file has the correct permissions but I'm still doing something wrong and can't figure it out.

OpenDocman is installed in - <!-- w --><a class="postlink" href="http://www.site.co.uk/filemanager">www.site.co.uk/filemanager</a><!-- w -->
The Document Folder location - <!-- w --><a class="postlink" href="http://www.site.co.uk/filemanager/document_directory">www.site.co.uk/filemanager/document_directory</a><!-- w -->
Base URL - <!-- w --><a class="postlink" href="http://www.site.co.uk/filemanager">www.site.co.uk/filemanager</a><!-- w -->

// 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/',

Can anyone tell me the correct path to put in this bit.

Thanks

Jo


Re: Newbie - 4hrs on confg.php & tearing out hair.... - Stephen - 03-16-2010

Your missing the opening '/' on your dataDir setting.


Re: Newbie - 4hrs on confg.php & tearing out hair.... - fruitbat - 03-16-2010

Thank you Smile