Firefox PHP
Re: Module: Store Files on Disk
January 28, 2012 11:48AM
Hello,
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?
Thanks

Frost
Re: Module: Store Files on Disk
January 28, 2012 05:40PM
Quote
Maurice Makaay

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's intended use it to run it from the system command prompt, using the PHP interpreter. See the module's README file for more info.


Thomas Seifert
Re: Module: Store Files on Disk
January 28, 2012 05:43PM
Thank you very much.

Frost
paw
Converting files that are already stored in the database without console
September 09, 2015 11:58AM
Hi,
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.
Is there some easy way how force movement files from DB to dedicated directory which is already used for store_files_on_disk?
Thanks for your help.
Pavel
Re: Converting files that are already stored in the database without console
September 09, 2015 08:28PM
Ask your host to run the console program.
Re: Converting files that are already stored in the database without console
September 10, 2015 04:51AM
Hi Pavel,

I didn't look at the conversion script, but perhaps you can change it in a way that you can use it from your browser.

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.

Or check the script if it is possible to restart it over and over till all files a moved out of the database.

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Store Files on Disk
November 28, 2019 12:18AM
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?
Re: Module: Store Files on Disk
November 28, 2019 08:49AM
How do we undo/revert this module back so the files are stored in the database rather than indexed and stored on the disk?
Re: Module: Store Files on Disk
June 10, 2020 10:58PM
Hi,

Quote
BryanB
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?

I just read the complete discussion looking for an answer to a question I have, and there's a message from Maurice that says no, this is not the goal of this module. It is a one way only.

Cactus : [www.cactuspro.com]
Re: Module: Store Files on Disk
June 10, 2020 11:01PM
Hi,

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).
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.

Any idea how to investigate? Thanks!

Cactus : [www.cactuspro.com]
Sorry, only registered users may post in this forum.

Click here to login