Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing problems
09-16-2011, 05:10 PM,
#11
RE: Installing problems
OK I made the changes on the shared server in Cpanel, tested it, it seems to be working allright there, can u tell me what to do next to get it to work in my own site?
Reply
09-17-2011, 04:07 AM,
#12
RE: Installing problems
Copy all the files (exactly as they are) to your server and don't change anything except the $WEB_SERVICE_URL in config.php. It should work, if not, something is blocking the script on your server. It may be a security setting that is different from default settings.

You can also point your DNS to the temporary server (you got the nameserver info) and test if it works on your domain (modify $WEB_SERVICE_URL on the temporary server). After it works, just copy everything and change the DNS back. In this case do not edit anything after moving back leave files as they are.
I love video chat!
Reply
09-24-2011, 09:21 AM,
#13
RE: Installing problems
Hi - attempting to upgrade from 5.4 to latest version. Basically I want to remove the nickname screen or at least have it a) with a black background and b) make it work. Right now if you type in a nickname it just has a clock icon permanently.

Any tips on a) what we need to do to make it work or if not, b) how to not have that name page?

Thanks!

Andrew
Reply
09-24-2011, 02:08 PM, (This post was last modified: 09-24-2011, 02:11 PM by RVC Video Chat.)
#14
RE: Installing problems
in /jabbercam/config.php
PHP Code:
LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username valuestrue or false)
$CAMERA_REQUIRED true;                // 'true' or 'false'
$LOGIN_SCREEN_ENABLE true;            // 'true' or 'false' (you may use login.php instead RVC 5.1+)
$SOCIAL_BUTTONS_LOGIN_SCREEN true;    // 'true' or 'false' 

Set LOGIN_SCREEN_ENABLE to false.

About the hangup, it could be the WEB_SERVICE_URL or DEVELOPER_KEY, post your config.php here (without database password!)
also PM your domain or make sure WEB_SERVICE_URL look like this:
PHP Code:
$WEB_SERVICE_URL "http://www.YOUR-DOMAIN.com/jabbercam/functions.php"
and you have SERVER_TYPE set to "Stratus" with a valid DEVELOPER_KEY
PHP Code:
/* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
$SERVER_TYPE 'Stratus';                                            // 'Red5 or 'Stratus'
/* if Stratus */
$DEVELOPER_KEY "ADOBE_CIRRUS_KEY";                                // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum)
/* if Red5 */ 
Reply
09-25-2011, 12:54 AM,
#15
RE: Installing problems
Thanks a lot! Here is my Config.

<?php

/**
* Configuration file for CRC 5.0+
* You may want to edit /jabbercam/language/lang_??.ini
* Help: http://www.videosoftware.pro/forum/FORUM-Documentation-Quickstart-and-How-To
*/

// Room #
$room = 1;

// Back-en location (exact location of functions.php on your domain | http://www.your-domain.com/[folder]/jabbercam/functions.php
$WEB_SERVICE_URL = "http://www.theparentschannel.com/room{$room}/jabbercam/functions.php"; // http://www.your-domain.com/jabbercam/functions.php

// Database configuration for Stratus
$DB_HOST = "XXXXXXXXXX"; //database host (server)
$DB_USER = "XXXXXXXXXX"; //database username
$DB_PASSWORD = "XXXXXXXXXX"; //database password
$DB_DATABASE = "XXXXXXXXXX"; //database name


// Optional database configuration for Red5, used to install database tables (for Red5 database configuration read INSTALL.txt)
$RED5_DB_HOST = "localhost"; //database host (server)
$RED5_DB_USER = "dbuser"; //database username
$RED5_DB_PASSWORD = "dbpassword"; //database password
$RED5_DB_DATABASE = "databasename"; //database name

// Flash media server settings (rtmfp or rtmp | values: Stratus or Red5)
$SERVER_TYPE = 'Stratus'; // 'Red5 or 'Stratus'

if($SERVER_TYPE == 'Red5') {
$DB_HOST = $RED5_DB_HOST;
$DB_USER = $RED5_DB_USER;
$DB_PASSWORD = $RED5_DB_PASSWORD;
$DB_DATABASE = $RED5_DB_DATABASE;
}

