upload a document doc, pdf,...

Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules
Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
Post Reply
vijai
Posts: 1
Joined: 31 May 2017, 05:27
what is two(2) plus three(3) ?: 5

upload a document doc, pdf,...

Post by vijai » 31 May 2017, 05:44

hi sir,
when I upload a document file(doc, pdf, ..) to textarea the format is not supported to display a content in document file..
please give some suggestion to over come form this problem..

Regards,
vijai.v
Attachments
upload.PNG
upload a doc file
upload.PNG (55 KiB) Viewed 1659 times

skrchnavy
Posts: 7
Joined: 04 Jan 2017, 14:18
what is two(2) plus three(3) ?: 5

Re: upload a document doc, pdf,...

Post by skrchnavy » 05 Jun 2017, 08:46

Hi. I am not sure, but it could be caused by encoding in the file.
we are working on a solution: https://github.com/opencats/OpenCATS/pull/238

OpenCATS080917
Posts: 13
Joined: 08 Sep 2017, 12:04
what is two(2) plus three(3) ?: 5

Re: upload a document doc, pdf,...

Post by OpenCATS080917 » 15 Sep 2017, 10:26

I'm no programmer, but I visited the github page. I didn't understand much, but I'd agree with mlespiau's "Why should our users know which encoding to use?".

I've tried to upload the following formats and got the following results. I'm running CATS Version 0.9.4 on a French Windows 10 PC so I need French accents.

- DOC, HTML and PDF:
=> Fatal error: Class 'COM' not found in C:\xampp\htdocs\OpenCATS\lib\DocumentToText.php on line 362

- ODT (which is a ZIP file):
=> Notice: Undefined variable: filename in C:\xampp\htdocs\OpenCATS\lib\DocumentToText.php on line 166
Warning: ZipArchive::open(): Empty string as source in C:\xampp\htdocs\OpenCATS\lib\DocumentToText.php on line 404

- DOCX, RTF:
=> Upload, but problem with accents

- TXT (ANSI)
=> Upload, but problem with accents

- TXT (UTF8)
=> Upload, no problem with accents

User avatar
cptr13
Posts: 414
Joined: 23 Apr 2008, 01:53
what is two(2) plus three(3) ?: 5
Location: Mobile, AL
Contact:

Re: upload a document doc, pdf,...

Post by cptr13 » 19 Sep 2017, 10:01

I think you have two issues happening here.

First, did you follow the documentation instructions correctly? It does need to be updated, so there could be errors at this point.

Did you use the "source" version or the "full" version? The version for the documention steps needs to be the "source" version.

What is your environment? Self-hosted, shared-hosting? Windows, linux?

The resume parsing does not work, for the most part. There's some workarounds on the forums, but the main issues (listed above) need to be resolved first.

wootowl
Posts: 2
Joined: 10 Oct 2017, 14:30
what is two(2) plus three(3) ?: 5

Re: upload a document doc, pdf,...

Post by wootowl » 10 Oct 2017, 14:34

I'm having this issue too. I upload PDFs individually on a per-candidate basis and they show up like that (a scrambled mess with all those weird <?> characters). Also I can't use the mass import feature. Gives an error every time (trying to import these same PDFs)
Attachments
opencatsMassuploadError.jpg
opencatsMassuploadError.jpg (54.42 KiB) Viewed 1530 times

wootowl
Posts: 2
Joined: 10 Oct 2017, 14:30
what is two(2) plus three(3) ?: 5

Re: upload a document doc, pdf,...

Post by wootowl » 10 Oct 2017, 14:40

hmm also just when I try to create a candidate with the PDF copied and pasted into the text field area for resume I'm getting several errors
Attachments
opencatsCandidateCreateError.jpg
opencatsCandidateCreateError.jpg (414.79 KiB) Viewed 1529 times

william19
Posts: 1
Joined: 27 Nov 2018, 11:43
what is two(2) plus three(3) ?: 5

Re: upload a document doc, pdf,...

Post by william19 » 27 Nov 2018, 12:02

Hello Guys,

Other than embeddings pictures, video and sound records you can likewise transfer other record organizations, for example, archives, PDF and PowerPoints straightforwardly into your posts and pages. This doesn't install your document in your post or page so you can see it straightforwardly implanted in the post (or page); it embeds a connection to the record. At the point when perusers tap on the connection to the document it either opens up in another internet browser or downloads the record onto their PC. This is convenient for giving records, for example, class notes, task data.

Post Reply