Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st May 2013, 08:46
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default [BUG] Set Now in Autoresponder does not set month

Hi guys,

while (still) troubleshooting why the autoresponder is not working, I saw the problem, that AR_SetNow() JS Function does not seem to set the month right.

Whyever it sets everything else right, just the month keeps staying at November (why in the world November?!)

Does anybody else experience the same problem with ispconfig 3.0.5.2?

EDIT:
------
Does also anybody now where to set the timezone for ispconfig itself? Servertimezone: UTC +2 (CEST), ISPConfig adds additional to hours to the selected timerange in the autoresponder, which is wrong (or there should be a label that time shall be ginven in UTC)...


Ben

Last edited by Ben; 31st May 2013 at 08:48.
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2013, 08:59
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

AR is working looks like it was a timing issue.

To sum it up:

- Bug in AR_SetDate() or subfunction which does not set the month (correct)
- Timestmap set in .autoresponder are wrong, sets servertime + timezone (so it does not consider the server's time timezone) (Verfied on the console with date -d @<TIMESTAMPHERE>)
Reply With Quote
  #3  
Old 31st May 2013, 09:36
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,452
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

Quote:
Does also anybody now where to set the timezone for ispconfig itself?
/usr/local/ispconfig/server/lib/config.inc.php

and

/usr/local/ispconfig/interface/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 31st May 2013, 10:22
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
 
Default

Hi Till,

thanks, so at least the timezone issue is solved for now. So there is just the bug left regarding the month.

EDIT:
Seems that this bug comes anywhere from the jquery, either not really able to select the right month or to just not refresh the pullwond, eventhough all others work fine, just the month ones are affected.
At first i thought that the problem might be the integer conversion as the months are set with a leading zero. But this wasn't the case.
Strange for me is, debugging the selected value of the month fields, the response is fine, also when setting it manually, e.g. to "10". But the display won't change at all...
Just as hints for further troubleshooting.

Last edited by Ben; 31st May 2013 at 11:05.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clamav-daemon status failed ! sawa73 Server Operation 14 16th March 2013 09:13
Bug with autoresponder? dcy Installation/Configuration 2 2nd July 2012 10:16
setup-swraid1-on-a-running-lvm-system-ubuntu-10.04 - SDB dont boot but SDA yes lucho115 HOWTO-Related Questions 11 20th June 2011 17:22
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51
Empty Recycle Bin jon335 General 40 6th May 2006 11:56


All times are GMT +2. The time now is 16:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.