Hyperspective Matt

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Hyperspective Matt replied on the discussion topic Unable to upload "large" files
    Ahhhhh... Ahhhhahhahhahaa. Going to choke someone. Ok, so when i used a <?php phpinfo;?> call, it was showing default values for all my php stuff. We have some other domains hosted that deal with transfering large files. I took a look at the... view reply
  • Hyperspective Matt replied on the discussion topic Unable to upload "large" files
    We are using Mediatemple's gridservice as a hosting platform. the files are basically any type of files. I've tried pdfs, jpgs, txt files. If they're over a 2meg size, it turns into that page thing. view reply
  • Hyperspective Matt added a new discussion topic Unable to upload "large" files in the group Elgg Technical Support
    Hi all, I have been racking my brain around trying to figure this problem out. My upload feature seems to be failling at files beyond 2MB. I've scoured the discussions and wiki and google group. I haven't really found anything that can help. My...
    • We are using Mediatemple's gridservice as a hosting platform. the files are basically any type of files. I've tried pdfs, jpgs, txt files. If they're over a 2meg size, it turns into that page thing.

    • Ok, some hosts have a place to set Php variables on the cpanel, try to change the upload limits there.

      Rodolfo Hernandez
      Arvixe/Elgg Community Liaison

    • Ahhhhh... Ahhhhahhahhahaa. Going to choke someone. Ok, so when i used a <?php phpinfo;?> call, it was showing default values for all my php stuff. We have some other domains hosted that deal with transfering large files. I took a look at the HTAccess files of that service and compared it to the one for elgg. Basically, the php_value etc. wasn't even in any IFModule tag. So I just copy and pasted our big file sizes outside as such:

      <IfModule mod_php5.c>

      # limit the maximum memory consumed by the php script to 64M

      php_value memory_limit 128M

      # register_globals is deprecated as of PHP 5.3.0 - disable it for security reasons.

      php_value register_globals 0

      # post_max_size is the maximum size of ALL the data that is POST'ed to php at a time (8 MB)

      php_value post_max_size 50M

      # upload_max_filesize is the maximum size of a single uploaded file (5 MB)

      php_value upload_max_filesize 25M

      php_value max_execution_time 300

      php_value max_input_time 300

      # on development servers, set to 1 to display errors. Set to 0 on production servers.

      php_value display_errors 0

      </IfModule>

      php_value memory_limit 2147483648

      php_value post_max_size 2147483648

      php_value upload_max_filesize 2147483648

      and it works now. Excuse me while I jump off a bridge.