Clipshare Script Idiot Proof Setup And Error Solving Tutorial

Clipshare Script Idiot Proof Setup And Error Solving Tutorial

By:


ClipShare in my opinion is the premiere video sharing php script available to the end user. If you are going to implement the software you should buy the ClipShare Pro version (current edition as of this writing is v3.15).

ClipShare is a super script, although the designers of the software are a pod of ragtag hackers from Eastern Europe. Their customer service level is horrible. I took me days to get response from their help desk and when I did (2 days) the only thing they did was break my server. Their customer forum is not much better. It takes ad infinitum to get green lighted into the member area and most of the incidental information is omitted and the buyers are screaming about lack of service. So if you buy or ahem, "obtain" this software you are on your own.

Fortunately you found this guide which hopefully will be your salvation.

First you need a server with these specs: (ask your hosting company if your server meets specs)

Linux Server (some old distributions are not supported
Apache Web Server
MySQL (version 4 +)
PHP 4 or 5
PHP Configuration
safe_mode = off
max_execution_time = 1000 (recommended to prevent timeouts during video upload/conversion)
session.gc_maxlifetime = 14000 (recommended to prevent session expires during video upload)
open_basedir = (no value)
output_buffering = on
upload_max_filesize = 100M (recommended maximum video upload size in MB)
post_max_size = 100M (recommended maximum video upload size in MB)
GD Library 2 or higher
Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
Flv2tool (http://inlet-media.de/flvtool2)
Libogg + Libvorbis (http://www.xiph.org/downloads)
LAME MP3 Encoder (http://lame.sourceforge.net)
CGI-BIN Access
Apache mod_rewrite Enabled
PHP Configuration (php.ini): register_argc_argv = On
Must be able to run PHP from the command line (CLI) with exec()
Allowed execution of background processes with exec("binary > /dev/null &")

If you don't know what the above bare necessities mean and have no experience in Linux and PHP implementation, all is not lost. There are many qualified technicians that can preconfigure your server for ClipShare. The setup of your server is too complicated to take on in this manual. So if you don't know how, get a pro!

We will us assume your server is flawlessly setup, you can pay ClipShare (not recommended), or a good tech to setup the ClipShare software for you. Be ready to cough up $25-75 for the work.

Can you do this by yourself? Yes, but most people will have problems with the setup.

This is the base ClipShare instructions:

1. Edit /upload/cgi-bin/ubr_upload.pl in a text editor, and change the path to (where you will install the script)/tmp/uploader/

2. Edit /upload/include/config.local.php in a text editor and set $config'BASE_URL' and the database credentials.

3. Optional: Edit /upload/include/language.php to remove / add language files

4. Upload the contents (only the contents, not the folder itself) of the /upload folder on your server, in BINARY mode

5. Set write permissions (chmod 777) to the following folders:

/flvideo
/video
/thumb
/chimg
/photo
/tmp
/tmp/logs
/tmp/sessions
/tmp/thumbs
/tmp/uploader
/cache/templates_c

6. Set execute permissions (chmod 755) to /cgi-bin and /cgi-bin/ubr_upload.pl

7. Build a database and database user. Import the database dump from /sql/clipshare.sql with phpmyadmin

8. Go to your ClipShare Administration Panel at http://www.yourdomain.com/siteadmin/

Default admin user / password: admin / admin

- Change the admin user / password !!

- Change the site name, email, meta keywords, description, etc

- Optional: change different settings

- Create video channels

- Add your ads

- You can ascertain if all requirements and configurations are Ok on the "System Check" page

Many site hosters complete the above and still have ClipShare issues.

You most likely still have the grim "ERROR: Failed to find flength file"

Always check the current path in /cgi-bin/ubr_upload.pl

Like: /home/cpaneluser/public_html/tmp/uploader/

This being wrongly configured is often is the issue.

IMPORTANT! If you install ClipShare on a sub-folder such as:

/home/cpaneluser/public_html/clipsharevideo/tmp/uploader/

Your url for this instance would be:

http://www.yourdomain.com/clipsharevideo

The folder and file /cgi-bin/ubr_upload.pl need to be in the root directory:
/home/cpaneluser/public_html/cgi-bin/ubr_upload.pl

and NOT: /home/cpaneluser/public_html/clipsharevideo/cgi-bin/ubr_upload.pl)

This small error cost me hours of trouble shooting.

And one other common failure is due to the permissions not being set correctly (particularly the ubr_upload.pl file needs to be (chmod 755), not the default (chmod 644).

There are plenty of configurations that can go South, due to this amateurishly documented software, but with a little guidence you can have your video application up working like a charm.

You can feel free to email me for for some guidance at MicroPirates.net. I can also lead you to good paid trouble shooters and excellent server suppliers who offer all the ClipShare prerequisites.

Talk to you soon!


About the Author:


Buccaneer Dan
MicroPirates.net
Our ClipShare site is VPirates.com

Buccaneer Dan a former infamous Atari Pirate back in the day and is now an expert in the area of web hosting and frequently sets up dedicated servers for clients . Read more about Wordpress at his website http://www.micropirates.com



Article Originally Published On: http://www.articlesnatch.com


|

Loading...
Related....
Videos...

Recent Software Articles

Comments

Still can't find what you are looking for? Search for it!

Loading

Copyright 2005-2011 ArticleSnatch, LLC - All Rights Reserved.
Privacy Policy | Terms of Service.