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.
By Anne
#1683
Hi,

I have successfully installed Opencats on Windows using wamp and can add candidates but get both of these errors when trying to upload resumes that are in PDF or Word format. If I convert the resume to TXT it imports without any errors.

Strict standards: Non-static method FileUtility::makeSafeFilename() should not be called statically, assuming $this from incompatible context in C:\wamp\www\lib\Attachments.php

Fatal error: Class 'COM' not found in C:\wamp\www\lib\DocumentToText.php

Other posts that I've found on this forum and other places suggest changes to the php.ini file (error reporting = e_all) and/or the config.php file (antiword path). I've looked at both of those files and they are as suggested. I've checked the path for each of the resume tools and they are installed in the correct directory.

Also, when I search the candidates using resume keywords I get this error - and many more (with a reference other than ::fulltextEncode) yet it does return the correct resume.

Strict standards: Non-static method DatabaseSearch::fulltextEncode() should not be called statically, assuming $this from incompatible context in C:\wamp\www\lib\Search.php

So I am not sure where to look next. The php error log file is empty but this is the last entry in the Apache error log.

Mon Jan 06 16:00:32.984375 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP Strict standards: Non-static method DatabaseSearch::fulltextDecode() should not be called statically in C:\\wamp\\www\\lib\\Search.php on line 262, referer: http://localhost/index.php?m=candidates&a=search
[Mon Jan 06 16:00:32.984375 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP Stack trace:, referer: http://localhost/index.php?m=candidates&a=search
[Mon Jan 06 16:00:32.984375 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP 1. {main}() C:\\wamp\\www\\index.php:0, referer: http://localhost/index.php?m=candidates&a=search
[Mon Jan 06 16:00:32.984375 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP 2. ModuleUtility::loadModule() C:\\wamp\\www\\index.php:291, referer: http://localhost/index.php?m=candidates&a=search
[Mon Jan 06 16:00:33.000000 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP 3. CandidatesUI->handleRequest() C:\\wamp\\www\\lib\\ModuleUtility.php:79, referer: http://localhost/index.php?m=candidates&a=search
[Mon Jan 06 16:00:33.000000 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP 4. CandidatesUI->onSearch() C:\\wamp\\www\\modules\\candidates\\CandidatesUI.php:123, referer: http://localhost/index.php?m=candidates&a=search
[Mon Jan 06 16:00:33.000000 2014] [:error] [pid 320:tid 624] [client 127.0.0.1:2271] PHP 5. SearchUtility::searchExcerpt() C:\\wamp\\www\\modules\\candidates\\CandidatesUI.php:1880, referer: http://localhost/index.php?m=candidates&a=search

Any direction or advice you can give is most appreciated as I seem to be going in circles.

Cheers
Anne
By johnvc
#1689
Hello
I am having the same problem as Ann.
Works perfectly with .txt files, but I get the same error as Anne with .Doc files.
Any solution or workaround?
Thanks !
John
By johnvc
#1690
Some additional information regarding the error that occurs when trying to Attach/upload a ".Doc" resume to a Candidate :

Fatal error: Class 'COM' not found in C:\xampp\htdocs\opencats\lib\DocumentToText.php on line 355

Line 355 in DocumentToText.php is :

/* Create a new COM Windows Scripting Host Shell object. */
$WSHShell = new COM('WScript.Shell');

Any ideas?
Helpppppppppppppp
By Aliraza179
#1816
I tried to reproduce the error on my test environment but was unable to do so. What I did was to create a custom field, add a couple job orders and candidates and then I removed the custom field.

Please provide more information or step by step instructions to reproduce the issue and I'll try to help.

Alternatively you could check your database structure against a default installation for changes and try to revert them if you find any. (particulary the extra_field and extra_field_settings tables).

I'm attaching an dump of my test DB structure for your reference.

This is the "import from resume"[…]

EMAIL CONFIGURATION

Hi, the email configuration (including different[…]

as the title says...

It's essential to keep these synchronized to ensur[…]