<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Event Expired Early</title>
		<link>http://www.themolitor.com/forums/topic/event-expired-early</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Event Expired Early</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 23:31:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/event-expired-early" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32233</link>
			<pubDate>Thu, 18 Dec 2014 14:07:59 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">32233@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks for following up!</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>gfrblxt on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32228</link>
			<pubDate>Wed, 17 Dec 2014 16:43:14 +0000</pubDate>
			<dc:creator>gfrblxt</dc:creator>
			<guid isPermaLink="false">32228@http://www.themolitor.com/forums/</guid>
			<description><p>Actually, this (the one statement at top) is all that is needed. Hope this helps.<br />
<pre><code>&#60;?php
date_default_timezone_set(&#039;America/Los_Angeles&#039;);
?&#62;</code></pre></description>
		</item>
		<item>
			<title>gfrblxt on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32227</link>
			<pubDate>Wed, 17 Dec 2014 16:39:17 +0000</pubDate>
			<dc:creator>gfrblxt</dc:creator>
			<guid isPermaLink="false">32227@http://www.themolitor.com/forums/</guid>
			<description><p>OK, I believe I've fixed this by adding the following code to the top of calendar.php, single.php, and archive.php.</p>
<pre><code>&#60;?php
date_default_timezone_set(&#039;America/Los_Angeles&#039;);

$script_tz = date_default_timezone_get();

if (strcmp($script_tz, ini_get(&#039;date.timezone&#039;))){
    echo &#039;Script timezone differs from ini-set timezone.&#039;;
} else {
    echo &#039;Script timezone and ini-set timezone match.&#039;;
}
?&#62;</code></pre></description>
		</item>
		<item>
			<title>gfrblxt on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32226</link>
			<pubDate>Wed, 17 Dec 2014 16:24:37 +0000</pubDate>
			<dc:creator>gfrblxt</dc:creator>
			<guid isPermaLink="false">32226@http://www.themolitor.com/forums/</guid>
			<description><p>Dang, it just happened again... <a href="http://www.thecinemabar.com/events/movingpictures/" rel="nofollow">http://www.thecinemabar.com/events/movingpictures/</a>
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32225</link>
			<pubDate>Wed, 17 Dec 2014 13:56:19 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">32225@http://www.themolitor.com/forums/</guid>
			<description><p>Sounds good. Keep me posted.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>gfrblxt on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32223</link>
			<pubDate>Wed, 17 Dec 2014 13:20:24 +0000</pubDate>
			<dc:creator>gfrblxt</dc:creator>
			<guid isPermaLink="false">32223@http://www.themolitor.com/forums/</guid>
			<description><p>Thank you Chris.  I like the fact that events stay active til the next day. I double-checked the Wordpress time and it's correct; re-entered it just to confirm. After googling around a bit I also put the following line in my .htaccess file in the webroot:</p>
<p>SetEnv TZ America/Los_Angeles</p>
<p>So far tonight's event has not expired, even when I changed the time to an hour from now. If the problem re-occurs I'll let you know (maybe there's a line of php I can put in the top of the calendar and archive files to override the server time), but I'm crossing my fingers that this is resolved.</p>
<p>Thanks for the quick reply!
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32214</link>
			<pubDate>Wed, 17 Dec 2014 10:05:22 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">32214@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Hmm... That's odd. The theme is setup to detect if the day has expired (not just by the hour), so the post should stay active until the next day.</p>
<p>I see you mentioned the timezone settings are correct. Of course the first thing I would suggest is to double-check that just one more time to make sure it's correct.</p>
<p>I did a quick Google search and found a response to what might be the issue you're having...</p>
<blockquote><p>
The problem is not in your WordPress installation, nor is it a problem with plugins. The source of the date/time information is the machine/server your WordPress installation is running on. Also, the server's time may not necessarily be in synch with the database server time.</p>
<p>You can let your host know that the time on your WordPress timezone setting is not being reflected properly which may indicate that the setting of the server's time may be incorrect.
</p></blockquote>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>gfrblxt on "Event Expired Early"</title>
			<link>http://www.themolitor.com/forums/topic/event-expired-early#post-32205</link>
			<pubDate>Tue, 16 Dec 2014 16:25:04 +0000</pubDate>
			<dc:creator>gfrblxt</dc:creator>
			<guid isPermaLink="false">32205@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there.  An event taking place over 4.5 hours from now has expired.  I have confirmed the timezone settings are correct in wordpress.  The expired event is here: <a href="http://www.thecinemabar.com/live-music/dornenandthedramedy/" rel="nofollow">http://www.thecinemabar.com/live-music/dornenandthedramedy/</a></p>
<p>Looking at any of the other future events, the countdown clock is accurate to the second, so the time zone is reading fine on those event pages. Any idea what is causing the events to expire early?  Thanks much for a great theme.
</p></description>
		</item>

	</channel>
</rss>
