Configuring variables in the upload applet module
|
bburnett
Joined: 2008-09-03
Posts: 43 |
Posted: Mon, 2009-07-13 03:55
|
|
Last Run Details: http://thebucketdatabase.com/videos http://thebucketdatabase.com/videos/phpinfo.php I researched about 40 some odd pages before posting this and I could not find an answer. I cannot upload a video clip with the .wmv extension that is 28MB in size. It completes the upload, and then begins uploading it again, except now the estimated time is running in the minus??? Do I need to convert the video to a .mov extension for Quicktime or do I need to configure variables in the upload applet module? Thanks,bburnet |
|

Posts: 22890
I think most upload methods with this size of item will have issues.
Go with the from local server/ftp method.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 43
I tried that using the URL below, but I could not create a correct directory to upload items to
http://codex.gallery2.org/Gallery2:How_to_Add_Items#How_to_Add_Items_from_the_Local_Server_.28or_with_FTP.29
based upon my directory/URL information in my first post, what would be a good directory to create?
I tried /tmp but it does not see the video file?
Thanks Floridave
bburnett
Posts: 16503
upload_max_filesize = 10M
I'm not 100% about the upload applet, but I'm pretty sure that it's still uploading through PHP, so you'll never be able to upload a 28MB file. As for the other behavior you're seeing, maybe the upload applet doesn't deal with that sort of error elegantly.
but you should be able to import a 28MB file if you FTP the file to the server, then use the Add From Local server method if you have the Add Items plugin installed:
http://codex.gallery2.org/Gallery2:How_to_Add_Items#How_to_Add_Items_from_the_Local_Server_.28or_with_FTP.29
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 43
I tried that using the URL below, but I could not create a correct directory to upload items to
http://codex.gallery2.org/Gallery2:How_to_Add_Items#How_to_Add_Items_from_the_Local_Server_.28or_with_FTP.29
based upon my directory/URL information in my first post, what would be a good directory to create?
I tried /tmp but it does not see the video file? I'm just tired and stuck maybe I need a break...
Thanks nivekiam
bburnett
Posts: 16503
Guess I should have refreshed the page before posting
As for a path, I'd put it above your webroot, but you may need to put it in your webroot
For example my upload directory is in:
/var/www/UserName/upload
and my site is:
/var/www/UserName/www
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 43
so for me, my new directory to upload videos would be??? (above or in the webroot)
/var/www.thebucketdatabase.com/videos/bburnett/upload OR /var/public_html/videos/bburnett/upload
why is there a www after your username where you say your site is?
Thank nivekiam
bburnett
*I'm very tired and I apologize if I don't fully understand your post, but I'm one step away so I can't give up now*
Posts: 16503
That's because that's where I have my site configured to be.
/var/www/UserName/www = www.kevinnehls.com & kevinnehls.com (web accessible)
/var/www/UserName/photos = photos.kevinnehls.com (web accessible)
/var/www/UserName/g2dir = my g2data directory (not web accessible)
/var/www/UserName/upload = my upload directory (not web accessible)
It doesn't matter where you put it as long as you know the full path to it and your web server can read from it. I just make sure my upload dir isn't web accessible because I don't want it web accessible.
If you host sites at several different shared hosts, and you'll see that not a single one of them is setup the same, not a one. Everyone uses a different directory structure or naming scheme or something.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 43
I got it finally!
Thanks guys!
You Rule!
I didn't have to bust out the 10 pound sledge hammer!