Windows Install - timetrex.ini.php does not exist

Ask your questions regarding TimeTrex installation here.
Locked
MichaelGoddard
Posts: 4
Joined: Thu Mar 08, 2007 2:25 pm
Location: Barbados

Windows Install - timetrex.ini.php does not exist

Post by MichaelGoddard »

I am trying to install but get the message: Config file (C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\timetrex\includes\..\timetrex.ini.php) does not exist!

I am running Windows, Apache 2.0, Pear etc. I have renamed the sample file that comes with the windows distribution and updated all the paths. I have even tried to copy the file to the \includes and \install\interface folders but still not working (yes I am refreshing the instal.php page)

Suggestions?? Much thanks.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

At a command prompt if you type:

dir C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\timetrex\includes\..\timetrex.ini.php

Does it show you the timetrex.ini.php file?
MichaelGoddard
Posts: 4
Joined: Thu Mar 08, 2007 2:25 pm
Location: Barbados

Post by MichaelGoddard »

No it does not. The path does look suspect the \..\ is odd but I can not find where that is coming from. I had a look in some of the PHP files but did not decipher them and I'm not a coder....

Simple question - what folder (relative to root) is the timetrex.ini.php supposed to be in??

Here is my timetrex.ini.php file:

;
;
; TimeTrex Configuration File
; *Windows Example*
;
;

;
; System paths. NO TRAILING SLASHES!
;
[path]
;URL to TimeTrex web root directory. ie: http://your.domain.com/<BASE_URL>
base_url = /timetrex/interface

;
;log directory
;
;log = c:\timetrex\log
log = C:\temp\timetrex

;
;Misc storage, for attachments/images
;
;storage = c:\timetrex\storage
storage = C:\temp\timetrex

;
;Full path and name to the PHP CLI Binary
;
;php_cli = c:\php\php.exe
php_cli = c:\program files\php\php.exe



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

host = localhost
database_name = timetrex
user = timetrex
password = ENTER_PASSWORD_HERE



;
; Cache settings
;
[cache]
enable = TRUE
dir = c:\temp\timetrex



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

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



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

;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
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Your timetrex.ini.php should be in this directory:

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\timetrex\

The "\..\" just means back one directory, its nothing to worry about.
Locked