compucorp / civihr-installer Goto Github PK
View Code? Open in Web Editor NEWCiviHR Installation Script
CiviHR Installation Script
Hello,
i got the following error when installing CiviHR.
I did everything according to the manual, no DB password and civihr was not installed in the root dir. I am using XAMPP on Mac.
Added role civihr_admin role to civihr_admin [success]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
The block settings have been updated. [status]
Array
(
[is_error] => 0
[version] => 3
[count] => 1
[id] => 6
[values] => Array
(
[0] => Array
(
[id] => 6
[name] => Personal
[display_name] => Personal
[vcard_name] => PERSONAL
[description] => Place of Residence
[is_reserved] =>
[is_active] => 1
[is_default] =>
)
)
)
Array
(
[is_error] => 0
[version] => 3
[count] => 1
[values] => 1
)
PHP Fatal error: Cannot use lexical variable $value as a parameter name in /path/to/civihr/sites/all/modules/contrib/webform/components/select.inc on line 762
Fatal error: Cannot use lexical variable $value as a parameter name in /path/to/civihr/sites/all/modules/contrib/webform/components/select.inc on line 762
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot use lexical variable $value as a parameter name in
/path/to/civihr/sites/all/modules/contrib/webform/components/select.inc,
line 762
Hi,
I've followed the stated steps as you mentioned it on local machine and modified the apache conf file and correct the DNS.
when I'm trying to login with given password after installation finished it reload login page.
Is there anything you could help me with it?
Error output from web view:
Cannot create database views: API (HRAbsenceType, get) does not exist (join the API team and implement it!)
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'civihr.civicrm_value_length_of_service_11' doesn't exist: CREATE VIEW civicrm_value_length_of_service_11 AS SELECT id, entity_id, length_of_service FROM civihr.civicrm_value_length_of_service_11; Array ( ) in _rebuild_length_of_service_view() (line 413 of /var/www/html/forms/civihr-installer/civihr/sites/all/modules/civihr-custom/civihr_employee_portal/civihr_employee_portal.module).
Errors in installation script:
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'civihr.civicrm_value_length_of_service_11' doesn't exist: CREATE VIEW [error]
civicrm_value_length_of_service_11 AS
SELECT id, entity_id, length_of_service
FROM civihr.civicrm_value_length_of_service_11; Array
(
)
in _rebuild_length_of_service_view() (line 413 of
/var/www/html/forms/civihr-installer/civihr/sites/all/modules/civihr-custom/civihr_employee_portal/civihr_employee_portal.module).
Drush command terminated abnormally due to an unrecoverable error. [error]
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'civihr.civicrm_value_length_of_service_11' doesn't exist: CREATE VIEW civicrm_value_length_of_service_11 AS
SELECT id, entity_id, length_of_service
FROM civihr.civicrm_value_length_of_service_11; Array
(
)
in _rebuild_length_of_service_view() (line 413 of /var/www/html/forms/civihr-installer/civihr/sites/all/modules/civihr-custom/civihr_employee_portal/civihr_employee_portal.module).
After significant difficulty getting this to run, there are a couple things I had to do.
I finally got into the site and the first connection failed. Second it loaded and I logged in and got "/oboardingform is not found"
Finally after running updates, I got the following:
mod_fcgid: stderr: PHP Fatal error: Arrays are not allowed in class constants in public_html/sites/all/modules/civihr-contrib-required/yoti/sdk/Yoti/YotiClient.php on line 35
Id really like to self host civihr, but so far having lots of difficulty. Any insights?
Is this true? CIviHR won't run on PHP7.x? Or just the install script?
PHP 5.6 - the last v5 release reached EOL over a year ago!
This is should be a deal breaker for any sensible person.
What are the issues stopping a move to PHP 7 - is there a list anywhere?
In general this project doesn't look like its being developed very much - is that accurate?
Don't want to install this and suggest my employer uses it if it's moribund.
Could we upgrade the core of civicrm after install civihr
Note:
DB host could be different from localhost
need review and test by the community
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.