1 users online. Create an account or sign in to join them.Users

Search

I created a new section called Track to store audio files. The section has 3 fields: Title (textbox), Album (select box link), Audio File (file upload).

I then tried to create a new entry in the back end, attaching a 10mb file. Saving takes about the amount of time it should to upload a large file, and then nothing. I’m back to a blank new entry form, with no error, warning, or success message displayed. When I go back to the entry list, there is no new entry in the list.

I have successfully created new entries for other sections containing file upload fields to store images.

Am I hitting a file size or request size limit or something? If so, is there some setting I can change to increase the max size?

Am I hitting a file size or request size limit or something

Most likely yeah.

In manifest/config.php you will see a max_upload_size value somewhere near the top. This is the file size in bytes of the maximum size Symphony will allow before throwing an error.

However it sounds like your server (Apache) is configured with a lower max_upload_size itself. I think the default is usually 4MB. You can override this setting in your php.ini file, or on a per-site basis using a directive in your .htaccess file:

php_value upload_max_filesize 50M

(Sets limit to 50MB)

If that doesn’t work, you might also need to set the maximum POST size that the server will accept, but you may not need this.

php_value post_max_size 50M

Thanks, Nick. Found those settings and they are the cause.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details