// Stratus
$DEVELOPER_KEY = "XXXXXXXXXX"; // your Adobe Stratus developer key obtained from Adobe (read INSTALL.txt)

// Red5
$RED5_CONNECT_URL = 'rtmp://www.jabbercam.com/ChatrouletteApp'; // leave this free, temporary resource or use your own
$RED5_CONNECT_URL_B1 = '';
$RED5_CONNECT_URL_B2 = '';
$RED5_CONNECT_MAIN_TIMEOUT = 30; // minutes

// Maintenance settings
$REMOVE_SESSIONS_OLDER_THAN = '180'; // set the amount of time, minutes, sessions to be cleared by the ?task=cleanAllOlder function

// Video ads on idle partner window
$AD_FOLDER = './media/video/blankscreen/'; // set the directory where video ads (.swf videos) are placed

// Login process settings (turn on/off mandatory username and camera | values: true or false)
$LOGIN_SCREEN_ENABLE = false; // 'true' or 'false'
$CAMERA_REQUIRED = false; // 'true' or 'false'

// Volume settings
$SPEAKER_VOLUME = 0.5; // [0-1]
$MICROPHONE_VOLUME = 0.3; // [0-1]

// User connection timing and user filtering
$MINIMUM_CONNECTED_TIME = 1; // the minimum time in seconds, two users must stay connected before they can press NEXT (global)
$TIME_TO_LIVE = 50; // set the delay, seconds (close the session if the server doesn't receive a response for XX seconds)

$FILTER_TIMEOUT = 15; // set the filter button, minutes (do not connect to filtered user for XX minutes)
$BAN_TIMEOUT = 45; // set the report button, minutes (ban reported user for XX minutes)
$NUM_REPORTS_TO_BAN = 5; // set the report button (number of reports needed for a user to be banned)

// SpeedChat and SpeedDate connection timing settings
$SPEEDCHAT_CONNECTED_TIME = 5; // the default time for speedchat (if not set different by the client, using the Flash slider)
$SPEEDCHAT_MIMIMUM_CONNECTED_TIME = 3; // the minimum time a user must stay connected before he can disconnect when using SpeedChat
$SPEEDDATE_CONNECTED_TIME = 30; // the default time for speeddate (if not set different by the client, using the Flash slider)
$SPEEDDATE_MINIMUM_CONNECTED_TIME = 10; // the minimum time a user must stay connected before he can disconnect when using SpeedDate


// Feature and filter settings
$LANGUAGES = array("en"=>"English");

