![]() |
DataDir Problem - 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 Problem (/thread-130.html) |
DataDir Problem - Stephen - 01-13-2010 evanet 2007-05-13 03:32:05 PDT Hi, Am trying to install on my local machine for testing purposes. I get the initial datadir error message but cannot work out the fix. Here is the section of config.php. // 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/', Using this I get the message Parse error: syntax error, unexpected T_STRING, expecting ')' in M:\wamp\www\opendocman\config.php on line 83 I have checked and rechecked everything and cannto work out where the indicated missing ')' should be. Appreciate any suggestions Cheers dalfonso 2007-05-14 01:08:05 PDT Hi, I had the same problem. Actually the solution was to write / instead of \: 'c:/document_repository/' Best Regards Fabio logart 2007-05-14 09:30:01 PDT Fabio, Is this a bug? I had added the "\" comment to the config file for windows users (which I am not). Should I change the comment to "Dont forget the "/" slash" ? dalfonso 2007-05-14 10:35:22 PDT Hi, probably it is not a bug. I had no experience with php before, but I saw this is the way to set paths in perl under windows so I think this was the same for php. And I would say it is: 'c:/level1/level2/..3/' Best Regards Fabio |