Start your own video sharing site

Your own Open Source, Developer Friendly, video-sharing community

vShare youtube clone script

Upgrading vShare v1 to V2

vShare v2 need Zend Optimizer installed on your server, before you start, make sure Zend Optimizer is installed on your server. You will be able to see this in phpinfo.

This version do not support audio upload and payment option. Check vShare 2 demo at http://video.bizhat.com before upgrade. There can be bugs, we are working on fixing bugs, adding new features, if you found any bug report it at http://forums.buyscripts.in/.

Step 1: - Take backup of all your files and database. If you accidently deleted any of the required files, you can use the backup to restore.

Step 2: - Download latest version of vShare and unzip it.

Step 3: - Now you need to upload files to your web server. You need to upload all files in BINARY mode. You don't have to upload following folders as they contain data uploded by users.

video
flvideo
thumb
chimg
templates_c

NOTE: these folders contain video, so do not delete them from server. If you do, restore it from backup you done on Step 1. If you don't take backup, your data is lost.

You don't have to upload the folder install to the server as you are not doing fresh install.

Step 4: - Delete the folder siteadmin from your server.

Step 5: - After all files are uploaded, you need to upgrade MySQL database. To do this, run the SQL file install/vshare-upgrade-1-2.sql

There is change in table adv. Upgrade will delete your existing table, so take a copy of your existing advertisement codes.

Step 6: - Now you need to update include/config.php file. Create a file with following content


error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
session_start();

$db_host     = "localhost";
$db_name     = "vshare";
$db_user     = "vshare";
$db_pass     = "PASSWORD";


$config = array();

$config['ffmpeg']          =  "/usr/local/bin/ffmpeg";
$config['mplayer']          =  "/usr/bin/mplayer";
$config['mencoder']          =  "/usr/bin/mencoder";
$config['flvtool']          =  "/usr/bin/flvtool2";
$config['basedir']        =  "/home/video/public_html";
$config['baseurl']        =  "http://video.bizhat.com";

include("vshare.php");

Update the file with your MySQL server details, also correct the paths.

Step 7: - If you have any problem, ask in support forum at http://forums.buyscripts.in.

Step 8: - Now you will be able to login to admin area at http://yourdomain.extn/admin/ with your existing admin login details.


HostOnNet.com can upgrade your vShare v1 installation to v2 for $5.



Back