<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.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>Gravity Support Forums Topic: Warning message after form submission when using gform_upload_path</title>
		<link>https://legacy.forums.gravityhelp.com/topic/bug-warning-message-after-postform-submission</link>
		<description>Gravity Support Forums Topic: Warning message after form submission when using gform_upload_path</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 11:27:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/bug-warning-message-after-postform-submission" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Warning message after form submission when using gform_upload_path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-warning-message-after-postform-submission#post-41952</link>
			<pubDate>Tue, 22 Nov 2011 23:50:08 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">41952@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;sascha, please start a new topic with your new question.  It's unrelated to the original problem.  Reference this topic if it's important to reference the code you're using. Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "Warning message after form submission when using gform_upload_path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-warning-message-after-postform-submission#post-41940</link>
			<pubDate>Tue, 22 Nov 2011 22:31:28 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">41940@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry guys,&#60;br /&#62;
all my mistake! Cannot believe I wasted a whole day on this..... Works great now though and I'm glad it's nothing major!&#60;/p&#62;
&#60;p&#62;Any ideas on how to pull the &#34;Post Title&#34; (when submitting a post with GF)  to use in this function I would be very happy!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "Warning message after form submission when using gform_upload_path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-warning-message-after-postform-submission#post-41934</link>
			<pubDate>Tue, 22 Nov 2011 20:39:23 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">41934@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi again,&#60;br /&#62;
I have tried it on a clean install WP and latest GF. Same error, this time on line: 1692&#60;/p&#62;
&#60;p&#62;Maybe that helps....&#60;br /&#62;
Really would love to get that filter working again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "Warning message after form submission when using gform_upload_path"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-warning-message-after-postform-submission#post-41932</link>
			<pubDate>Tue, 22 Nov 2011 20:08:17 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">41932@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I get the following message ONLY if I use the gform_upload_path filter:&#60;/p&#62;
&#60;p&#62;Warning: copy(http://www.landwire.de/gf_submissions/test/additional-image-sizes-zui.0.1.7.zip) [function.copy]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/www/web116/html/landwire/wp-content/plugins/gravityforms/forms_model.php on line 1669&#60;/p&#62;
&#60;p&#62;My code looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_upload_path&#38;quot;, &#38;quot;change_upload_path&#38;quot;, 10, 2);
function change_upload_path($path_info, $form_id) {
	$path_info[&#38;quot;path&#38;quot;] = &#38;quot;/home/www/web116/html/landwire/gf_submissions/test/&#38;quot;;
	$path_info[&#38;quot;url&#38;quot;] = &#38;quot;http://www.landwire.de/gf_submissions/test/&#38;quot;;
        return $path_info;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Funny thing is, that the files get copied ok to the directory. They are there and work ok. BUT the post image does not show up on the entry, when you view the entries under forms. Neither is it set as a featured image in the post. On another form without post title/featured image, there is no warning message and everything works great. But on both forms I get a 404 when I click on the file under entries:&#60;/p&#62;
&#60;p&#62;Not Found&#60;/p&#62;
&#60;p&#62;The requested URL /gf_submissions/paranut/additional-image-sizes-zui.0.1.7.zip was not found on this server.&#60;/p&#62;
&#60;p&#62;When I do not use the filter everything works fine.&#60;br /&#62;
Any help is greatly appreciated!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
