login problem

Ask your questions regarding TimeTrex installation here.
Locked
elias
Posts: 8
Joined: Tue Dec 12, 2006 9:45 pm

login problem

Post by elias »

hi. i installed the timetrex 1.4.0 Beta 1 and when i reached the login.php page i entered the username and password (administrator user name and password)but i could not login it is remaining in the same page and not showing any error message.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: login problem

Post by shaunw »

elias wrote:hi. i installed the timetrex 1.4.0 Beta 1 and when i reached the login.php page i entered the username and password (administrator user name and password)but i could not login it is remaining in the same page and not showing any error message.
In your timetrex.ini.php file, what is base_url set to?

When you are at the TimeTrex login page, what is the full URL in your browsers address bar?
elias
Posts: 8
Joined: Tue Dec 12, 2006 9:45 pm

RE:

Post by elias »

this is the base_url in the ini file

base_url = http://localhost/TimeTrex/interface


and this is the URL of the application
http://localhost/TimeTrex/interface/Login.php
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: RE:

Post by shaunw »

elias wrote:this is the base_url in the ini file

base_url = http://localhost/TimeTrex/interface


and this is the URL of the application
http://localhost/TimeTrex/interface/Login.php
Your base_url should be just:

/TimeTrex
elias
Posts: 8
Joined: Tue Dec 12, 2006 9:45 pm

Post by elias »

i changed the base_url= /TimeTrex as you mentioned and i tried to log in again. now the login page is appearing without any picture it seems that the url is not matching the correct path.

please find below the timetrex.ini.php file

and advise what is the problem
thankd


;




;
; 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

;http://localhost/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:\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 = root
password = dfhhkj



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



[debug]
;Set to false if youre 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 = FALSE

;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 = 778985c686705db975a630d181f4f3ff


































;<? 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 »

In your browser right-click on the image that isn't loading and view the properties to get the full image path so you can see why it isn't loading.
elias
Posts: 8
Joined: Tue Dec 12, 2006 9:45 pm

Post by elias »

ok i fixed the url issue

now i am getting this error message when saving the employee information

WARNING: TimeTrex was unable to set your time zone. Please contact your TimeTrex administrator immediately.
WARNING: TimeTrex maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.


what is the reason behind those messages ?

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

Post by shaunw »

elias wrote:ok i fixed the url issue

now i am getting this error message when saving the employee information

WARNING: TimeTrex was unable to set your time zone. Please contact your TimeTrex administrator immediately.
WARNING: TimeTrex maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.


what is the reason behind those messages ?

thanks
Please explain what you did to fix the image issue, that way others can learn from your experience.

As for the other issues take a look at this:

http://forums.timetrex.com/viewtopic.php?t=40

And start a new thread for each new issue.
elias
Posts: 8
Joined: Tue Dec 12, 2006 9:45 pm

Post by elias »

what i did is i changed the base url

base_url= /TimeTrex/interface

with this configuration it works because images is under interface folder
Locked