install errors on linux server

Ask your questions regarding TimeTrex installation here.
Locked
anwoke8204
Posts: 13
Joined: Fri May 21, 2010 11:48 pm

install errors on linux server

Post by anwoke8204 » Sat Dec 04, 2010 12:30 am

hi, we are trying to install this on an opensuse server, doing the manual install. we create the database (mysql), and then we go to the installation page http://server/timetrex/interface/install/License.php and we get the following:

1. License Acceptance


The installer has already been run, as a safety measure it has been disabled from running again. If you are absolutely sure you want to run it again, or upgrade your system, please go to your timetrex.ini.php file and set "installer_enabled" to "TRUE". The line should look like:

"installer_enabled = TRUE"

After this change has been made, you can click the "Start" button below to begin your installation. After the installation is complete, you will want to change "installer_enabled" to "FALSE".

For help, please visit www.timetrex.com




Server response time: 20.423 seconds.
Copyright © 2010 TimeTrex. The Program is provided AS IS, without warranty. Licensed under AGPLv3.
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU Affero General Public License version 3 as published by the Free Software Foundation including the additional permission set forth in the source code header.


we we check the timetres.ini.php file and the setup is set to True but we still can't install. any ideas?

Many thanks

shaunw
Posts: 7453
Joined: Tue Sep 19, 2006 2:22 pm

Re: install errors on linux server

Post by shaunw » Sat Dec 04, 2010 12:27 pm

Either you modified the wrong timetrex.ini.php file, or you didn't set the proper setting to TRUE.

anwoke8204
Posts: 13
Joined: Fri May 21, 2010 11:48 pm

Re: install errors on linux server

Post by anwoke8204 » Sat Dec 04, 2010 6:12 pm

I have double checked it, and re-uploaded it, and its the only timetrex.ini.php file on the server, I am still getting this issue, any ideas?

shaunw
Posts: 7453
Joined: Tue Sep 19, 2006 2:22 pm

Re: install errors on linux server

Post by shaunw » Sun Dec 05, 2010 3:18 pm

Please copy and paste your entire timetrex.ini.php file here.

anwoke8204
Posts: 13
Joined: Fri May 21, 2010 11:48 pm

Re: install errors on linux server

Post by anwoke8204 » Sun Dec 05, 2010 6:18 pm

here it is


;
;
; TimeTrex Configuration File
; *Linux* Example
;
;

;
; System paths. NO TRAILING SLASHES!
;
[path]
;URL to TimeTrex web root directory. ie: http://your.domain.com/<*BASE_URL*>
;DO NOT INCLUDE http://your.domain.com, just the directory AFTER your domain
base_url = /timetrex/interface

;
;log directory
;
;Linux
log = /var/log/timetrex

;
;Misc storage, for attachments/images
;
;Linux
storage = /var/timetrex/storage

;
;Full path and name to the PHP CLI Binary
;
;Linux
php_cli = /usr/bin/php



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

host = diablo
database_name = timetrex
user = timetrex
password = *********


;
; Cache settings
;
[cache]
enable = TRUE
;Linux
dir = /tmp/timetrex



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

enable = True
enable_display = True
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

;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


































;<?php if (; //Cause parse error to hide from prying eyes, just in case. DO NOT REMOVE?>

shaunw
Posts: 7453
Joined: Tue Sep 19, 2006 2:22 pm

Re: install errors on linux server

Post by shaunw » Mon Dec 06, 2010 9:21 am

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

enable = True
enable_display = True
buffer_output = TRUE
enable_log = FALSE
Try setting production to TRUE and the rest of them to FALSE.

If that doesn't help, we're back to square one, either your modifying the wrong file or TimeTrex can't read it properly, or you have an error in the file itself. You might want to try copying the example timetrex.ini.php again and modifying just the installer_enabled setting and nothing else, to see if that works.

anwoke8204
Posts: 13
Joined: Fri May 21, 2010 11:48 pm

Re: install errors on linux server

Post by anwoke8204 » Mon Dec 06, 2010 12:36 pm

tried that, thats how the were origionally and didn't work

shaunw
Posts: 7453
Joined: Tue Sep 19, 2006 2:22 pm

Re: install errors on linux server

Post by shaunw » Mon Dec 06, 2010 12:51 pm

At this stage I'm not sure there is much more I can help you with. TimeTrex is not able to read the timetrex.ini.php file or its settings properly. Its about as simple as that.

The issue is likely outside the control of TimeTrex, as it could be a file system permission setting, it could be a security feature like AppArmor in OpenSuse that is blocking it from being read, or it could in fact be an issue with the timetrex.ini.php file itself, likely a modification that you have or have not made to it correctly. You will need to start digging a lot deeper and checking log files for hints as to what the problem is.

You could also try our automated Linux installer instead to see if that works better for you.

nidhul
Posts: 1
Joined: Tue Nov 13, 2012 6:28 am

Re: install errors on linux server

Post by nidhul » Tue Nov 13, 2012 6:46 am

Do not modify any information apart from Underlined in the "timetrex.ini.php" file. Making Changes to database entries is causing the problem.

[path]
;URL to TimeTrex web root directory. ie: http://your.domain.com/<*http://timetrex.local*>
;DO NOT INCLUDE http://your.domain.com, just the directory AFTER your domain
base_url = /timetrex/interface


;Misc storage, for attachments/images
;
;Linux
storage = /var/www/timetrex/storage

Locked