<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: PHP errors - File Upload.</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: PHP errors - File Upload.</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 20:37:28 +0000</pubDate>

<item>
<title>yuniar on "PHP errors - File Upload."</title>
<link>https://www.machform.com/forums/topic/php-errors-file-upload#post-16335</link>
<pubDate>Tue, 30 Oct 2012 14:12:02 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">16335@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That error message is coming from &#34;delete_file_upload.php&#34; file. Most likely, some search engine bot found the link and tried to index/open it periodically.&#60;/p&#62;
&#60;p&#62;It won't do any harm, because the bot doesn't have valid token to delete any file. However, the script shouldn't be that verbose and display all those error messages either. It should simply respond with this message (without any error logging to the PHP log file):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{&#38;quot;status&#38;quot;:&#38;quot;error&#38;quot;}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I have updated the code within that file with some extra checking to avoid those messages. Please contact us directly and I'll send you the updated file. Thank you for reporting this. This will be included as part of v3.4 update.
&#60;/p&#62;</description>
</item>
<item>
<title>Steve1951 on "PHP errors - File Upload."</title>
<link>https://www.machform.com/forums/topic/php-errors-file-upload#post-16332</link>
<pubDate>Tue, 30 Oct 2012 02:16:25 +0000</pubDate>
<dc:creator>Steve1951</dc:creator>
<guid isPermaLink="false">16332@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Periodically I notice this error message in my logs.  I receive no other error messages.  It happens every week or so.  Everything seems to operate OK otherwise.  I do not have File Upload enabled for any of my forms.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/home3/removed/public_html/sample.org/machform/error_log:
[29-Oct-2012 13:25:37] PHP Warning: file(./data/form_0/files/listfile_.php) [&#38;lt;a href=&#38;#39;function.file&#38;#39;&#38;gt;function.file&#38;lt;/a&#38;gt;]: failed to open stream: No such file or directory in /home3/removed/public_html/sample.org/machform/delete_file_upload.php on line 123
[29-Oct-2012 13:25:37] PHP Warning: Invalid argument supplied for foreach() in /home3/removed/public_html/sample.org/machform/delete_file_upload.php on line 125
[29-Oct-2012 13:25:37] PHP Warning: file_put_contents(./data/form_0/files/listfile_.php) [&#38;lt;a href=&#38;#39;function.file-put-contents&#38;#39;&#38;gt;function.file-put-contents&#38;lt;/a&#38;gt;]: failed to open stream: No such file or directory in /home3/removed/public_html/sample.org/machform/delete_file_upload.php on line 137&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Machform Version: 3.3&#60;br /&#62;
PHP version: 5.2.17&#60;br /&#62;
OS: linux&#60;br /&#62;
Apache Version: 2.2.23&#60;/p&#62;
&#60;p&#62;I have removed (changed) my account name and domain name in the error message.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
