Configuring variables in the upload applet module

bburnett

Joined: 2008-09-03
Posts: 43
Posted: Mon, 2009-07-13 03:55

Last Run Details:
Gallery URL = http://www.thebucketdatabase.com/videos/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.7 cgi
Webserver = Apache
Database = mysqlt 5.0.45-log, lock.system=flock
Toolkits = NetPBM, Gd, Thumbnail, ImageMagick, jpegtran, ArchiveUpload
Acceleration = none, none
Operating system = Linux boscgi1701.eigbox.net 2.6.29.4 #1 SMP Mon Jun 1 13:08:14 EDT 2009 i686
Default theme = floatrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Rows in GalleryAccessMap table = 22
Rows in GalleryAccessSubscriberMap table = 30
Rows in GalleryUser table = 4
Rows in GalleryItem table = 18
Rows in GalleryAlbumItem table = 12
Rows in GalleryCacheMap table = 0

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

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Mon, 2009-07-13 04:22
Quote:
28MB in size.

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

 
bburnett

Joined: 2008-09-03
Posts: 43
Posted: Mon, 2009-07-13 04:57

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

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-07-13 05:00

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

 
bburnett

Joined: 2008-09-03
Posts: 43
Posted: Mon, 2009-07-13 05:05

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

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-07-13 05:04

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

 
bburnett

Joined: 2008-09-03
Posts: 43
Posted: Mon, 2009-07-13 05:17
nivekiam wrote:
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

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*

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-07-13 05:20

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

 
bburnett

Joined: 2008-09-03
Posts: 43
Posted: Mon, 2009-07-13 06:14

I got it finally!

Thanks guys!
You Rule!

I didn't have to bust out the 10 pound sledge hammer!