PDA

View Full Version : Uploading vids


mark|3
March 11th, 2008, 09:26 AM
problem when uploading video files. It does not display the file when it's uploaded. I've enable the filetype and size but to no avail. Any help pls

thanks

Chuck S
March 11th, 2008, 09:50 AM
What product are we talking about. Most normal error is your trying to upload a video that is over your server's php max allow upload filesize. This is normally set to 2mb and you would need to alter your servers php settings to allow larger files.

mark|3
March 11th, 2008, 09:54 AM
it is photopost vbgallery. I've increased the size to 10mb in the galler. And the uploaded file is less than 3mb.

Chuck S
March 11th, 2008, 10:26 AM
Right but what I am saying is what is your server's php max upload filesize set to? This is set to 2mb filesize in a default php. You can check this under phpinfo in admin of vbulletin.

mark|3
March 11th, 2008, 10:28 AM
Thanks chuck, got a clearer picture of what's going one. thanks

Chuck S
March 11th, 2008, 10:30 AM
Not a problem glad to help.

egirl
October 15th, 2008, 02:34 AM
hi, I am trying yo upload video and having issues

The Phpinfo is as follows


upload_max_filesize 100M 100M

I am using another script in this same server/directory with no such issues videos of 100M or less upload ok.

The php.in is set for the other script (PhotoPost in same directory) as follows:

register_globals = off

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.6
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.6
zend_optimizer.version=3.2.6
zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

file_uploads = 1
post_max_size = 100M
max_input_time = -1
upload_max_filesize = 100M
===========================also have a .htacess as follows for other script in same directory as follows:

ErrorDocument 403 /index.php?do=/public/error/403/
ErrorDocument 404 /index.php?do=/public/error/404/

RewriteEngine On

RewriteCond %{REQUEST_URI} !^/file/.*
RewriteCond %{REQUEST_URI} !^/install/.*
RewriteCond %{REQUEST_URI} !^/design/.*
RewriteCond %{REQUEST_URI} !^/plugins/.*
RewriteCond %{REQUEST_URI} !^/vbforum/.*

RewriteCond %{REQUEST_URI} !^/thumbs/.*
RewriteCond %{REQUEST_URI} !^/videos/.*
RewriteCond %{REQUEST_URI} !^/flvplayer.swf
RewriteCond %{REQUEST_URI} !^/fullscreen.php
RewriteCond %{REQUEST_URI} !^/preview.php
RewriteCond %{REQUEST_URI} !^/flash_upload.php
RewriteRule ^index.php(/.*)$ /index.php?do=$1 [L]

RewriteCond %{REQUEST_URI} !^/file/.*
RewriteCond %{REQUEST_URI} !^/install/.*
RewriteCond %{REQUEST_URI} !^/design/.*
RewriteCond %{REQUEST_URI} !^/plugins/.*
RewriteCond %{REQUEST_URI} !^/vbforum/.*
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/favicon.ico

RewriteCond %{REQUEST_URI} !^/thumbs/.*
RewriteCond %{REQUEST_URI} !^/videos/.*
RewriteCond %{REQUEST_URI} !^/flvplayer.swf
RewriteCond %{REQUEST_URI} !^/fullscreen.php
RewriteCond %{REQUEST_URI} !^/preview.php
RewriteCond %{REQUEST_URI} !^/flash_upload.php
RewriteCond %{REQUEST_URI} !^/forums/.*
RewriteCond %{REQUEST_URI} !^/vgallery/.*
RewriteRule ^(.*)$ /index.php?do=/$1 [L]
=====================================

Looking at other post, I re-check admin option, was off, not on, and now I get the following error:

Corrected one setting in admin option, confirmed upload and and data file 777

Now getting the following:


Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzaTtcG' to '/home/user/public_html/mysite/mygallery/uploads/1/movie_title.wmv' in /home/user/public_html/mysite/mygallery/image-inc.php on line 56


Please advise

egirl

Chuck S
October 15th, 2008, 05:38 AM
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzaTtcG'


How about a true site link to the gallery a test login and a link to phpinfo? The error you post is usually a result of one of two things. permissions are not set to 777 at every beneath the noted directory or safe mode is on on the server which is not a good thing.

egirl
October 15th, 2008, 06:49 AM
Hi Chuck.

The issue also is photos as well as video uploads.

Upload and data files are 777.

Sub folders

Safe mode is off.

Yes, I will send info you ask for this though sir G's email address to you.

Thank you.

Chuck S
October 15th, 2008, 07:46 AM
Not a problem yep if you have an issue with everything it is a global issue and should be easy to figure out with the proper info.

egirl
October 15th, 2008, 10:29 AM
Hi,

The issue in regards to the photo upload has been resolved while the video upload issue is ongoing.

The photo upload is correct based on your instructions but did find a forward slash in data url which is now corrected. We were using Smart FTP to view files and all sub files 777 which showed 777. Finally, we when into the Cpanel side and all the folders under Upload and Data were 755. Once we changed them to 777, there was more issue that stop photo upload.

The unsupported flash player was causing a I/O error message. We turned that off and used the standard upload, and the photo upload is okay now.

On the video issue, getting timeouts, can you advise that to check as we need it to be able to upload 100 MB or less.

As stated before, other software in the same directory has no issues uploading up to 100MB.

Please advise on how to resolve time-out issue.

Thank you.

egirl

Chuck S
October 15th, 2008, 06:41 PM
If you wish to post a link to the PHP on your server I might be able to assist what you might need to change.

egirl
October 16th, 2008, 12:22 AM
Hi, here is a link to our server:

phpinfo() (http://www.hi5space.com/phpinfo.php)

Thank You

egirl

Chuck S
October 16th, 2008, 06:36 AM
well only things I would suggest are this give more memory to PHP and the timeout should be 0

memory_limit 12M
max_execution_time 12000

Any PHP timeouts are on the server. I dont go uploading 100M video's but I have successfully uploaded 40M video's before. Since our software does not process anything with a video any issues are all server side with timeouts etc and usually resolved by altering your php settings since all PHP scripts are limited to PHP settings.

egirl
October 16th, 2008, 09:13 AM
Hi Chuck,

Thank you for the response to issues raised.

Our site's main attractions (something we did not expect) seems to have focused on the video section of our site, so we accommodate with five to six minute videos.

Our hopes with Photopost with Vbulletin integration, is to enhance a video options to our site visitors to have more than one option in regards to videos, forums and photo presentations.

We think Photopost will do that for us

Yes, my site owner has requested that the memory_limit 12M
max_execution_time 12000 be increased as you suggested.

So far was able to upload 25mb, so at least we are starting to reach our goals.

Thank you so much Chuck, for all your assistance.

Kind regards

egirl

Chuck S
October 16th, 2008, 06:32 PM
Not a problem glad to assist.