OpenCATS 0.9.4-3

Free, Open-Source Applicant Tracking System including job-board. Entirely customisable!

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.
Query Error -- Report to System Administrator ASAP

MySQL Query Failed: Table '. \ Opencart \ JobOrder is labeled' crashed 'and should be repaired

candidate.first_name as firstName,
candidate.last_name as lastName,
candidate.candidate_id as candidateID, as companyName,
company.company_id as companyID,
user.first_name as userFirstName,
user.last_name as userLastName,
IF (company.is_hot = 1, 'jobLinkHot', 'jobLinkCold') as companyClassName,
IF (candidate.is_hot = 1, 'jobLinkHot', 'jobLinkCold') as candidateClassName,
DATE_FORMAT(, '%d-%m-%y'
) AS date, AS datesort
LEFT JOIN candidate ON
candidate.candidate_id = candidate_joborder_status_history.candidate_id
LEFT JOIN joborder ON
joborder.joborder_id = candidate_joborder_status_history.joborder_id
LEFT JOIN company ON
joborder.company_id = company.company_id
joborder.recruiter = user.user_id
status_to = 800
candidate_joborder_status_history.site_id = 1
datesort DESC
Please before you post a problem..

what version of OpenCATS are you running?
what platform are you running it on (WAMP/LAMP)

does your OpenCATS run on a Dedicated server, VPS, or shared?

Have you checked your error logs for your webserver? Do they tell you anything useful? Post them!
can you reproduce your error?

have you searched the site to see if it's already reported?

Have you checked the Bug tracker to see if it's in there (oops still to implement that one :-o )
Hey there,

if your MySQL database is showing as crashed, I guess you had a power outage (or similar) whilst it was in use?

Anyway - you need to drop to a command line (possibly PhpMyAdmin can do this too, don't know) and use the myisamchk command to repair your database.
I have installed the actual version of Open Cat 0.9.4 Countach downloades today.
its installed on a virtual server with Ubuntu 16.04.4 LTS‬
here are the system informations out of openCATS:

General Information
Operating System: Linux 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64
Operating System Type: CATS thinks your operating system is UNIX.
PHP Version: 5.6.36
Database Version: MySQL 5.7.22-0ubuntu0.16.04.1 [/i]

within the installation everything went fine, but when i click on job orders, candidates or companies I'll get the following message (job order):

Query Error -- Report to System Administrator ASAP
MySQL Query Failed: Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'opencatisb.attachment.attachment_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

joborder.joborder_id AS jobOrderID,
joborder.joborder_id AS exportID,
joborder.date_modified AS dateModifiedSort,
joborder.date_created AS dateCreatedSort,
joborder.is_hot AS isHot,
IF(attachment_id, 1, 0) AS attachmentPresent,
joborder.title AS title, AS companyName,
company.company_id AS companyID,
joborder.type AS type,
joborder.status AS status,
DATE_FORMAT(joborder.date_created, '%d-%m-%y') AS dateCreated,
DATEDIFF(NOW(), joborder.date_created) AS daysOld,
joborder_id = joborder.joborder_id
status_to = 400
site_id = 1
) AS submitted,
joborder_id = joborder.joborder_id
site_id = 1
) AS pipeline,
recruiter_user.first_name AS recruiterFirstName,recruiter_user.last_name AS recruiterLastName,CONCAT(recruiter_user.last_name, recruiter_user.first_name) AS recruiterSort,
owner_user.first_name AS ownerFirstName,owner_user.last_name AS ownerLastName,CONCAT(owner_user.last_name, owner_user.first_name) AS ownerSort
LEFT JOIN company
ON joborder.company_id = company.company_id
LEFT JOIN contact
ON joborder.contact_id = contact.contact_id
LEFT JOIN attachment
ON joborder.joborder_id = attachment.data_item_id
AND attachment.data_item_type = 400
LEFT JOIN user AS recruiter_user ON joborder.recruiter = recruiter_user.user_id
LEFT JOIN user AS owner_user ON joborder.owner = owner_user.user_id LEFT JOIN saved_list_entry
ON saved_list_entry.data_item_type = 400
AND saved_list_entry.data_item_id = joborder.joborder_id
AND saved_list_entry.site_id = 1
joborder.site_id = 1

AND (joborder.status = 'Active' OR joborder.status = 'OnHold' OR joborder.status = 'Full' )

GROUP BY joborder.joborder_id

ORDER BY dateCreatedSort DESC
LIMIT 0, 50

Hi everyone. I am hoping to do some updating to t[…]

I have added sorting by whether a Contact is Hot o[…]

Bulk Emails

Thanks, however, I’ve now successfully imple[…]

Email Integration

sending emails from opencats I've funded a ver[…]

opencats current release does not support PHP 7.x,[…]

Sorry - I've replied to a separate thread on this.[…]

Hi I have a separate patch I had developed that l[…]

Guys, 99% of the issues I see reported are due t[…]

Hey @ormankanca , that's great news - but is it […]

MySql is not working.

Just to update and close of this thread. I did as […]

Email History

Hi Russ, It's a start! Please find instruction[…]