$AUTONEXT_VALUES = array("man"=>0, "5"=>5, "10"=>10, "30"=>30, "1min"=>60);
$AGEFILTER_VALUES = array("Off", "16-25", "26-40", "41+");
$LANG_FILTERS = array ("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "ru"=>"Russian", "de"=>"German", "it"=>"Italian", "fr"=>"French");

$CUSTOM_FILTER_1_ENABLE = true; // 'true' or 'false'
$CUSTOM_FILTER_1_LABEL = "Location"; // any label (text)
$CUSTOM_FILTER_1 = array(
"Alabama"=>"Alabama",
"Alaska"=>"Alaska",
"American Samoa"=>"American Samoa",
"Arizona"=>"Arizona",
"Arkansas"=>"Arkansas",
"California"=>"California",
"Colorado"=>"Colorado",
"Connecticut"=>"Connecticut",
"Delaware"=>"Delaware",
"District of Columbia"=>"District of Columbia",
"Florida"=>"Florida",
"Georgia"=>"Georgia",
"Guam"=>"Guam",
"Hawaii"=>"Hawaii",
"Idaho"=>"Idaho",
"Illinois"=>"Illinois",
"Indiana"=>"Indiana",
"Iowa"=>"Iowa",
"Kansas"=>"Kansas",
"Kentucky"=>"Kentucky",
"Louisiana"=>"Louisiana",
"Maine"=>"Maine",
"Maryland"=>"Maryland",
"Massachusetts"=>"Massachusetts",
"Michigan"=>"Michigan",
"Minnesota"=>"Minnesota",
"Mississippi"=>"Mississippi",
"Missouri"=>"Missouri",
"Montana"=>"Montana",
"Nebraska"=>"Nebraska",
"Nevada"=>"Nevada",
"New Hampshire"=>"New Hampshire",
"New Jersey"=>"New Jersey",
"New Mexico"=>"New Mexico",
"New York"=>"New York",
"North Carolina"=>"North Carolina",
"North Dakota"=>"North Dakota",
"Northern Marianas Islands"=>"Northern Marianas Islands",
"Ohio"=>"Ohio",
"Oklahoma"=>"Oklahoma",
"Oregon"=>"Oregon",
"Pennsylvania"=>"Pennsylvania",
"Puerto Rico"=>"Puerto Rico",
"Rhode Island"=>"Rhode Island",
"South Carolina"=>"South Carolina",
"South Dakota"=>"South Dakota",
"Tennessee"=>"Tennessee",
"Texas"=>"Texas",
"Utah"=>"Utah",
"Vermont"=>"Vermont",
"Virginia"=>"Virginia",
"Virgin Islands"=>"Virgin Islands",
"Washington"=>"Washington",
"West Virginia"=>"West Virginia",
"Wisconsin"=>"Wisconsin",
"Wyoming"=>"Wyoming",
"International"=>"International"); // option list (text)

$CUSTOM_FILTER_2_ENABLE = true; // 'true' or 'false'
$CUSTOM_FILTER_2_LABEL = "Looking for"; // any label (text)
$CUSTOM_FILTER_2 = array("friends"=>"Make Friends", "advice"=>"Advice", "listen"=>"Someone to Listen", "mixed"=>"Mixed Bag!"); // option list (text)

$BLUR_EFFECT = true; // true or false
$BLUR_EFFECT_INTENSITY = 2;
$BLUR_EFFECT_DURATION = 5; // seconds

$GOOGLE_APP_ID = "XXXXXXXXXX";

$SOCIAL_BUTTONS_LOGIN_SCREEN = false; //
/*
---------------------------------------------------------------------------------------------
*/

if(isset($_GET['setts'])) {
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="utf-8"?><settings><serverType>'.$SERVER_TYPE.'</serverType>';

if($SERVER_TYPE != 'Red5') {
echo '<webServiceUrl>'.$WEB_SERVICE_URL.'</webServiceUrl>'.
'<developerKey>'.$DEVELOPER_KEY.'</developerKey>';
} else {
echo '<red5ConnectUrl>'.$RED5_CONNECT_URL.'</red5ConnectUrl>';

if(isset($RED5_CONNECT_URL_B1))
echo '<red5ConnectUrlB1>'.$RED5_CONNECT_URL_B1.'</red5ConnectUrlB1>';

if(isset($RED5_CONNECT_URL_B2))
echo '<red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>'.$RED5_CONNECT_URL_B2.
'</red5ConnectUrlB'.(isset($RED5_CONNECT_URL_B1)?'2':'1').'>';

if(isset($RED5_CONNECT_MAIN_TIMEOUT) && (isset($RED5_CONNECT_URL_B1) || isset($RED5_CONNECT_URL_B2)))
echo '<red5ConnectMainTimeout>'.$RED5_CONNECT_MAIN_TIMEOUT.'</red5ConnectMainTimeout>';
}

echo '<languages>';
foreach ($LANGUAGES as $code=>$lang) {
echo "<lang><label><![CDATA[$lang]]></label><code>$code</code></lang>";
}
echo '</languages>';

echo '<langFilters>';
foreach($LANG_FILTERS as $code=>$lang) {
echo "<filter><label><![CDATA[$lang]]></label><code>$code</code></filter>";
}
echo '</langFilters>';

echo '<timeToLive>'.$TIME_TO_LIVE.'</timeToLive>';

echo '<minimumConnectedTime>'.$MINIMUM_CONNECTED_TIME.'</minimumConnectedTime>';
echo '<speedChatConnectedTime>'.$SPEEDCHAT_CONNECTED_TIME.'</speedChatConnectedTime>';
echo '<speedChatMinimumConnectedTime>'.$SPEEDCHAT_MIMIMUM_CONNECTED_TIME.'</speedChatMinimumConnectedTime>';
echo '<speedDateConnectedTime>'.$SPEEDDATE_CONNECTED_TIME.'</speedDateConnectedTime>';
echo '<speedDateMinimumConnectedTime>'.$SPEEDDATE_MINIMUM_CONNECTED_TIME.'</speedDateMinimumConnectedTime>';

echo '<ageFilterValues>';
foreach($AGEFILTER_VALUES as $filter) {
echo "<filter><![CDATA[$filter]]></filter>";
}
echo '</ageFilterValues>';

echo '<autoNextValues>';
foreach($AUTONEXT_VALUES as $label=>$value) {
echo "<autoNext><label><![CDATA[$label]]></label><autoValue><![CDATA[$value]]></autoValue></autoNext>";
}
echo '</autoNextValues>';

if(is_dir($AD_FOLDER) === TRUE) {
echo '<ads>';
$dir = opendir($AD_FOLDER);

if($dir) {
while(($filename = readdir($dir)) != FALSE) {
if(is_file($AD_FOLDER.$filename) && preg_match('/^.+\.(?:jpg|png|gif|jpeg|swf)$/', $filename))
echo "<ad>{$AD_FOLDER}{$filename}</ad>";
}

closedir($dir);
}

echo '</ads>';
}

if($CUSTOM_FILTER_1_ENABLE) {
echo '<customFilter1 label="'.$CUSTOM_FILTER_1_LABEL.'">';
foreach($CUSTOM_FILTER_1 as $key=>$value) {
echo "<filter><filterValue>$key</filterValue><label>$value</label></filter>";
}
echo '</customFilter1>';
}

if($CUSTOM_FILTER_2_ENABLE) {
echo '<customFilter2 label="'.$CUSTOM_FILTER_2_LABEL.'">';
foreach($CUSTOM_FILTER_2 as $key=>$value) {
echo "<filter><filterValue>$key</filterValue><label>$value</label></filter>";
}
echo '</customFilter2>';
}

echo '<loginScreenEnable>'.($LOGIN_SCREEN_ENABLE?'true':'false').'</loginScreenEnable>';
echo '<cameraRequired>'.($CAMERA_REQUIRED?'true':'false').'</cameraRequired>';

echo '<speakerVolume>'.$SPEAKER_VOLUME.'</speakerVolume>';
echo '<microphoneVolume>'.$MICROPHONE_VOLUME.'</microphoneVolume>';

echo '<blurEffect>'.($BLUR_EFFECT?'true':'false').'</blurEffect>';
echo '<blurEffectIntensity>'.$BLUR_EFFECT_INTENSITY.'</blurEffectIntensity>';
echo '<blurEffectDuration>'.$BLUR_EFFECT_DURATION.'</blurEffectDuration>';

echo '<googleAppId>'.$GOOGLE_APP_ID.'</googleAppId>';

echo '<socialButtonsLoginScreen>'.($SOCIAL_BUTTONS_LOGIN_SCREEN?'true':'false').'</socialButtonsLoginScreen>';

echo '</settings>';
}
?>
Reply
09-25-2011, 01:30 AM,
#16
RE: Installing problems
I made a test, both database and fms are OK. If you access the RVC with "www", it should work.
Reply
09-27-2011, 10:16 PM,
#17
RE: Installing problems
I did exactly as described but as soon as I copy the files from the shared account to the server where my site is hosted, it stops working.The admin keeps asking if there's some module besides PHP and MySQL, that needs to be installed on their server, for the script to work, a module which on some other servers maybe standard issue, but not on theirs.
Reply
09-27-2011, 10:31 PM,
#18
RE: Installing problems
No, there is only PHP and MySQL needed and write access to the web-service folder. There must be something wrong with creating the files by the script.
Reply
09-28-2011, 11:45 PM,
#19
RE: Installing problems
Is there a way of uploading a screen capture? The engineering working on this with me is telling me there are errors with the latest release 5.9 and I'd like to get your opinion JabberCam. Could be nothing but he's putting down tools until I get feedback.
Reply
10-01-2011, 04:55 AM,
#20
RE: Installing problems
We are getting errors from the latest source code - please see screenshot attached. Any suggestions? Thanks as ever for your help!


Attached Files Thumbnail(s)
   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)