Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th November 2005, 16:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default Info *** UebiMiau Mail with 64bit Time/Date Problem

(Thanks to mphayesuk for this tip! )

Ok If you are using a 64bit system this is what you will need to do in order to make the time and date work on the web interface to Ubeimiau.

Go to this file:

home/admispconfig/ispconfig/web/webmail/smarty/smarty.addons.php

and find the function smarty_make_timestamp($string)

Code:
if(empty($string)) {
$string = "now";
} else if(is_numeric($string)) {
return (int)$string;
}
$time = strtotime($string);
if(is_numeric($time) && $time != -1
return $time;
You need to add in the code in red above into the function and that should make the webmail time and date look right.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2006, 14:55
wboerendans wboerendans is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

We have the same problem... the time is 2 hours later. But we haven't a 64 bits system...but a 32 bit system.

I look to the file....

home/admispconfig/ispconfig/web/webmail/smarty/smarty.addons.php

but this file is not on my system.... Is there another file or solution?

Greetz, Wim
Reply With Quote
  #3  
Old 29th September 2006, 14:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Do you use Uebimiau or one of the other webmail packages?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
mail problem Mahir Installation/Configuration 16 24th April 2007 20:22
Info *** UebiMiau Mail with 64bit Time/Date Problem mphayesuk General 2 27th November 2005 15:00
mail problem Mahir Installation/Configuration 1 11th November 2005 12:57
Bind stops and cannot be restarted after a slave domain is added jason Installation/Configuration 20 19th August 2005 08:16


All times are GMT +2. The time now is 08:13.


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