hello i am missing file install/vshare-upgrade-1-2.sql also in step sixx it says Step 6: - Now you need to update include/config.php file. Create a file with following content but there is no content to refer to. thanks
hello i am missing file install/vshare-upgrade-1-2.sql also in step sixx it says Step 6: - Now you need to update include/config.php file. Create a file with following content but there is no content to refer to. thanks
Try downloading again, version uploded on 8 May have
install/vshare-upgrade-1-2.sql
and sample config.php is available as config.php.txt in install folder, rename it to config.php and change the values of database, path, site url, etc...
config.php
Code:<? 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"); ?>
Fatal error: main() [function.require]: Failed opening required '/home/video/public_html/include/smarty/libs/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/yourautoshow/theshow/include/vshare.php on line 31
You need to enter correct path in your config.php
/home/video/public_html/include/smarty/libs/Smarty.class.php
Is this your path ? This is default path in the config.php sample, replace it with your web site path.
If you are using CPANEL control panel, it will be some thing like
/home/YOUR-FTP-USER-NAME/public_html
Is this when you install vshare as main site, if you use a sub folder, it will like
/home/YOUR-FTP-USER-NAME/public_html/SUB-FOLDER-NAME
i changed the link in config.php take a look at this http://yourautoshow.com/theshow/
Can you post content of your config.php after removing MySQL login details ?
This is exactly how it is in config.php i didnt change anything except for where you see the url in $config i left everything else as is
<?
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/username/public_html/yourautoshow/theshow/";
$config['baseurl'] = "/home/username/public_html/yourautoshow/theshow";
include("vshare.php");
?>
Change baseurl and basedir lines as follows.
$config['basedir'] = "/home/luxuscom/public_html/yourautoshow/theshow";
$config['baseurl'] = "http://yourautoshow.com/theshow";
thanks that worked
Bookmarks