<?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 Submission Form goes to white page.</title>
		<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Event Submission Form goes to white page.</description>
		<language>en-US</language>
		<pubDate>Wed, 29 Apr 2026 08:47:10 +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-submission-form-goes-to-white-page" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Event Submission Form goes to white page."</title>
			<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page#post-29398</link>
			<pubDate>Wed, 21 May 2014 09:35:10 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">29398@http://www.themolitor.com/forums/</guid>
			<description><p>Woohoo! Glad we got this figured out :-) </p>
<p>I'll be submitting an update with these changes in case other users have this issue.</p>
<p>If you're enjoying the theme, PLEASE don't forget to rate it on your downloads page on ThemeForest. Positive ratings REALLY help me out.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Desdichata on "Event Submission Form goes to white page."</title>
			<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page#post-29396</link>
			<pubDate>Wed, 21 May 2014 09:21:17 +0000</pubDate>
			<dc:creator>Desdichata</dc:creator>
			<guid isPermaLink="false">29396@http://www.themolitor.com/forums/</guid>
			<description><p>Chris it worked like a charm. Thanks for all your help. I will be leaving you a glowing review. Thanks again.</p>
<p>alan
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Event Submission Form goes to white page."</title>
			<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page#post-29389</link>
			<pubDate>Wed, 21 May 2014 08:49:24 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">29389@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>It sounds like you have debug mode turned on for your WordPress install. You shouldn't be seeing messages like that by default.</p>
<p>In any case, I see where that's coming from. Open up post-form.php and change the following on lines 79-89 from this... </p>
<pre><code>if ($_FILES) {
    foreach ($_FILES as $file =&#62; $array) {
    	if ($_FILES[$file][&#039;error&#039;] !== UPLOAD_ERR_OK) {
    		return &#34;upload error : &#34; . $_FILES[$file][&#039;error&#039;];
    	}
    	$attach_id = media_handle_upload($file, $post_id);
    }
}
if ($attach_id &#62; 0){
    update_post_meta($post_id,&#039;_thumbnail_id&#039;,$attach_id);
}</code></pre>
<p>...to this...</p>
<pre><code>if ($_FILES[&#039;thumbnail&#039;][&#039;size&#039;] &#62; 0) {
    foreach ($_FILES as $file =&#62; $array) {
    	if ($_FILES[$file][&#039;error&#039;] !== UPLOAD_ERR_OK) {
    		return &#34;upload error : &#34; . $_FILES[$file][&#039;error&#039;];
    	}
    	$attach_id = media_handle_upload($file, $post_id);
    }
    if ($attach_id &#62; 0){
    	update_post_meta($post_id,&#039;_thumbnail_id&#039;,$attach_id);
    }
}</code></pre>
<p>Let me know if that clears any error messages you see.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Desdichata on "Event Submission Form goes to white page."</title>
			<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page#post-29386</link>
			<pubDate>Tue, 20 May 2014 17:14:53 +0000</pubDate>
			<dc:creator>Desdichata</dc:creator>
			<guid isPermaLink="false">29386@http://www.themolitor.com/forums/</guid>
			<description><p>Appreciate all your effort Chris. </p>
<p>Okay if I submit an image with the post it works fine. I made the change you suggested and that works to too but it causes this message to appear at the top of the site.  Notice: Undefined variable: attach_id in /home/upwestb/public_html/upwestevents.com/wp-content/themes/eventure/post-form.php on line 87
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Event Submission Form goes to white page."</title>
			<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page#post-29383</link>
			<pubDate>Tue, 20 May 2014 13:46:58 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">29383@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>I think I found it. Try this...</p>
<p>Open post-form.php and change the following on line 79 from this...</p>
<pre><code>if ($_FILES) {</code></pre>
<p>...to this...</p>
<pre><code>if ($_FILES[&#039;thumbnail&#039;][&#039;size&#039;] &#62; 0) {</code></pre>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Desdichata on "Event Submission Form goes to white page."</title>
			<link>http://www.themolitor.com/forums/topic/event-submission-form-goes-to-white-page#post-29308</link>
			<pubDate>Sat, 17 May 2014 08:38:25 +0000</pubDate>
			<dc:creator>Desdichata</dc:creator>
			<guid isPermaLink="false">29308@http://www.themolitor.com/forums/</guid>
			<description><p>When an event is submitted, it is added to posts but there is no e-mail notification. Also when an event is submitted the person submitting the event is taken to a white page. My site is <a href="http://www.upwestevents.com" rel="nofollow">http://www.upwestevents.com</a> I have set the permalinks to month and name and all the plugins are deactivated.
</p></description>
		</item>

	</channel>
</rss>
