sapplica / sentrifugo

Sentrifugo is a FREE and powerful Human Resource Management System (HRMS) that can be easily configured to meet your organizational needs.
http://www.sentrifugo.com/
GNU General Public License v3.0
485 stars 427 forks source link

Talent Acquisition #175

Open ate090913 opened 7 years ago

ate090913 commented 7 years ago

Home › Talent Acquisition › Openings/Positions › Add after saving. I get an error saying "Something went wrong, please try again later"

sapplica commented 7 years ago

Hi,

Kindly search for the text 'Something' and place the below line of code just above the 'Something' text line in the file 'RequisitionController.php'. Then try adding an Openings/Positions and provide us a screenshot of the exception printed on the screen to our support email at support@sentrifugo.com. Thank you!

Line of Code: echo $e->getMessage();exit;

File path: ...(application location...)...(application name)...\application\modules\default\controllers\RequisitionController.php

ate090913 commented 7 years ago

Hello, Thank you for replying in my thread. Code echo $e->getMessage();exit; shows the error. I found that some fields (client_id and recruiters) are missing in main_requisition table. and also the table main_requisition_history is missing. To fix the error I just put add the fields (client_id and recruiters) and create a table CREATE TABLE main_requisition_history ( id int(11) NOT NULL AUTO_INCREMENT, requisition_id int(20) DEFAULT NULL, candidate_id int(20) DEFAULT NULL, candidate_name varchar(150) DEFAULT NULL, interview_id int(20) DEFAULT NULL, description varchar(500) DEFAULT NULL, createdby int(11) DEFAULT NULL, modifiedby int(11) DEFAULT NULL, createddate datetime DEFAULT NULL, modifieddate datetime DEFAULT NULL, isactive tinyint(1) DEFAULT '1', PRIMARY KEY (id) ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Thank you very much.

ate090913 commented 7 years ago

good afternoon. I encounter error again in changing email settings. I have 2 copies of my files, 1 is in live internet while other 1 is in my local, when I change my email settings in local no error occurred. While in my live internet it shows error message "Invalid Parameters."

Hoping for a response asap, Thank you very much

On Mon, Aug 14, 2017 at 5:31 PM, Micha Rivera micha.m.rivera@gmail.com wrote:

Hello, Thank you for replying in my thread. Code echo $e->getMessage();exit; shows the error. I found that some fields (client_id and recruiters) are missing in main_requisition table. and also the table main_requisition_history is missing. To fix the error I just put add the fields (client_id and recruiters) and create a table CREATE TABLE main_requisition_history ( id int(11) NOT NULL AUTO_INCREMENT, requisition_id int(20) DEFAULT NULL, candidate_id int(20) DEFAULT NULL, candidate_name varchar(150) DEFAULT NULL, interview_id int(20) DEFAULT NULL, description varchar(500) DEFAULT NULL, createdby int(11) DEFAULT NULL, modifiedby int(11) DEFAULT NULL, createddate datetime DEFAULT NULL, modifieddate datetime DEFAULT NULL, isactive tinyint(1) DEFAULT '1', PRIMARY KEY (id) ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Thank you very much.