<?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: Upload path returning error</title>
		<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error</link>
		<description>Gravity Support Forums Topic: Upload path returning error</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:46:07 +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/upload-path-returning-error" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-43609</link>
			<pubDate>Sat, 10 Dec 2011 02:45:25 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43609@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for sharing your experience ideaboxx
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-43542</link>
			<pubDate>Fri, 09 Dec 2011 08:16:10 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">43542@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Not sure if you've solved this, but i've had this problem too and it relates to what Chris Hajer said.&#60;/p&#62;
&#60;p&#62;From what i've found when Gravity Forms creates its own directory it does so using the server so it has the correct, server owned status. (Probably called 'nobody' - this is actually the server).&#60;/p&#62;
&#60;p&#62;When you create your own new directory, you'll need to CHOWN the directory from the command line of the server itself so that the server (apache or 'nobody') is the owner of the directory. This should then allow the owner (the server) to write to this directory.&#60;/p&#62;
&#60;p&#62;The Permissions will probably also need to be set to either 755, 775, or 777 (once you've assigned the ownership of the new directory, try the permissions in this order until you find one that works - 775 works for me).&#60;/p&#62;
&#60;p&#62;Hope this helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-38368</link>
			<pubDate>Wed, 19 Oct 2011 17:14:59 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38368@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Without access to logs, it's going to be difficult to see why it's failing.  So, we would just be guessing.  There can be security restrictions on the user that runs WordPress or the web server, or ownership problems.  The directory permissions are pretty open, so I don't think that's it.  Can you contact someone at your host to help you locate the logs?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>windycitynews on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-38323</link>
			<pubDate>Wed, 19 Oct 2011 13:13:17 +0000</pubDate>
			<dc:creator>windycitynews</dc:creator>
			<guid isPermaLink="false">38323@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;anyone have any suggestions?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>windycitynews on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-38225</link>
			<pubDate>Tue, 18 Oct 2011 15:49:23 +0000</pubDate>
			<dc:creator>windycitynews</dc:creator>
			<guid isPermaLink="false">38225@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes I created the directory it has permissions of 755 and i also tried 777. I dont have access to any server logs I cant seem to find them on my server.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-38141</link>
			<pubDate>Mon, 17 Oct 2011 23:43:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38141@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've had this exact issue in the past, and it was the ownership of the directory.  This is going to be related to the server configuration, and what user writes the files and what user owns the directories.&#60;/p&#62;
&#60;p&#62;Does the pics directory exist?  What are the permissions and ownership of the directory?&#60;/p&#62;
&#60;p&#62;Also, do you have access to any sort of web server logs that might point to the reason for the permission errors?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>windycitynews on "Upload path returning error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/upload-path-returning-error#post-38115</link>
			<pubDate>Mon, 17 Oct 2011 20:08:46 +0000</pubDate>
			<dc:creator>windycitynews</dc:creator>
			<guid isPermaLink="false">38115@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;im trying to change the path for uploading and I keep getting these 2 errors.&#60;/p&#62;
&#60;p&#62;this happens after the script is done loading the file using ajax.&#60;br /&#62;
Warning: Missing argument 2 for change_upload_path() &#60;/p&#62;
&#60;p&#62;then it redirects to the post and I get this error where my picture is suppose to be.&#60;br /&#62;
&#38;lt;img src=&#34;FAILED (Upload folder could not be created.)&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;and this is the code im using...&#60;br /&#62;
add_filter(&#34;gform_upload_path_2&#34;, &#34;change_upload_path&#34;, 10, 2);&#60;br /&#62;
function change_upload_path($path_info, $form_id){&#60;br /&#62;
   $path_info[&#34;path&#34;] = &#34;/public_html/pics&#34;;&#60;br /&#62;
   $path_info[&#34;url&#34;] = &#34;http://www.mysite.com/pics/&#34;;&#60;br /&#62;
   return $path_info;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;I dont know but ive tried many different ways and I keep getting those errors. And I have both files on 755
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
