Page 1 of 1

Errors during install

Posted: Sat Oct 29, 2016 1:26 pm
by mike77fz
Hi All,

Hope someone can help. I'm getting a few errors during installation. I was able to solve some by installing some php and apache packages. but here is what I have left. In addition to the below, after clicking to accept the license terms, I receive a pop up stating "Local Cache has expired"

Any assistance would be greatly appreciated.
Running Ubuntu 16.04

Thank you,
Mike

Timetrex: unable to check latest version
PHP Version: OK (v7.0.8-0ubuntu0.16.04.3)

PHP Requirements

Detailed Error Messages

PHP CLI Requirements Output:
----WARNING----WARNING----WARNING-----
--------------------------------------
Minimum PHP Requirements are NOT met!!
--------------------------------------
Failed Requirements: ZIP I run apt-get to install zip but it says latest version is already installed
--------------------------------------
PHP INI: /etc/php/7.0/cli/php.ini
Process Owner: www-data
--------------------------------------
Failed Requirements: Require,ZIP,WConfigFile,WCacheDir,WStorageDir,WLogDir
Not writable: /var/www/html/timetrex/classes/modules/install/../../../README.txt


the timetrex.ini.php file contents are basically original

;
; Database connection settings. These can be set from the installer.
;
[database]
type = mysqli
;type = postgres8

host = localhost
database_name = timetrex
user = timetrex
password = "password"
;
; Email delivery settings.
;
[mail]
;Least setup, deliver email through TimeTrex's email relay via SOAP (HTTP port 80)
delivery_method = soap

;Deliver email through local sendmail command specified in php.ini
;delivery_method = mail

;Deliver email through remote SMTP server with the following settings.
;delivery_method = smtp
;smtp_host=smtp.gmail.com
;smtp_port=587
;smtp_username=timetrex@gmail.com
;smtp_password=testpass123
;
; Cache settings
;
[cache]
enable = TRUE
;Linux
dir = /tmp/timetrex

[debug]
;Set to false if you're debugging
production = TRUE

enable = FALSE
enable_display = FALSE
buffer_output = TRUE
enable_log = FALSE
verbosity = 10

[other]
; Force all clients to use SSL.
force_ssl = FALSE
installer_enabled = TRUE
primary_company_id = 0
hostname = localhost

; System Administrators Email address to send critical errors to if necessary. Set to FALSE to disable completely.
;system_admin_email = "sysadmin@mydomain.com"

default_interface = html5

;WARNING: DO NOT CHANGE THIS AFTER YOU HAVE INSTALLED TIMETREX.
;If you do it will cause all your passwords to become invalid,
;and you may lose access to some encrypted data.
salt = 0

Re: Errors during install

Posted: Mon Oct 31, 2016 11:14 am
by shaunw
The Local Cache issue is usually related to a server failure or having PHP's display errors enabled, which corrupts data sent between the server and the web browser.

Either way though, you need to install the PHP-ZIP extension, and make sure the timetrex.ini.php, as well as the CacheDir, StorageDir and LogDir specified in that file are writable by the web server user.