Installed Ok, but not working Realise 4



  • I ahve a problem, i install everything ok..

    database tables OK
    Red5 OFF
    Stratus OK
    System folder OK

    i have my key.. config

    WEB_SERVICE_URL = "http://66.90.94.48/cam/jabbercam/functions.php"; // "WEB_SERVICE_URL = your domain (location of functions.php on your domain)
    $DEVELOPER_KEY = "7e7b7d7de3336f5ecc1f1e08-6b43fa00986f";

    http://66.90.94.48/cam2/jabbercam/functions.php

    <result>But when i enter to
    http://66.90.94.48/cam2/horizontal.html

    its stays loging…. never get in..
    what is the probelm?>?????</result>



  • delete the .htaccess file


    WEB_SERVICE_URL = "http://66.90.94.48/cam/…
    http://66.90.94.48/cam2/



  • Still the same. i had delete the file
    http://66.90.94.48/cam2/vertical.html



  • please change this setting in config.php so we can see the error, set $LOGIN_SCREEN_ENABLE to false:

    // LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username | values: true or false)
    $CAMERA_REQUIRED = true;				 // 'true' or 'false'
    $LOGIN_SCREEN_ENABLE = false;			// 'true' or 'false' (you may use login.php instead RVC 5.1+)
    $SOCIAL_BUTTONS_LOGIN_SCREEN = true;	 // 'true' or 'false'
    
    


  • I dont have the login process setings. Im using 4.0

    data settings …...............

    /
    $FILTER_TIMEOUT = 15; //filter (do not connect to filtered user) for n minutes
    $BAN_TIMEOUT = 45; //ban reported user for n minuates
    $NUM_REPORTS_TO_BAN = 5; //number of reports needed for a user to be banned
    $TIME_TO_LIVE = 50; //seconds - if the server doesn't receive a response from the session for this long,
    //the session is considered interrupted
    /* ================================= */

    $SERVER_TYPE = 'Stratus'; // 'Red5' | '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;
    }

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

    $WEB_SERVICE_URL = "http://66.90.94.48/cam/jabbercam/functions.php"; // "WEB_SERVICE_URL = your domain (location of functions.php on your domain)
    $DEVELOPER_KEY = "7e7b7d7de3336f5ecc1f1e08-6b43fa00986f"; // your Adobe Stratus developer key obtained from Adobe (read INSTALL.txt)

    //SpeedChat and SpeedDate connection settings
    $MINIMUM_CONNECTED_TIME = 1; // the minimum time a user must stay connected before he can disconnect (global)

    $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

    $LANGUAGES = array("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "de"=>"German", "it"=>"Italian", "fr"=>"French", "tr"=>"Turkish", "cz"=>"Czech", "ro"=>"Romanian", "hu"=>"Hungarian");
    $LANG_FILTERS = array("en"=>"English", "es"=>"Spanish", "cn"=>"Chinese", "ru"=>"Russian", "de"=>"German", "it"=>"Italian", "fr"=>"French", "th"=>"Thai", "tr"=>"Turkish", "cz"=>"Czech", "bg"=>"Bulgarian", "ro"=>"Romanian", "hu"=>"Hungarian");

    $AGEFILTER_VALUES = array("Off", "16-25", "26-40", "41+");
    $AUTONEXT_VALUES = array("man"=>0, "5"=>5, "10"=>10, "30"=>30, "1min"=>60);

    $AD_FOLDER = './media/video/blankscreen/'; // directory where ads are placed

    $CUSTOM_FITLER_1_ENABLE = true;
    $CUSTOM_FILTER_1_LABEL = "Location";
    $CUSTOM_FILTER_1 = array("paris"=>"Paris", "london"=>"London");
    $CUSTOM_FILTER_2_ENABLE = true;
    $CUSTOM_FITLER_2_LABEL = "Looking for";
    $CUSTOM_FILTER_2 = array("dating"=>"Dating", "justtalk"=>"Just Talk");

    if(isset($_GET['setts'])) {
    header('Content-type: text/xml');
    echo '<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></label>$code</lang>";
    }
    echo '</languages>';

    echo '<langfilters>';
    foreach($LANG_FILTERS as $code=>$lang) {
    echo "<filter><label></label>$code</filter>";
    }
    echo '</langfilters>';

    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 "";
    }
    echo '</agefiltervalues>';

    echo '<autonextvalues>';
    foreach($AUTONEXT_VALUES as $label=>$value) {
    echo "<autonext><label></label><autovalue></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_FITLER_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_FITLER_2_LABEL.'">';
    foreach($CUSTOM_FILTER_2 as $key=>$value) {
    echo "<filter><filtervalue>$key</filtervalue><label>$value</label></filter>";
    }
    echo '</customfilter2>';
    }

    echo '</settings>';
    }
    ?>



  • Replace the files you have with the ones I am sending you, this will do a partial upgrade to 4.1 and you'll have the needed setting. Find the following and set it to false:

    $LOGIN_SCREEN_ENABLE = false;
    
    ```* after we figure out the problem, you may delete these files and use the ones you have.


  • Error

    unable to connect to rtmp://www.jabbercam.com/ChatrouletteApp



  • ok, set $SERVER_TYPE to 'Stratus' and make sure you have $DEVELOPER_KEY inserted

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


  • Done

    9:49:48  Could not connect to backend services. Error message:
    19:49:48  HTTP error: HTTP request error
    19:49:48  Please reload JabberCam and start over.


    19:55:28  Success!

    19:55:28  Could not connect to backend services. Error message:
    19:55:28  HTTP error: Error #1096
    19:55:28  Please reload JabberCam and start over.


    database tables OK
    Red5 OFF
    Stratus OK
    System folder OK

    ,last error

    19:58:01  Could not connect to backend services. Error message:
    19:58:01  HTTP update error
    19:58:01  Please reload JabberCam and start over.



  • It must be the $WEB_SERVICE_URL, the .htaccess file is redirecting all requests to the same URL, adding the www prefix. In case you access yourdomain.com it will go to www.yourdomain.com. For this reason, the $WEB_SERVICE_URL has to contain the "www" prefix or you should delete the .htaccess file:

    $WEB_SERVICE_URL = "http://66.90.94.48/cam2/jabbercam/functions.php";
    
    

    http://66.90.94.48/cam2/jabbercam/admin.php?task=test is OK
    I made a reinstall: http://66.90.94.48/cam2/jabbercam/admin.php?task=install&overwrite=yes
    http://66.90.94.48/cam2/vertical.html runs OK now


 

Looks like your connection to H7 was lost, please wait while we try to reconnect.