Community Support for OpenDocMan (Deprecated)
Nota able to view the files - 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: Nota able to view the files (/thread-439.html)



Nota able to view the files - brendah285 - 07-12-2011

Hi,
I am new to php and have basic programming knowledge. I installed the system buit currently have the following problems:

1) When i try to open any document i get the error that '... the file format or extension is not valid. Verify that the file has not been corrupted and the file extension matches the format of the file.'
And also when openin gto view the files from the browser, i get the same error, adn when the browser window opens, the content appears to be corrupt.

2) I get thefollowing warning when trying to authorize the document: Warning: preg_replace() [function.preg-replace]: Unknown modifier 'g' in
C:\Wamp\www\opendocman\toBePublished.php on line 236
Call Stack
# Time Memory Function Location
1 0.0013 518848 {main}( ) ..\toBePublished.php:0
2 0.0259 2107672 preg_replace ( ) ..\toBePublished.php:236


Can I disable the warning from appearing, or alternatively fix the issue?
Kindly help me in resolving the 2 issues.
Thanks,
Brenda