<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Store Files on Disk</title>
        <description>This module takes care of storing file data (attachments, personal user files) on disk instead of using the database as the file storage. [b]This is an advanced module for users that have a problem with storing files in the database. Don&#039;t just do this because you read on a blog somewhere that putting files in a database is bad.[/b]

This module contains an on-the-fly conversion mechanism, which will convert files that are stored in the database to disk storage, right at the moment that they are requested. This mechanism will gradually convert the available files to the disk storage.

If you want to forcibly convert all available files to file storage, then you can use the conversion script console_convert.php that you can find in the module directory. This script&#039;s intended use it to run it from the system command prompt, using the PHP interpreter. See the module&#039;s README file for more info.

[code]
Changelog:
----------

2010-04-23 1.1.1

    - Changed the file path generation code to use gmstrftime() instead
      of strftime(). Because strftime() dependens on the server timezone,
      changing the server timezone resulted in changed file storage path
      and broken file downloads as result.

      Files will be automatically converted to the new storage path on
      access. It is possible to use the console_convert.php script
      (which is a command line script) to speed up this process.

      Note:
      The automatic conversion from the 1.1.0 release will also
      be performed, so you can upgrade directly to this release when
      coming from a pre-1.1.0 version.

2009-07-10 1.1.0

    - Modified the path that is used for storing files on disk. Before this
      version, we used a deep hashing tree, based on the MD5 sum of the
      file_id. This provided perfect distribution of the files, however it
      has made several hosting providers crazy, because their backup systems
      could not cope with the file tree traversal.
      Additionally, some Phorum owners would like to purge old stored files
      once in a while. The hashing mechanism is not ideal for doing this,
      because old and new files will be intermixed in the directories.

      The old storage path looked like:
      /path/to/store/XXX/XXX/XXX/XXX/XXX/XXX/XXX/XXX/XXX/XXX/
      (where the X-es are determined by the file_id&#039;s MD5 sum)

      The new storage path looks like:
      /path/to/store/YYYY/MMDD/HH/

      Files will be automatically converted to the new storage path on
      access. It is possible to use the console_convert.php script
      (which is a command line script) to speed up this process.

      Note that this change required some changes in the Phorum core
      as well. This means that Phorum needs to be upgraded to at least
      version 5.2.12 to be able to use version 1.1.0 of this module.

2007-09-24 1.0.1

    - Implemented more robust file writing to prevent file data loss
      on storage problems.

2007-09-15 1.0.0

    - Initial release.

[/code]</description>
        <link>https://www.phorum.org/phorum5/read.php?62,124486,124486#msg-124486</link>
        <lastBuildDate>Sat, 14 Mar 2026 02:14:55 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162457#msg-162457</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162457#msg-162457</link>
            <description><![CDATA[ It works now!<br />
Not sure why, here&#039;s what I did:<br />
1. Removed all modules which were not used, from the mods directory (all modules which were at Off).<br />
2. Turned the module Off<br />
3. Turned the module back at On.<br />
<br />
Thanks for your help!]]></description>
            <dc:creator>cactux</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 12 Jun 2020 21:04:41 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162456#msg-162456</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162456#msg-162456</link>
            <description><![CDATA[ If you turn the Store Files on Disk mod = OFF<br />
<br />
Are the files uploaded correctly?]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 12 Jun 2020 09:00:27 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162455#msg-162455</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162455#msg-162455</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Scott Finegan</strong><br />Here is a whole thread on broken images  [<a href="https://www.phorum.org/phorum5/read.php?61,154229,page=1" target="_blank" >www.phorum.org</a>]</div></blockquote>
<br />
Thanks. I&#039;ll try turning off modules to see if there&#039;s a conflict.]]></description>
            <dc:creator>cactux</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 12 Jun 2020 02:43:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162454#msg-162454</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162454#msg-162454</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Scott Finegan</strong><br />
Tidy is a Mod in the module directory.<br />
There is also a php extension tidy, which may be disabled or enabled.</div></blockquote>
<br />
They are both Off.]]></description>
            <dc:creator>cactux</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 12 Jun 2020 02:40:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162453#msg-162453</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162453#msg-162453</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />For your other suggestions:<br />
