ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Very large installation problem

August 22, 2011 11:46am

Subscribe [2]
  • #1 / Aug 22, 2011 11:46am

    the jan

    30 posts

    Hi,

    I’m currently supporting a very large EE installtion and I’m running into two problems.


    1) All uploads of one type are placed in one folder on the server (ext3 limit of 32,000 files/sub-folders per folder). For example: If I create a folder for file uploads all files are placed directly in that folder, if I use thumb generation the file limit is basically reduced to 16,000 files. Solution: Place entry files in a subfolder, like /uploads/gallery/[entry_id]/[files]. This would really help me and I could place at least 32,000 entries without file upload problems - any other solution would give me more freedom. I’ve seen very large PHP software installations which use a nested trees model to store files.

    [late addition: another solution could be to do this WordPress style, place all uploads to a specific upload directory in [year]/[month]/[file] style.]

    2) The website is for a book archive and the channel entry form contains around 60 entry fields (all standard EE2 + 1 Channel Images + 1 hidden custom developed form field which generates a unique book id) which are used to save detailed bibliographical data. Saving an entry with 60 fields required me to raise the PHP memory limit to 500mb. I don’t really know the cause of this, but it requires me to host the website on a custom configured server.

    Again, this is a large installation but such problems should be considered for future development.

    Thanks,
    Jan

  • #2 / Aug 22, 2011 9:53pm

    Dan Decker

    7338 posts

    the jan,

    You can use ExpressionEngine’s File Manager to setup upload directories however you desire. Directories can be sorted in any fashion you like below the web root. You can even restrict upload directories available to Channel Fields according to your preference. Hope this helps ExpressionEngine better suit your needs.

    Cheers,

  • #3 / Aug 22, 2011 10:22pm

    the jan

    30 posts

    Hi Dan,

    this is the solution I’m currently using. I now created a second Gallery field which is associated with a different upload directory. But know I have to tell everyone to use File Upload/Gallery Field 2. I still think this is a design problem. It would be great to have the option to organize the file upload directories WP style, if needed.

    Regards,
    Jan

  • #4 / Aug 22, 2011 11:21pm

    Dan Decker

    7338 posts

    Jan,

    I happy you were able to get File Manager to better suit your needs, but I get the sense that something still isn’t satisfactory for you? I hate that you are having to explain a different workflow to your users. Are both upload destinations required to be tied to the same Channel/Channel Field? I’m hoping there are some features of the File Manage that I can show you that might better serve your workflow.

    Thanks for choosing ExpressionEngine!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases