Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-17 02:06:08

cnewkirk
Plugin Author
From: Bakersfield, Ca
Registered: 2006-01-04
Posts: 21

Textpattern seems to be a day behind.

Ok, this is my first post here. And my first Textpattern site. So hopefully I’m not overlooking something obvious, like a Date preference or something, but…

Every date in Textpattern is 1 day behind. When I go to the Content -> Write, the date shows 2006-03-15, but today is the 16th. The time is correct. I’m not sure where to look on this one. I thought maybe the server’s clock is wrong, but it is correct in the diagnostics. Here’s what the diagnostic says:

<code>
Textpattern version: 4.0.3 (r1188)
last_update: 2006-01-06 00:53:29/2006-01-06 00:53:18
Document root: /home/tsbf/tsbfonline.org (/home/.inventor/tsbf/tsbfonline.org)
$path_to_site: /home/.inventor/tsbf/tsbfonline.org
Textpattern path: /home/.inventor/tsbf/tsbfonline.org/textpattern
Permanent link mode: section_title
Temp folder: /home/.inventor/tsbf/tsbfonline.org/textpattern/tmp
Site URL: www.tsbfonline.org
PHP version: 5.1.2
server_time: 2006-03-16 18:03:59
MySQL: 4.1.15-standard-log
Locale: en_US.UTF-8
Server: Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e
php_sapi_mode: cgi-fcgi
os_version: Linux 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189

.htaccess file contents:
————————————
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ – [L]
</IfModule>
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php

</IfModule>

#php_value register_globals 0

————————————
</code>

Any ideas?

Offline

#2 2006-03-17 02:33:35

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Textpattern seems to be a day behind.

What are your timezone and daylight savings settings?

Offline

#3 2006-03-17 02:35:30

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Textpattern seems to be a day behind.

What is your Time Zone set to, in admin > prefs?

Can you tell us what your server’s time zone is? (You should be able to work it out from the server_time in diagnostics)


Alex

Offline

#4 2006-03-17 05:49:26

cnewkirk
Plugin Author
From: Bakersfield, Ca
Registered: 2006-01-04
Posts: 21

Re: Textpattern seems to be a day behind.

Thanks for the replies.

Both my server and I are in the Pacific Standard Time Zone (GMT -8) – which is how it is set in the preferences.

Offline

#5 2006-03-17 16:18:29

cnewkirk
Plugin Author
From: Bakersfield, Ca
Registered: 2006-01-04
Posts: 21

Re: Textpattern seems to be a day behind.

Well, Thanks for the help….

It seems to have cleared itself up. I really can’t explain it. I know I’m not crazy, because I had to go back and change the dates on all of my calendar entries.

Maybe my database server needed to be rebooted or something…

Offline

#6 2006-10-17 06:59:32

M_i
Member
Registered: 2006-03-05
Posts: 122

Re: Textpattern seems to be a day behind.

I seem to be having the same problem: Textpattern is a day behind.

My server is on Pacific time, and I’d like my textpattern installations to run on GMT. Which they do in away, that it, the time is correct, but Textpattern thinks it’s yesterday.

I have a couple of other installations running on the same server (a forum, photo album, etc), and they all display the time just fine.

Any ideas?

Edit: Never mind, it resolved itself… I hope.

Last edited by M_i (2006-10-17 07:27:29)

Offline

#7 2006-10-17 07:33:34

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textpattern seems to be a day behind.

If you’re using Textpattern 4.0.3, you may want to upgrade to 4.0.4 when it is released today or later this week, because it fixes at least one timezone bug.

Offline

#8 2006-10-17 08:08:30

M_i
Member
Registered: 2006-03-05
Posts: 122

Re: Textpattern seems to be a day behind.

ruud wrote:

If you’re using Textpattern 4.0.3, you may want to upgrade to 4.0.4 when it is released today or later this week, because it fixes at least one timezone bug.

Thanks, I’ll do that (for at least 3 of my 4 textpattern sites.. the forth is so heavily altered that it’s probably not worth the trouble, at least not this week ;))

Offline

Board footer

Powered by FluxBB