Code Monkey home page Code Monkey logo

civihr-installer's People

Contributors

aka84 avatar aljazceru avatar davialexandre avatar deb1990 avatar hitesh-jain avatar mickadoo avatar miyanoctem avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

civihr-installer's Issues

Fatal error: Cannot use lexical variable $value as a parameter name

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

Stuck on login

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?

Errors in DB

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).

PHP Fatal error: Arrays are not allowed in class constants

After significant difficulty getting this to run, there are a couple things I had to do.

  1. I HAD to run the mysql user as Root with no password or it would fail out at the mysql stage.
  2. I had to increase the max allowed packet to 100M or it would timeout.

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?

Does it really not work on PHP 7+?

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.

upgrade civicrm core

Could we upgrade the core of civicrm after install civihr
Note:

  • civicrm 5.20 require php 7 which isn't compatible as this document mentioned

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.