Modifying Time in Miss Punch

Topics brought up by the TimeTrex open source community.
Post Reply
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Modifying Time in Miss Punch

Post by wiki »

Hi TimeTrex Team!

When manually modifying miss punch time this message appears:

"Possible corruption detected, please contact support department (crv)"
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Modifying Time in Miss Punch

Post by shaunw »

Could you attach a copy of your includes/global.inc.php file please?
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Re: Modifying Time in Miss Punch

Post by wiki »

Sorry shaunw, this forum is now allowing to attach php file extension.

Can i rename it to other extension name?


Thanks,

WK
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Re: Modifying Time in Miss Punch

Post by wiki »

Hi shaunw !


Here's my renamed global.inc.php
global.inc.txt
global.inc.php renamed to global.inc.txt
(23.39 KiB) Downloaded 369 times
Thanks,

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

Re: Modifying Time in Miss Punch

Post by shaunw »

That file seems fine, could you attach your timetrex.ini.php file as well please?
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Re: Modifying Time in Miss Punch

Post by wiki »

Hi!

Here's my timetrex.ini.php

Code: Select all

;<?php die('Access denied...');?>
;
;
; TimeTrex Configuration File
; *Linux* Example
;
;

;
; System paths. NO TRAILING SLASHES!
;
[path]
storage_dir = "/var/timetrex/storage"
log_dir = "/var/log/timetrex"
;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 = "/icashr/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 = mysqli
;type = postgres8

host = localhost
database_name = icashr
user = timetrex
password = TimetreX2015


;
; 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 = icascalarian@gmail.com
smtp_password = ************


;
; 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 = FALSE
primary_company_id = 2
hostname = icasdecalarian.edu

;Disable or Enable Autoupgrade

; System Administrators Email address to send critical errors to if necessary. Set to FALSE to disable completely.
;system_admin_email = "icascalarian@gmail.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 = 1510f228adf9dbeeb9eba377c21a17d7


Thanks,

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

Re: Modifying Time in Miss Punch

Post by shaunw »

The files you have sent us seem fine, so I'm not sure why that error message is being triggered. Did you just recently start seeing it?
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Re: Modifying Time in Miss Punch

Post by wiki »

I cannot punch in and out anymore so i decided to reinstall from scratch using version 8.0.7
Post Reply