OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Word Document uploads

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Word Document uploads

Postby Dallas » Fri Jan 07, 2005 11:15 am

We're having a tough situation with uploads of word documents. For some reason I can not get wvWare to successfully convert docs to HTML on the Solaris 9 machines we are planning on using. So, as a workaround, I have a perl glue script that will run wvHtml on a different machine via ssh. This works fine from the command line and should work fine executed via php.

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?
Dallas
 

Return to OCS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 1 guest