<?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: File upload submission gives PHP errors</title>
		<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors</link>
		<description>Gravity Support Forums Topic: File upload submission gives PHP errors</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 16:16:55 +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/file-upload-submission-gives-php-errors" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "File upload submission gives PHP errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors#post-60227</link>
			<pubDate>Thu, 24 May 2012 09:11:33 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">60227@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think you would want template_url instead of stylesheet_url for your bloginfo call, but otherwise it looks fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vdpgo on "File upload submission gives PHP errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors#post-60224</link>
			<pubDate>Thu, 24 May 2012 09:07:54 +0000</pubDate>
			<dc:creator>vdpgo</dc:creator>
			<guid isPermaLink="false">60224@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanx David, I'll try. And can you give me any feedback on the code in my &#34;change_upload_path&#34;-function? Are the elements filled correctly ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "File upload submission gives PHP errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors#post-60215</link>
			<pubDate>Thu, 24 May 2012 08:41:31 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">60215@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It is a server permissions issue. Seems you are limited in where you are allowed to put files. Contact your web host regarding what you are trying to do and they should be able to help you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vdpgo on "File upload submission gives PHP errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors#post-60213</link>
			<pubDate>Thu, 24 May 2012 08:24:52 +0000</pubDate>
			<dc:creator>vdpgo</dc:creator>
			<guid isPermaLink="false">60213@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have the same errors, after trying to change the upload-directory of a form. &#60;/p&#62;
&#60;p&#62;add_filter(&#34;gform_upload_path_2&#34;, &#34;change_upload_path&#34;);&#60;br /&#62;
function change_upload_path($path_info){&#60;br /&#62;
     $path_info[&#34;path&#34;] = &#34;/webcontent/wp-content/themes/vib/images/profielimages/&#34;;&#60;br /&#62;
     $path_info[&#34;url&#34;] = get_bloginfo('stylesheet_directory').&#34;/images/profielimages/&#34;;&#60;br /&#62;
return $path_info;&#60;br /&#62;
}&#60;br /&#62;
I am confused of why I must give a &#34;path&#34; and a &#34;url&#34;. I hardcoded the &#34;path&#34; because I was desperate (where does it begin - this &#34;path&#34;-entry and what is it used for?) The uploading was ok, before I wanted to change the path_name, so I was thinking that this was not a server problem. I DO want the images of this form to be located in this specific directory. Do you still think it is a server problem? The directory is already existing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "File upload submission gives PHP errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors#post-60179</link>
			<pubDate>Wed, 23 May 2012 21:18:58 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">60179@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This isn't a Gravity Forms issue, but a server one. Check out this post for more details:&#60;br /&#62;
&#60;a href=&#34;http://www.mydigitallife.info/php-scripts-open_basedir-restriction-in-effect-error/&#34; rel=&#34;nofollow&#34;&#62;http://www.mydigitallife.info/php-scripts-open_basedir-restriction-in-effect-error/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jsros86 on "File upload submission gives PHP errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-submission-gives-php-errors#post-60168</link>
			<pubDate>Wed, 23 May 2012 17:57:45 +0000</pubDate>
			<dc:creator>jsros86</dc:creator>
			<guid isPermaLink="false">60168@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When submitting with an image attached via a file upload field, I get the following errors: It &#34;submits&#34; successfully, but with no image attached.&#60;/p&#62;
&#60;p&#62;Any thoughts or insights?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-includes/functions.php on line 2104

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-includes/functions.php on line 2095

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-includes/functions.php on line 2104

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-includes/functions.php on line 2104

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-includes/functions.php on line 2095

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-includes/functions.php on line 2104

Warning: copy(FAILED (Upload folder could not be created.)) [function.copy]: failed to open stream: No such file or directory in /nfs/c09/h04/mnt/140452/domains/productionlocations.com/html/wp-content/plugins/gravityforms/forms_model.php on line 1871&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