&gt; Tidy off.<br />
In the Phorum admin I checked everything, did the sanity check, database integrity, everything.<br />
Is that what you meant?</div></blockquote>
<br />
Tidy is a Mod in the module directory.<br />
There is also a php extension tidy, which may be disabled or enabled.<br />
<br />
Here is a whole thread on broken images  [<a href="https://www.phorum.org/phorum5/read.php?61,154229,page=1" target="_blank" >www.phorum.org</a>]<br />
<br />
I need to dig around for how to see the header info.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 11 Jun 2020 23:57:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162452#msg-162452</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162452#msg-162452</link>
            <description><![CDATA[ Thanks Scott.<br />
<br />
<i>&gt; Try a small file 20K, see if it works.</i> <br />
Here&#039;s what I tried: uploading 5 files of different sizes, from 10KB to 200KB.<br />
<pre class="bbcode">
local	server	ratio
200102	38217	5,236
153987	29172	5,279
100429	19005	5,284
50442	9684	5,209
20179	3853	5,237
10032	1834	5,470</pre>
Each time the size is smaller, and I calculated the ratio: always 5 something. Could this be a clue?<br />
<br />
If I run the Linux command &quot;file -i&quot; on the files, I get:<br />
1. For the original files: <b>image/jpeg; charset=binary</b>. And of course I can display them on my computer.<br />
2. For the files stored on the server: <b>application/octet-stream; charset=binary</b>. And I can not open them with any software (Gimp, etc). It seems to be a binary garbage. The first chars are the same in each, but not the same than for a JPEG file.<br />
<br />
For your other suggestions:<br />
<i>&gt; Tidy off.</i><br />
In the Phorum admin I checked everything, did the sanity check, database integrity, everything.<br />
Is that what you meant?<br />
<br />
<i>&gt; mime type has to be correct on the upload, check the header.</i><br />
How do I do that? Where?<br />
<br />
<i>&gt; Be sure time zone is set correctly. (PHP and server)</i><br />
In php.ini this parameter was commented. I set it the same than the server. Still the same pb.<br />
<br />
Thanks for your help, this is driving me crazy.]]></description>
            <dc:creator>cactux</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 11 Jun 2020 16:24:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162451#msg-162451</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162451#msg-162451</link>
            <description><![CDATA[ Tidy off.<br />
mime type has to be correct on the upload, check the header. <br />
Be sure time zone is set correctly. (PHP and server)<br />
Try a small file 20K, see if it works.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 11 Jun 2020 10:12:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162450#msg-162450</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162450#msg-162450</link>
            <description><![CDATA[ Hi,<br />
<br />
I am trying this module on my dev environment, and I have this problem: uploaded photos are smaller than original, and do not load. Max file size for attachments in Phorum settings is 250KB, much lower than in PHP settings (2M and 8M for post_max_size and upload_max_filesize).<br />
I tried to upload various JPG files, with size between 90KB and 240KB, the files written on disk have a size of 34KB to 47KB and they do not load.<br />
<br />
Any idea how to investigate? Thanks!]]></description>
            <dc:creator>cactux</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Wed, 10 Jun 2020 23:01:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162449#msg-162449</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162449#msg-162449</link>
            <description><![CDATA[ Hi,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>BryanB</strong><br />
How do we undo this module and revert back to having all the files stored in the database? Is there a script to force this back?</div></blockquote>
<br />
I just read the complete discussion looking for an answer to a question I have, and there&#039;s a message from Maurice that says no, this is not the goal of this module. It is a one way only.]]></description>
            <dc:creator>cactux</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Wed, 10 Jun 2020 22:58:05 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162388#msg-162388</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162388#msg-162388</link>
            <description><![CDATA[ How do we undo/revert this module back so the files are stored in the database rather than indexed and stored on the disk?]]></description>
            <dc:creator>BryanB</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 28 Nov 2019 08:49:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,162387#msg-162387</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,162387#msg-162387</link>
            <description><![CDATA[ How do we undo this module and revert back to having all the files stored in the database? Is there a script to force this back?]]></description>
            <dc:creator>BryanB</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 28 Nov 2019 00:18:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,156048#msg-156048</guid>
            <title>Re: Converting files that are already stored in the database without console</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,156048#msg-156048</link>
            <description><![CDATA[ Hi Pavel,<br />
<br />
I didn&#039;t look at the conversion script, but perhaps you can change it in a way that you can use it from your browser.<br />
<br />
The main problem is, that the script surely needs too much execution time. So try to rewrite the script so that it is working in small portions. <br />
<br />
Or check the script if it is possible to restart it over and over till all files a moved out of the database.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 10 Sep 2015 04:51:26 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,156047#msg-156047</guid>
            <title>Re: Converting files that are already stored in the database without console</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,156047#msg-156047</link>
            <description><![CDATA[ Ask your host to run the console program.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Wed, 09 Sep 2015 20:28:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,156046#msg-156046</guid>
            <title>Converting files that are already stored in the database without console</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,156046#msg-156046</link>
            <description><![CDATA[ Hi,<br />
 I install store_files_on_disk module and it works fine for new uploads. I have lot of files (massage attachments) stored in DB for years. I need to change a store mode because my provider setup limit for my DB size. I would like to convert all file from DB to dedicated directory within my web but I have not got console access to use the conversion script console_convert.php. I have got only ftp, PMA or standard possibilities from browser.<br />
Is there some easy way how force movement files from DB to dedicated directory which is already used for store_files_on_disk?<br />
Thanks for your help.<br />
Pavel]]></description>
            <dc:creator>paw</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Wed, 09 Sep 2015 11:58:18 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,150876#msg-150876</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,150876#msg-150876</link>
            <description><![CDATA[ Thank you very much.<br />
<br />
Frost]]></description>
            <dc:creator>frost</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Sat, 28 Jan 2012 17:43:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,150875#msg-150875</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,150875#msg-150875</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
<br />
This module contains an on-the-fly conversion mechanism, which will convert files that are stored in the database to disk storage, right at the moment that they are requested. This mechanism will gradually convert the available files to the disk storage. <br />
<br />
If you want to forcibly convert all available files to file storage, then you can use the conversion script console_convert.php that you can find in the module directory. This script&#039;s intended use it to run it from the system command prompt, using the PHP interpreter. See the module&#039;s README file for more info. </div></blockquote>]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Sat, 28 Jan 2012 17:40:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,150874#msg-150874</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,150874#msg-150874</link>
            <description><![CDATA[ Hello,<br />
a quick question: I am moving Phorum to a different server, but there is a limit on the size of the database. I have all the attachments stored in database, so that is 1.4GB of data. Is is possible to flush them out to disk using this plugin?<br />
Thanks<br />
<br />
Frost]]></description>
            <dc:creator>frost</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Sat, 28 Jan 2012 11:48:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,147812#msg-147812</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,147812#msg-147812</link>
            <description><![CDATA[ Historically, we did not have a hook documentation system. This is something that we added a while ago. All new hooks are added to the code including the new documentation blocks. For old hooks, we need to write the documentation hook by hook. That has not yet been done for all hooks.<br />
<br />
You are looking at &quot;output from this module&quot;. That is not what you want to look at. You need to hook into the file retrieval process, not into a module that takes care of alternative storage. An on-the-fly watermarking module should be independent of the way in which the files are stored on the system.<br />
<br />
The hook that you want to look into, is the &quot;file_after_retrieve&quot; hook. This one is called by the File API (well, the name kind of tells already ;-) after retrieving a file. You can find it in include/api/file.php at line 882. This is the hook that can be utilized for mangling file data before sending it to the client.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 17 Feb 2011 02:58:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,147811#msg-147811</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,147811#msg-147811</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
No, I&#039;m not to use this module to get watermarks, but the output from this module to feed to another that is supposed to generate watermarks.<br />
<br />
Yes, I&#039;ve tried that module a while ago but it&#039;s not working for me. Plus, even if it worked, it wouldn&#039;t have satisfied my needs where watermarks are generated and merged into the image files only when files are being retrieved, i.e. the files stored on the disk should be clean without watermarks, as opposed to marking the files once they&#039;re uploaded.<br />
<br />
Wondering if there&#039;s any detailed manual exposing all known hooks and apis. The existing one on the web is somewhat incomplete.<br />
<br />
Huge thanks.]]></description>
            <dc:creator>starhawk</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Wed, 16 Feb 2011 22:32:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,147801#msg-147801</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,147801#msg-147801</link>
            <description><![CDATA[ Are you using this module to get the water marks done? That would be a bad idea. Water marking should be possible when using the default database-driven file storage too.<br />
<br />
There is a <a href="http://www.phorum.org/phorum5/read.php?62,131700,131700#msg-131700" target="_blank" >water marking module</a>. You might want to look at that one. I see some reports about it not working on some releases, but I don&#039;t know to what extends the issues were local for the people that reported them.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Wed, 16 Feb 2011 00:22:20 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,147800#msg-147800</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,147800#msg-147800</link>
            <description><![CDATA[ Just tried out the module which works pretty fine for me.<br />
<br />
As I dig into the source code however. I found that the module utilizes hooks that are not documented in the developer manual. What I am looking for right now is a module that can consume the output from this one and add watermarks to image files and then output back to Phorum.<br />
<br />
Maurice, could you please instruct if there&#039;s any existing modules to adopt or, if I have to implement it myself, any hooks I&#039;d be using.<br />
<br />
I&#039;m new to Phorum. Please be as detailed as possible. Thanks.:)]]></description>
            <dc:creator>starhawk</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Tue, 15 Feb 2011 21:26:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144235#msg-144235</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144235#msg-144235</link>
            <description><![CDATA[ Released version 1.1.1 of the module.<br />
<br />
I changed the file path generation code to use gmstrftime() instead of strftime(). Because strftime() dependens on the server timezone, changing the server timezone resulted in changed file storage path and broken file downloads as result.<br />
<br />
Files will be automatically converted to the new storage path on access. It is possible to use the console_convert.php script (which is a command line script) to speed up this process.<br />
<br />
Note:<br />
The automatic conversion from the 1.1.0 release will also be performed, so you can upgrade directly to this release when coming from a pre-1.1.0 version.<br />
<br />
<b>Do I have to upgrade?</b><br />
<br />
You do not strictly have to upgrade, but it&#039;s advisable to do so, especially when you are going to move the forum to a different server (in which the timezone could differ from the timezone of the current server). When the server&#039;s timezone setting does not change, then there&#039;s no problem.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 23 Apr 2010 16:44:44 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144232#msg-144232</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144232#msg-144232</link>
            <description><![CDATA[ Only the root user on the system is allowed to change file ownership. However, the script does not have code in it to disallow access to the files when it&#039;s not owned by the correct user. As long as the files are readable for the web server, things should work.<br />
<br />
Of course, it would not hurt if the files were owned by the web server user. But if you are hosting with a hosting provider, you&#039;d have to request their support for help on making this work.<br />
<br />
If you like, I could take a peek at your system. If you want me to do that, please PM me the ftp-server and account details. Shell access would be even better, but that&#039;s normally not provided with hosting accounts. Also provide an example URL where I can see a broken image in action.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 23 Apr 2010 13:53:05 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144231#msg-144231</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144231#msg-144231</link>
            <description><![CDATA[ I tried all the possible combinations of permissions but it still does not work.<br />
I think the issue is ownership of the file.<br />
Do you see anything in the script that would preclude display of the pic if it is not owned by 99?<br />
Is it possible to change ownership of the pics to 99?]]></description>
            <dc:creator>jero01</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 23 Apr 2010 13:37:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144211#msg-144211</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144211#msg-144211</link>
            <description><![CDATA[ yes, that is an issue!<br />
try to change the permission to rwx for &quot;others&quot; as thats what the system user is for you.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 23 Apr 2010 02:42:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144208#msg-144208</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144208#msg-144208</link>
            <description><![CDATA[ Thanks Maurice<br />
I tried for an entire directory and subdirectory and all the files in there, but it still does not work.<br />
The only thing I see is that the pictures, when sent through the module, are owned by 99 (the system?) while the pictures uploaded through FTP of my backup are owned by me, the user. Could that be an issue?]]></description>
            <dc:creator>jero01</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Fri, 23 Apr 2010 01:03:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144204#msg-144204</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144204#msg-144204</link>
            <description><![CDATA[ I don&#039;t think that the version of PHP and MySQL should be a factor here. Did you check the permissions on the subdirectories and files in those subdirectories?]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 22 Apr 2010 18:12:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144203#msg-144203</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144203#msg-144203</link>
            <description><![CDATA[ Hello,<br />
<br />
Thanks for your replies.<br />
I checked on all your questions:<br />
- Module is correctly enabled.<br />
- Absolute path of the folder: nothing has changed<br />
- Permissions on the folder are read-write<br />
- I uploaded a new picture and verified that it went correctly to the directory (and not in the file_data field) and it is displaying correctly<br />
Still all previous pictures are not displaying<br />
The only point I just found out is that PHP and mysql were upgraded: could that be a factor?]]></description>
            <dc:creator>jero01</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 22 Apr 2010 15:28:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144178#msg-144178</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144178#msg-144178</link>
            <description><![CDATA[ I&#039;m guessing the permissions part. Just uploading a new tree doesn&#039;t make things fully work. The directory, subdirectories and all files in it need to be readable and writable by the web server.<br />
<br />
Another suspect would be the file storage path. If the server was exactly reconstructed or if the storage path was configured as a relative path, this should not be a problem. But if you used an absolute path, it could be that the new storage path differs from the original one. In that case, you&#039;ll have to update the module&#039;s settings.<br />
<br />
You could check what happens when you upload a new attachment to a message. If the file contents end up in the files database, then it&#039;s clear that the webserver is unable to access the file storage directory. You can check the database to see if that happens: the file_data field will be filled in that case.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 22 Apr 2010 03:49:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?62,124486,144173#msg-144173</guid>
            <title>Re: Module: Store Files on Disk</title>
            <link>https://www.phorum.org/phorum5/read.php?62,124486,144173#msg-144173</link>
            <description><![CDATA[ no permissions? no database entries? or you didn&#039;t enable the module.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.2 Modules/Add-Ons</category>
            <pubDate>Thu, 22 Apr 2010 02:19:59 -0400</pubDate>
        </item>
    </channel>
</rss>
