Community Support for OpenDocMan (Deprecated)
error starting opendocman - 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: error starting opendocman (/thread-31.html)



error starting opendocman - Stephen - 01-12-2010

Hi,

I am getting the following error when I open the index.php to start opendocman. This error is dispalyed in apache error.log


PHP Parse error: syntax error, unexpected T_STRING, expecting ')' in C:\\programs\\Apache2.2\\htdocs\\opendocman\\config.php on line 87


Line 87 in config.php is

'max_filesize' => '5000000',

If anyone know how to resolve please reply.

Thanks and Regards

Amal


Re: error starting opendocman - Stephen - 01-12-2010

Amal -

That line looks OK.. double check the lines preceeding and following it. If you don't see any errors, please post the entire file. Thanks


Re: error starting opendocman - Stephen - 01-12-2010

Hi Jonathan,

The preceeding line was a directory path and that was the problem.

It was 'dataDir' => 'c:\data\documents\',

I changed it to 'dataDir' => 'c:\\data\\documents\\',

Then it worked.

Thanks

Amal