Installation Problems....................Pls can anyone help

Ask your questions regarding TimeTrex installation here.
Locked
alen
Posts: 7
Joined: Tue May 22, 2007 8:01 pm

Installation Problems....................Pls can anyone help

Post by alen »

hi guys,

im still new with web applications like web server, apache , php and mysql.

so i used XAMMP for windows which install and configures apache, php and mysql. i have run it and my webserver is already working. then i tried to install TIMETREX but it has the errors :

Warning: Error parsing C:\xampp\htdocs\dtr\includes\..\timetrex.ini.php on line 1 in C:\xampp\htdocs\dtr\includes\global.inc.php on line 48

Fatal error: Non-static method DateTime::setTimezone() cannot be called statically in C:\xampp\htdocs\dtr\includes\global.inc.php on line 169

what do i need to do with this?
the versions are:

TimeTrex_Standard_Edition_v1.1.0_2
Apache 2.2
PHP 5.2.1
MYSQL 5.0.37
Microsoft Windows XP Pro SP2

i want to try this with my Biometric Fingerprint, thats why im tring to install this..

thank you so much.

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

Post by shaunw »

Warning: Error parsing C:\xampp\htdocs\dtr\includes\..\timetrex.ini.php on line 1 in C:\xampp\htdocs\dtr\includes\global.inc.php on line 48
That tells me that you have an error in your timetrex.ini.php file, on line 1.

Can you post your full timetrex.ini.php file here? Please blank out the passwords though.
alen
Posts: 7
Joined: Tue May 22, 2007 8:01 pm

my timetrex.ini file

Post by alen »

;
;
; TimeTrex Configuration File
;
;

;
; 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
;
;Linux
log = /var/log/timetrex
;Windows
;log = c:\timetrex\log

;
;Misc storage, for attachments/images
;
;Linux
storage = /var/timetrex/storage
;Windows
;storage = c:\timetrex\storage

;
;Full path and name to the PHP CLI Binary
;
;Linux
php_cli = /usr/bin/php
;Windows
;php_cli = c:\php\php.exe



;
; Database connection settings. These can be set from the installer.
;
[database]
type = mysql
host = localhost
database_name = time
user = root
password =



;
; Cache settings
;
[cache]
enable = TRUE
;Linux
dir = /tmp/timetrex
;Windows
;dir = c:\temp\timetrex



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

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



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

;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


































;<? if (; //Cause parse error to hide from prying eyes, just in case. DO NOT REMOVE?>
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

TimeTrex_Standard_Edition_v1.1.0_2
This is an extremely old version of TimeTrex, have you tried downloading v1.6.6 and trying it?
alen
Posts: 7
Joined: Tue May 22, 2007 8:01 pm

Post by alen »

ok i will try sir and post it here if it runs..........

thank you............
alen
Posts: 7
Joined: Tue May 22, 2007 8:01 pm

Post by alen »

sir i still have this error:

Warning: Error parsing C:\xampp\htdocs\dtr\includes\..\timetrex.ini.php on line 1 in C:\xampp\htdocs\dtr\includes\global.inc.php on line 53

im using timetrex verion 1.6.6
and my timetrex.ini is:



;
;
; TimeTrex Configuration File
; *Windows 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
;
log = c:\timetrex\log

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

;
;Full path and name to the PHP CLI Binary
;
php_cli = c:\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 = FALSE
enable_display = FALSE
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


































;<? if (; //Cause parse error to hide from prying eyes, just in case. DO NOT REMOVE?>
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

I can only think of two things being the issue:

1. You aren't actually running PHP v5.2.1.

2. There is something in your timetrex.ini.php file on line 1 that isn't showing up when you post it here that is causing the problem.


What happens if you simply copy one of the example .ini files and use it without making any modifications whatsoever?
alen
Posts: 7
Joined: Tue May 22, 2007 8:01 pm

Post by alen »

im running php 5.2
Image

i will try running it with the default ini file.
alen
Posts: 7
Joined: Tue May 22, 2007 8:01 pm

Post by alen »

now using the default ini file..................

still having this error:

Warning: Error parsing C:\www\htdocs\TimeTrex\includes\..\timetrex.ini.php on line 1 in C:\www\htdocs\TimeTrex\includes\global.inc.php on line 53

i really dont know what to do......................................
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

I'm not too sure either, this is strange.

Can you try a different version of XAMPP or manually installing PHP 5.2.2 without XAMPP? Its possible there is a PHP bug, but I don't recall anyone else having a similar issue.

If that doesn't work, the only thing I can suggest is to purchase our Installation Support and have one of us install it for you. If you are interested in this option you can contact sales@timetrex.com.
ranjeet.cse.iitd
Posts: 1
Joined: Thu Jun 07, 2007 11:03 am
Location: INDIA

XAMPP Installation

Post by ranjeet.cse.iitd »

Hey

I am new to this XAMPP thing and I need help from you guys.I have installed my XAMPP version 1.6.2 beta 4 on my window XP os and it seems that it has been installed successfully but the thing is I am not able to use PHP using compiler...

Is there anything you guys can suggest me....that would certainly be a great help to me.

Thanks!
Thanks!
Locked