Community Support for OpenDocMan (Deprecated)
New Install - PHP Parse error - 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: New Install - PHP Parse error (/thread-1008.html)



New Install - PHP Parse error - flappleton - 10-14-2018

Help!

The following error message is occuring when starting OpenDocMan in a subdirectory of a Linux instance. Has anyone encountered this in the past? I commented the code out in 3 places (lines 156, 178 and 201) and the admin function starts OK but cannot find the data directory. I wonder if it is related.

[Sun Oct 14 07:06:32 2018] [warn] [client 185.92.26.139] mod_fcgid: stderr: PHP Parse error:  syntax error, unexpected '[' in /mnt/data/vhosts/casite-625488.cloudaccess.net/httpdocs/opendocman/vendor/aura/view/src/TemplateRegistry.php on line 156


RE: New Install - PHP Parse error - adminla - 11-06-2018

Sounds like an older version of PHP.