Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

TWG Flash uploader - Not allowed File-Extension: mov.
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=1625
Page 1 of 1

Author:  t.powley [ 13. Aug 2008, 13:31 ]
Post subject:  TWG Flash uploader - Not allowed File-Extension: mov.

I am having trouble uploading mov files to twg. Every time i try to upload a .mov file i get the error:

Not allowed File-Extension: mov.

Also mov files are not shown in the 'Allowed file Types' so i have to select 'All files' when I click on, 'Add file' Is there anyway that I can correct this.

Thank you in advanced.

T Powley

Also is it possible to move files within the TWG Flash uploader folder, if not will it be avalible in a future version.

Author:  TinyWebGallery [ 13. Aug 2008, 15:37 ]
Post subject: 

You should just configure it.

$admin_user_allowed_file_extensions

add mov.

And moving/copy files is supported by TFU. But you need a professional license to enable this. Be aware that if you copy/move files e.g. the counter/comments are not moved.

You might read this howto: http://www.tinywebgallery.com/en/faq.php#h35

/Michael

Author:  t.powley [ 13. Aug 2008, 16:34 ]
Post subject: 

Hi thanks for the reply,

This is my 'my_config.php'
Code:
$admin_user_allowed_file_extensions=array("mov");
$activate_lightbox_image=true;
$use_ffmpeg=true;
$ffmpeg_path='/usr/bin/ffmpeg';
$ffmpeg_time=2;
$ffmpeg_delete_src_after_convert=false;
$ffmpeg_extensions=array("mov","flv","avi","divx","mpg","mpeg","wmv");
$video_php_x_default=600;
$video_php_y_default=480;
$video_autodetect = false;

This will now allow me to upload the .mov file but gives me the following error in the TWG Flash Uploader once it has uploaded: Error : http - 500 and it is not saved into the directory upload folder.


If I try to add other extensions as well:
Code:
$admin_user_allowed_file_extensions=array("mov","avi");

I cannot upload either .avi or .mov files

Just to let you know, I do not have a problem with .avi files uploading and converting to .flv files and grabbing a thumbnail, when I remove the $admin_user_allowed_file_extensions from my 'my_config.php'


Does the Standard Edition License - 10 EUR (Which I have purchased) for TWG unlock all the features of TFU. Or do I need to purchase a Professional License for TFU separately to enable the move/copy features of TFU, if so how much will it cost?
(we do not use the comments and also the counter is not too important for what we need, but thank you for letting me know.)

Thank you,

T Powley

Author:  TinyWebGallery [ 13. Aug 2008, 16:48 ]
Post subject: 

Why are you using an array? there is no array in my settings ...

e.g.
$admin_user_allowed_file_extensions='jpg,jpeg,gif,png,txt,avi,flv,mpg,mpeg,divx,pdf,wmv,mov';

The standard license of TWG unlocks the features of the standard license TFU because it's the same license.
And the professional license enables the professional features of TFU like described on the website. You can easily upgrade if you like.

Normally the professional features are not used inside TWG. Therefore I don't have this registration type on the TWG registration page (only on the TFU registration page).

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/