File Up loader
Permalink
When I try to add a .mp4 or .mp3 using the file uploader it won't accept the files is there something I need to do to get this to work right?
I also tried to upload a .psd (Photoshop I know) But I would like to use the "file" block so that clients can download files and it will require a password.
the error that I get after about 10 mins of trying to upload is...
"Invalid form token. Please reload this form and submit again."
I also tried uploading multiple files and that doesn't seem to be working either. The error I get on this is...
"Add Files
You must install Adobe Flash to view this content."
And I updated my flash and double check it all to be working.
I also tried to upload a .psd (Photoshop I know) But I would like to use the "file" block so that clients can download files and it will require a password.
the error that I get after about 10 mins of trying to upload is...
"Invalid form token. Please reload this form and submit again."
I also tried uploading multiple files and that doesn't seem to be working either. The error I get on this is...
"Add Files
You must install Adobe Flash to view this content."
And I updated my flash and double check it all to be working.
http://www.concrete5.org/help/building_with_concrete5/installation/advanced_configuration_options
Sorry I forgot to mention that I've already done this (see below)...
Specify Valid Files for Uploading
Want to upload a particular type of file through the asset library? You can modify the list of extensions by redefining the constant UPLOAD _ FILE _ EXTENSIONS_ALLOWED. Here is the default list:
<?php define('UPLOAD_FILE_EXTENSIONS_ALLOWED',
'*.flv;*.jpg;*.gif;*.jpeg;*.docx;*.xla;*.png;*.swf;
*.doc;*.xls;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;
*.wmv;*.mpeg;*.mpg;*.wmv;*.avi;*.mp4;*.mp3;
*.qt'); ?>
Specify Valid Files for Uploading
Want to upload a particular type of file through the asset library? You can modify the list of extensions by redefining the constant UPLOAD _ FILE _ EXTENSIONS_ALLOWED. Here is the default list:
<?php define('UPLOAD_FILE_EXTENSIONS_ALLOWED',
'*.flv;*.jpg;*.gif;*.jpeg;*.docx;*.xla;*.png;*.swf;
*.doc;*.xls;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;
*.wmv;*.mpeg;*.mpg;*.wmv;*.avi;*.mp4;*.mp3;
*.qt'); ?>
If you are on something below a VPS, you probably have very small max_post_size and max_upload_size specified in the php.ini, sometimes you can change this from default depending on the host.
Mine is:
upload_max_filesize 20M
post_max_size 8M
k?
Mine is:
upload_max_filesize 20M
post_max_size 8M
k?
I got this error after adding one to the root of my website.
"An error occured while uploading your file"
And the Multiple file uploader still says that I need flash for it to work properly.
I have the php.ini files in the root directory and the files directory. All I did was copy what you send to me...
upload_max_filesize 20M
post_max_size 8M
and uploaded it to those directories. am i missing something?
"An error occured while uploading your file"
And the Multiple file uploader still says that I need flash for it to work properly.
I have the php.ini files in the root directory and the files directory. All I did was copy what you send to me...
upload_max_filesize 20M
post_max_size 8M
and uploaded it to those directories. am i missing something?