eTicket Community
September 02, 2010, 02:51:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to engage your customers? eTicket  will soon be incorporated into Help Center Live!, the Live Chat leader!
 
   Home   Help Search Login Register  
Quick Register
Choose username  Email                 
Verify password    Choose password 
I agree to Registration Agreement
Pages: [1]   Go Down
  Print  
Author Topic: Change/Set time  (Read 1157 times)
0 Members and 1 Guest are viewing this topic.
ibstyln
New Member
*

Karma: +0/-0
Offline Offline

Posts: 7


« on: June 24, 2009, 03:02:46 AM »


When replying to tickets the time shown is not correct.   I've already set the time zone in preferences.   When a new ticket is created the time is correct.   When replying to the ticket the time is not correct.   The time is showing 7 hours earlier.   Where can I go to fix this?

Thanks
Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #1 on: June 24, 2009, 06:19:01 AM »

I had this same problem.  I fixed it, but can't remember what changes I made.

I'm going to download the original files and compare then with what I've got so I can find where I made this change.

I usually add comment lines that explain the changes I'm making, but I didn't do it this time.  Of course. Smiley
« Last Edit: June 24, 2009, 06:24:15 AM by Hummdis » Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #2 on: June 24, 2009, 07:10:56 AM »

Okay, here are some changes....

1. inc/class.ticket.php -- Line 411: Add: ", timestamp)" to the list.  It should look like this:

Code:
$sql = "INSERT INTO " . $db_table['answers'] . " (ticket, message, rep, reference, timestamp) ";

2. inc/class.ticket.php -- Line 412: Add: ", UTC_TIMESTAMP()" in the "$sql.=" command.  It should look like this:

Code:
$sql.= "VALUES('$ticket', $sql_message, '$repid', '$refid', UTC_TIMESTAMP())";

Start there.  Let me know if that works or not.  If not, I'll keep digging for the fix I was able to achieve.
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
time zone problem Web Site Discussion amit 0 2123 Last post July 06, 2009, 11:14:54 PM
by amit
Can't change mail-setting Installation Help & Software Support jelle100 1 964 Last post October 02, 2009, 05:31:19 PM
by Hummdis
Extra Functionality - Time spent on ticket Module Development fiberwire 1 5484 Last post November 13, 2009, 04:16:10 AM
by Hummdis
prevent status change on reply Tips & Tricks splatt 1 1049 Last post February 06, 2010, 01:21:34 PM
by Hummdis
Incorrect time shown in the web interface General Discussion dnk 2 1358 Last post April 12, 2010, 07:00:04 AM
by Hummdis

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.099 seconds with 25 queries.

Google visited last this page Yesterday at 05:33:08 AM