Firefox PHP

Module: Store Files on Disk

Posted by Maurice Makaay 
Re: Module: Store Files on Disk
January 28, 2012 05:48PM
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 11: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
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Store Files on Disk
January 28, 2012 11:43PM
Thank you very much.

Frost
paw
Converting files that are already stored in the database without console
September 09, 2015 05:58PM
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 10, 2015 02:28AM
Ask your host to run the console program.
Re: Converting files that are already stored in the database without console
September 10, 2015 10: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.21)
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.
Sorry, only registered users may post in this forum.

Click here to login