But, I'm encountering an odd behavior. When sumbitting the upload, no matter whan I put in as the wordview program (even invalid or non-existing files), I see the following errors:
Warning: file(/tmp/linux10g2.dochtml): failed to open stream: No such file or directory in /usr/local/apache2/htdocs/ocs/include/submitupload.inc.php on line 72
Warning: join(): Bad arguments. in /usr/local/apache2/htdocs/ocs/include/submitupload.inc.php on line 72
Warning: unlink(/tmp/linux10g2.dochtml): No such file or directory in /usr/local/apache2/htdocs/ocs/include/submitupload.inc.php on line 74
If I remove the 2 unlink commands that would remove the old and new file, I would expect to see the original file in /var/tmp. However, it doesn't look like the temp documents are being created. Permissions on /var/tmp are correct and other processes can use it for tmp file creation.
This is only happening with word files. PDF, HTML, and text uploads all work properly. Any suggestions on where to start digging?
