I also have this same problem. I installed opendocman but seem to have a problem with DataDir. I think that my problem will be solve if someone could tell me what I need to add in config_local for this line of code:
<!-- m --><a class="postlink" href="http://www.opendocman.com/dokuwiki/doku.php/getting_started_with_opendocman?&#minute_install">http://www.opendocman.com/dokuwiki/doku ... te_install</a><!-- m -->
Here is the applicable part:
....
3) Create a folder outside of your public html folder that will contain your data files. This will be your "dataDir" folder in the config. For example, `mkdir /home/joeuser/document_repository/`
4) Make sure the permissions and ownership of the data folder will allow for the web server to write to it. For example, `chown apache:apache /home/joeuser/document_repository/`
....
Because I have this domain pointing to a folder within my public_html file, I have tried to set up the same folder (document_repository) in dozens of places within my site - to no avail.
When I click on the installation, I get the following message...
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /hermes/bosweb/web151/b1519/sl.johntwigg/public_html/booster/opendocman/config.php on line 168
Unable to connect: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I wonder if the problem is my syntax? Here's what i set...
Yes, thanks. I actually had two problems, not one - I fixed the database issue and that's working fine, but am stumped by the datadir - I seem to have the same problem as Sansugoi last month. "There is a problem with your dataDir. Check to make sure it exists and is writeable"
I believe the two pertinent parts of the file are:
I am sure that is incorrect. This dataDir setting has nothing to do with the base_url. It is the absolute file path to a folder that you create that is writeable by the web server and which will contain the files that are uploaded to opendocman.
Not knowing your server environment I cannot tell you exactly what the value should be, but here is an example: