Jump to content

[Plugin] Blesta Live Chat Rc 1.0.7 - 4ºrc


PauloV

Recommended Posts


<!DOCTYPE HTML>
<html dir="ltr">
<head>
<title>Dashboard | Yatosha Web Services</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="shortcut icon" href="/billing/app/views/admin/default/images/favicon.ico" />
	<link href="/billing/app/views/admin/default/css/reset.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/jquery-ui.min.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/layout.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/css3.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/colorpicker.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/datepicker.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/dashboard_calendar.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/billing/app/views/admin/default/css/jquery.qtip.css" rel="stylesheet" type="text/css" media="screen" />
		<link href="/billing/index.php/admin/theme/theme.css?dir=" rel="stylesheet" type="text/css" media="screen" />
		
	
	<!--[if IE]>
	<script>
	document.createElement("header");
	document.createElement("footer");
	document.createElement("article");
	document.createElement("nav");
	document.createElement("section");
	document.createElement("aside")
	</script>
	<![endif]-->
	<!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="/billing/app/views/admin/default/css/ie.css" media="screen" /> <![endif]-->
	<script type="text/javascript" src="/billing/app/views/admin/default/javascript/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/jquery-carousel-1.0.1.js"></script>
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/jquery.qtip.min.js"></script>
<!--[if lt IE 10]><script type="text/javascript" src="/billing/app/views/admin/default/javascript/history/json2.js"></script><![endif]-->
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/history/history.adapter.jquery.js"></script>
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/history/history.js"></script>
<!--[if lt IE 10]><script type="text/javascript" src="/billing/app/views/admin/default/javascript/history/history.html4.js"></script><![endif]-->
<!--[if lt IE 9]><script type="text/javascript" src="/billing/app/views/admin/default/javascript/innershiv.min.js"></script><![endif]-->
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/jquery-blesta-0.1.0.js"></script>
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/date.min.js"></script>
<script type="text/javascript" src="/billing/app/views/admin/default/javascript/jquery.datePicker.min.js"></script>
</head>
<body>
	<div id="layout">
		<header id="main_header">
						<section class="top_row">
				<div class="gap_row">
					<h1>
						<a href="/billing/index.php/admin/">
													<img src="https://yatosha.com/images/logo.png" alt="Logo" />
												</a>
					</h1>
					<section class="right_section">
						<nav class="top_nav">
							<ul>
								<li><a href="/billing/index.php/admin/myinfo/">My Info</a></li>
								<li><span>/</span></li>
								<li><a href="/billing/index.php/admin/settings/">Settings</a></li>
								<li><span>/</span></li>
								<li><a href="/billing/index.php/admin/logout/">Log Out</a></li>
							</ul>
						</nav>
						<div class="form_row">
													</div>
					</section>
				</div>
			</section>
			<nav class="menu">
				<ul>
										<li class="active first">
						<a href="/billing/index.php/admin/">Home</a>
												<ul class="active">
																					<li class="current">
								<a href="/billing/index.php/admin/">Dashboard</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/main/calendar/">Calendar</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/clients/">Clients</a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/clients/">Browse</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/billing/">Billing</a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/billing/">Overview</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/billing/invoices/">Invoices</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/billing/transactions/">Transactions</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/billing/services/">Services</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/billing/reports/">Reports</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/billing/printqueue/">Print Queue</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/billing/batch/">Batch</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/packages/">Packages</a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/packages/">Browse</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/packages/groups/">Groups</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/package_options/">Options</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/plugin/order/admin_forms/">Order Forms</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/tools/">Tools</a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/tools/logs/">Logs</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/tools/convertcurrency/">Convert Currency</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/plugin/admin_tools/admin_main/">Admin Tools</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/settings/company/"></a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/settings/company/">Company</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/settings/system/">System</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/settings/system/"></a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/settings/company/">Company</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/settings/system/">System</a>
							</li>
													</ul>
											</li>
										<li>
						<a href="/billing/index.php/admin/../plugins/live_chat/vendors/blc/index.php/site_admin/">Live Chat</a>
											</li>
										<li>
						<a href="/billing/index.php/admin/plugin/support_manager/admin_main/">Support</a>
												<ul>
																					<li>
								<a href="/billing/index.php/admin/plugin/support_manager/admin_tickets/">Tickets</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/plugin/support_manager/admin_departments/">Departments</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/plugin/support_manager/admin_responses/">Responses</a>
							</li>
																					<li>/</li>
														<li>
								<a href="/billing/index.php/admin/plugin/support_manager/admin_staff/">Staff</a>
							</li>
													</ul>
											</li>
						
				</ul>
			</nav>
			<section class="black_row">
				<nav class="breadcrumbs">
					<a href="/billing/index.php/admin/main/updatequicklink/" id="quicklink" class="star-off"></a>
				</nav>
				<div class="serach_block">
					<form method="post" action="/billing/index.php/admin/search/">
<input type="hidden" name="_csrf_token" value="a6aca901d0e3db53bf427edb373d0c5a29f838e1f77e125e9b447a88ee599663" />
						<input type="hidden" name="search_type" value="smart" />
<button type="button" name="toggle" value="" class="search_btn"></button>
						<div class="input_box">
							<input type="text" name="search" value="" class="search" placeholder="Smart Search" />
						</div>
						
						<div class="select_container">
							<div class="select_box">
																<ul class="dropdown-menu" id="all_search_options">
																		<li><a href="#" class="smart">Smart Search</a></li>
																		<li><a href="#" class="clients">Client Search</a></li>
																		<li><a href="#" class="invoices">Invoice Search</a></li>
																		<li><a href="#" class="transactions">Transaction Search</a></li>
																		<li><a href="#" class="services">Service Search</a></li>
																		<li><a href="#" class="packages">Package Search</a></li>
																		<li><a href="#" class="/billing/index.php/admin/plugin/support_manager/admin_tickets/search/">Ticket Search</a></li>
																	</ul>
															</div>
						</div>
						
					</form>
				</div>
			</section>
		</header>
		<section id="body_container">
			<div class="gap_row">
				
				<aside id="dashboard_left">
					<div class="calendar_box">
						<div class="calendar_inner">
							<div class="calendar_section"></div>
						</div>
						<div class="shadow"></div>
					</div>
					
					<ul class="dash_link_box">
						<li class="manage_widgets"><a href="/billing/index.php/admin/main/managewidgets/">Manage Widgets</a></li>
						<li class="customize_dashboard"><a href="/billing/index.php/admin/main/updatedashboard/">Customize Dashboard</a></li>
					</ul>
					<section class="quick_links">
						<h3>Quick Links</h3>
						<ul>
													<li>
								<div class="quick_link">
									<a href="/billing/index.php/admin/packages/">Create reseller Packages </a>
								</div>
								<div class="icon"></div>
							</li>
													<li>
								<div class="quick_link">
									<a href="/billing/index.php/admin/plugin/admin_tools/admin_main/">Admin tools</a>
								</div>
								<div class="icon"></div>
							</li>
												</ul>
					</section>
				</aside>
				<div id="dashboard_right">
										
					<section id="right_container">
						<div class="dashboard_bottom_section">
							<div class="left_area column section1">
								
							</div>
							<div class="right_area column section2">
								
							</div>
						</div>
					</section>				</div>
			</div>
		</section>
		<footer id="footer">
			<div class="gap_row">

			</div>
		</footer>
	</div>
	<script type="text/javascript">
$(document).ready(function() {
	$('.column').blestaLoadWidgets({
		fetch_uri: '/billing/index.php/admin/main/getwidgets/',
		update_uri: '/billing/index.php/admin/main/reorderwidgets/',
		toggle_uri: '/billing/index.php/admin/main/togglewidget/'
	});
	
	// Hover on quicklink
	$('.quick_links ul li').hover(
		function() {
			$(this).find('.icon').addClass('edit');
		},
		function() {
			$(this).find('.icon').removeClass('edit');
		}
	);
	// Edit quicklink
	$('.quick_links .icon.edit').live('click', function() {
		// Replace quicklink with input
		var quicklink = $(this).parent().find('.quick_link');
		$(quicklink).find('a').hide();
		
		// Add input field
		$(quicklink).find('a').after('<input type="text" value="' + $(this).parent().find('.quick_link a').text() + '" />');
		quicklink_input = $(quicklink).find('input');
		$(quicklink_input).focus();
		$(quicklink_input).select();
		
		$(quicklink_input).bind('keyup', function(event) {
			if (event.keyCode == 13)
				$(this).blur();
		});
		$(quicklink_input).bind('blur', function() {
			var input = $(this);
			var title = $(this).val();
			
			// Update quicklink title
			if ($(this).val() != $(quicklink).find('a').text()) {
				var params = {
					action:'add',
					uri:$(quicklink).find('a').attr('href'),
					title:title
				};
				
				$(this).blestaRequest('post', '/billing/index.php/admin/main/updatequicklink/', params, function() {
					$(quicklink).find('a').text($(input).val());
				}),
				null,
				{dataType: 'json'}
			}
			
			$(quicklink).find('a').show();
			$(this).remove();
		});
	});

	$('.manage_widgets a').blestaModal({close: 'Close', min_width: 800, max_width: 800, onHide: function() { window.location.reload(); } });
	$('.customize_dashboard a').blestaModal({close: 'Close'});
	
	// Set calendar
	Date.firstDayOfWeek =1;
	Date.abbrDayNames = ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
	Date.dayNames = ["Sunday","Monday","Tuesday","Wednesday","","Friday","Saturday"];
	Date.monthNames = ["January","February","March","April","May","June","July","August","September","October","November","December"];
	Date.abbrMonthNames = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
	Date.format = 'yyyy-mm-dd';
	var current_date = '2014-07';
	$('.calendar_section').datePicker({
		month:'6',
		year:'2014',
		inline:true,
		startDate:'1996-01-01' // Allow dates in past
	}).bind('dateSelected', function(e, date) {
		window.location = '/billing/index.php/admin/main/calendar/day/' + date.asString();
	}).bind('dpMonthChanged', function(e, month, year) {
		current_date = year + '-' + (month < 9 ? '0' : '') + (month + 1); // Change range of month to [1,12]
		
		var start_date = Date.fromString(current_date + '-01').asString();
		var end_date = Date.fromString(start_date).addMonths(1).asString();
		
		updateCalendarBadges(start_date, end_date);
	});

	// Set the calendar badges on load
	var start_date = Date.fromString(current_date + '-01').asString();
	var end_date = Date.fromString(start_date).addMonths(1).asString();	
	updateCalendarBadges(start_date, end_date);
	

	
	/**
	 * Updates the calendar badge counts
	 */
	function updateCalendarBadges(start_date, end_date) {
		$(this).blestaRequest('GET', '/billing/index.php/admin/main/geteventcounts/', {start_date: start_date, end_date: end_date},
			// on success
			function(badges) {
				for (day in badges) {
					
					if (Date.fromString(day).getMonth() != Date.fromString(start_date).getMonth())
						continue;
						
					var day_num = Date.fromString(day).getDate();
					
					$('.calendar_section tbody td.current-month').filter(function() {
						return $(this).text() == day_num;
					}).html('<div>' + day_num + '<span class="badge_dot">' + badges[day] + '</span></div>');
				}
			},
			// on error
			null, {dataType:'json'}
		);
	}
	
	// Month heading
	$('.calendar_section h2').bind('click', function() {
		window.location = '/billing/index.php/admin/main/calendar/month/' + current_date;
	});
});
</script>
	
	<script type="text/javascript">
	$(document).ready(function() {
		// Show/hide currently active nav when hovering other nav items
		var active = $(".menu li.active");
		$(".menu > ul > li").hover(
			function() {
				if ($(active).get(0) != $(this).get(0)) {
					active.removeClass("active");
				}
			},
			function() {
				active.addClass("active");
			}
		);

		// Show company drop-down
		$("#current_company").click(function() {
			// Show the drop-down
			$("#available_companies").toggle();
			return false;
		});
		$(document).click(function() {
			$("#available_companies").hide();
		});
		
		// Show search drop-down
		$(".search_btn").click(function() {
			// Show the drop-down
			$("#all_search_options").toggle();
			return false;
		});
		$(document).click(function() {
			$("#all_search_options").hide();
		});
		
		$("#all_search_options li").click(function() {
			$(".serach_block input[name='search_type']").val($("a", this).attr('class'));
			$(".serach_block input[name='search']").attr('placeholder', $("a", this).text());
		});
	});
	</script>
<!-- display ticket count menu badge-->
<script>
jQuery(function($){
  $( document ).ready(function() {
    $.get( '/billing/index.php/admin/plugin/support_managerpro/admin_tickets_count/', function(newRowCount){
      $("a[href='/billing/index.php/admin/plugin/support_managerpro/admin_main/']").html( newRowCount.trim() );
    });
  });
  setInterval(function(){
    $.get( '/billing/index.php/admin/plugin/support_managerpro/admin_tickets_count/', function(newRowCount){
      $("a[href='/billing/index.php/admin/plugin/support_managerpro/admin_main/']").html( newRowCount.trim() );
    });
  },5000);
});
</script>
<!-- end display ticket count menu badge--><!-- display live chat count menu badge and admin chat-->
<script>
$(document).ready(function() {
    $("a[href='/billing/index.php/admin/../plugins/live_chat/vendors/blc/index.php/site_admin/']").click(function() {
        var newwindow = window.open($(this).prop('href'), '', 'height=570,width=850');
        if (window.focus) {
            newwindow.focus();
        }
        return false;
    });
});
jQuery(function($){
  $( document ).ready(function() {
    $.get( '/billing/index.php/admin/../plugin/live_chat/admin_live_chat_count/', function(newRowCount){
      $("a[href='/billing/index.php/admin/../plugins/live_chat/vendors/blc/index.php/site_admin/']").html( newRowCount.trim() );
    });
  });
  setInterval(function(){
    $.get( '/billing/index.php/admin/../plugin/live_chat/admin_live_chat_count/', function(newRowCount){
      $("a[href='/billing/index.php/admin/../plugins/live_chat/vendors/blc/index.php/site_admin/']").html( newRowCount.trim() );
    });
  },5000);
});
</script>
<script>
var LHCChatboxOptions = {hashchatbox:'empty',identifier:'default',status_text:'Admin Chat','nick':'Joseph Helela','disable_nick_change':true};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = '/billing/index.php/admin/../plugins/live_chat/vendors/blc/index.php/chatbox/getstatus/(position)/bottom_right/(top)/300/(units)/pixels/(width)/300/(height)/300/(chat_height)/220';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<!-- end display live chat count menu badge and admin chat--></body>
</html>

Please assist on solving the issue for me ;)

Link to comment
Share on other sites

  • 4 weeks later...

Hello,

First it looks great form the pics, and the community appreciates your contributions.

 

Unfortunately I am getting some errors.

 

It installs fine but then I get a blank popout when clicking the link.

I noticed chrome had some 500 errors. I checked apache and it was looking for settings.ini.php

There was no file with such name, only _settings.ini.php. I renamed it and now I get a 404 page. Attached is the apache error logs.

[Mon Aug 11 13:19:50.247566 2014] [mpm_prefork:notice] [pid 1111] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming normal operations
[Mon Aug 11 13:19:50.247640 2014] [core:notice] [pid 1111] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 11 13:20:51.019187 2014] [:error] [pid 1119] [client 104.34.221.43:52268] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/plugin/support_manager/admin_staff/
[Mon Aug 11 13:20:51.019251 2014] [:error] [pid 1119] [client 104.34.221.43:52268] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/plugin/support_manager/admin_staff/
[Mon Aug 11 13:20:51.019266 2014] [:error] [pid 1119] [client 104.34.221.43:52268] PHP Warning:  include(): Failed opening 'settings/settings.ini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/plugin/support_manager/admin_staff/
[Mon Aug 11 13:20:51.030889 2014] [:error] [pid 1119] [client 104.34.221.43:52268] PHP Fatal error:  Uncaught exception 'Exception' with message 'Setting with section {site} value {available_site_access}' in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php:19\nStack trace:\n#0 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhurl.php(35): erConfigClassLhConfig->getSetting('site', 'available_site_...')\n#1 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhmodule.php(355): erLhcoreClassURL::getInstance()\n#2 /var/www/client/plugins/live_chat/vendors/blc/index.php(27): erLhcoreClassModule::moduleInit()\n#3 {main}\n  thrown in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 19, referer: **REMOVED***/admin/plugin/support_manager/admin_staff/
[Mon Aug 11 13:21:20.033884 2014] [:error] [pid 1118] [client 104.34.221.43:52279] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:20.033947 2014] [:error] [pid 1118] [client 104.34.221.43:52279] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:20.033961 2014] [:error] [pid 1118] [client 104.34.221.43:52279] PHP Warning:  include(): Failed opening 'settings/settings.ini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:20.034950 2014] [:error] [pid 1118] [client 104.34.221.43:52279] PHP Fatal error:  Uncaught exception 'Exception' with message 'Setting with section {site} value {available_site_access}' in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php:19\nStack trace:\n#0 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhurl.php(35): erConfigClassLhConfig->getSetting('site', 'available_site_...')\n#1 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhmodule.php(355): erLhcoreClassURL::getInstance()\n#2 /var/www/client/plugins/live_chat/vendors/blc/index.php(27): erLhcoreClassModule::moduleInit()\n#3 {main}\n  thrown in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 19, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:45.506076 2014] [:error] [pid 1358] [client 104.34.221.43:52289] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:45.506135 2014] [:error] [pid 1358] [client 104.34.221.43:52289] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:45.506148 2014] [:error] [pid 1358] [client 104.34.221.43:52289] PHP Warning:  include(): Failed opening 'settings/settings.ini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:45.506945 2014] [:error] [pid 1358] [client 104.34.221.43:52289] PHP Fatal error:  Uncaught exception 'Exception' with message 'Setting with section {site} value {available_site_access}' in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php:19\nStack trace:\n#0 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhurl.php(35): erConfigClassLhConfig->getSetting('site', 'available_site_...')\n#1 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhmodule.php(355): erLhcoreClassURL::getInstance()\n#2 /var/www/client/plugins/live_chat/vendors/blc/index.php(27): erLhcoreClassModule::moduleInit()\n#3 {main}\n  thrown in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 19, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:55.693558 2014] [:error] [pid 1391] [client 104.34.221.43:52296] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:55.693615 2014] [:error] [pid 1391] [client 104.34.221.43:52296] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:55.693629 2014] [:error] [pid 1391] [client 104.34.221.43:52296] PHP Warning:  include(): Failed opening 'settings/settings.ini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:55.694666 2014] [:error] [pid 1391] [client 104.34.221.43:52296] PHP Fatal error:  Uncaught exception 'Exception' with message 'Setting with section {site} value {available_site_access}' in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php:19\nStack trace:\n#0 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhurl.php(35): erConfigClassLhConfig->getSetting('site', 'available_site_...')\n#1 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhmodule.php(355): erLhcoreClassURL::getInstance()\n#2 /var/www/client/plugins/live_chat/vendors/blc/index.php(27): erLhcoreClassModule::moduleInit()\n#3 {main}\n  thrown in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 19, referer: **REMOVED***/admin/settings/company/
[Mon Aug 11 13:21:58.061733 2014] [:error] [pid 1358] [client 104.34.221.43:52298] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/modules/installed/
[Mon Aug 11 13:21:58.061898 2014] [:error] [pid 1358] [client 104.34.221.43:52298] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/modules/installed/
[Mon Aug 11 13:21:58.061916 2014] [:error] [pid 1358] [client 104.34.221.43:52298] PHP Warning:  include(): Failed opening 'settings/settings.ini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/modules/installed/
[Mon Aug 11 13:21:58.062688 2014] [:error] [pid 1358] [client 104.34.221.43:52298] PHP Fatal error:  Uncaught exception 'Exception' with message 'Setting with section {site} value {available_site_access}' in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php:19\nStack trace:\n#0 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhurl.php(35): erConfigClassLhConfig->getSetting('site', 'available_site_...')\n#1 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhmodule.php(355): erLhcoreClassURL::getInstance()\n#2 /var/www/client/plugins/live_chat/vendors/blc/index.php(27): erLhcoreClassModule::moduleInit()\n#3 {main}\n  thrown in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 19, referer: **REMOVED***/admin/settings/company/modules/installed/
[Mon Aug 11 13:22:01.628083 2014] [:error] [pid 1391] [client 104.34.221.43:52302] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/plugins/installed/
[Mon Aug 11 13:22:01.628136 2014] [:error] [pid 1391] [client 104.34.221.43:52302] PHP Warning:  include(settings/settings.ini.php): failed to open stream: No such file or directory in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/plugins/installed/
[Mon Aug 11 13:22:01.628149 2014] [:error] [pid 1391] [client 104.34.221.43:52302] PHP Warning:  include(): Failed opening 'settings/settings.ini.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 10, referer: **REMOVED***/admin/settings/company/plugins/installed/
[Mon Aug 11 13:22:01.628941 2014] [:error] [pid 1391] [client 104.34.221.43:52302] PHP Fatal error:  Uncaught exception 'Exception' with message 'Setting with section {site} value {available_site_access}' in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php:19\nStack trace:\n#0 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhurl.php(35): erConfigClassLhConfig->getSetting('site', 'available_site_...')\n#1 /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhcore/lhmodule.php(355): erLhcoreClassURL::getInstance()\n#2 /var/www/client/plugins/live_chat/vendors/blc/index.php(27): erLhcoreClassModule::moduleInit()\n#3 {main}\n  thrown in /var/www/client/plugins/live_chat/vendors/blc/lib/core/lhconfig/lhconfig.php on line 19, referer: **REMOVED***/admin/settings/company/plugins/installed/
[Mon Aug 11 13:19:50 2014] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 1111)
Link to comment
Share on other sites

Hello,

First it looks great form the pics, and the community appreciates your contributions.

 

Unfortunately I am getting some errors.

 

It installs fine but then I get a blank popout when clicking the link.

I noticed chrome had some 500 errors. I checked apache and it was looking for settings.ini.php

There was no file with such name, only _settings.ini.php. I renamed it and now I get a 404 page. Attached is the apache error logs.

 

 

Hello. Please, trie to uninstall the plugin, then reapload all files again and finally click on install the plugin again.

Link to comment
Share on other sites

Having a strange issue, video below:

http://screencast.com/t/FeQDBbzWZG

 

  1. I have to actually tick the remember me box to login
  2. When I try to update the admin information, it doesn't update/save
  3. Might have something to do with javascript, as I noticed that my support pro ticket count badge isn't showing again

I've cleared cookies, cache (browser and blesta), reinstalled the plugin, etc...same effect.

 

Not sure where to check but figured I'd see if you might have an idea of what could be the problem.

Link to comment
Share on other sites

Hello Blestars :)

 

Here it is the Beta 1.0 Released of Blesta Live Chathttp://www.blesta.com/forums/index.php?/topic/1928-blesta-live-chat-beta-10-released/

 

We hope you like it :)

 

Regards,

PV

 

 

Very strange indeed :)

 

I have trie to reproduce but no luck :(

 

Do you have any Cache system installed on your server (Nginx, Varnish etc..)?

Did you have tried on outher browsers (Firefox, Chrome, Safari etc.)?

 

Only 4 tings in my optinion is happening:

 

1º- Browser caching problem

2º- Server caching pages and data

3º- MySql Caching somehow the results

4º- php.ini Post/Request restrictions

 

Please send us feedback :)

 

Regards,

PV

Link to comment
Share on other sites

I just moved the site over from a cpanel server to a brand new interworx server, no caching or anything has been installed (yet).  I've tried it in Chrome, Firefox, IE to the same effect.  Nothing should be caching anywhere.

 

Could javascript have anything to do with this?  Only reason I ask is because as I mentioned earlier, the badge for new tickets isn't showing up either (in any of the 3 browsers).

Link to comment
Share on other sites

I just moved the site over from a cpanel server to a brand new interworx server, no caching or anything has been installed (yet).  I've tried it in Chrome, Firefox, IE to the same effect.  Nothing should be caching anywhere.

 

Could javascript have anything to do with this?  Only reason I ask is because as I mentioned earlier, the badge for new tickets isn't showing up either (in any of the 3 browsers).

 

 

1- Did you trie to uninstall and then install it again? very strange. Can you please trie to modify to any outher user and password, and then check in phpMyAdmin the table "lh_users" if there is any change to the new user.

 

2- The badge only shows if the admin/staff is in "online" status and there is one or more users on client area. If you are offline or there is no user in client area the badge dosent show because there is 0 (zero) useres online :P

Link to comment
Share on other sites

1- Did you trie to uninstall and then install it again? very strange. Can you please trie to modify to any outher user and password, and then check in phpMyAdmin the table "lh_users" if there is any change to the new user.

 

2- The badge only shows if the admin/staff is in "online" status and there is one or more users on client area. If you are offline or there is no user in client area the badge dosent show because there is 0 (zero) useres online :P

 

I was referring to the Support Pro badge as well, neither of them are showing up right now.

 

I've already uninstalled and reinstalled (mentioned that in my initial post), didn't have any effect.

 

It will not even let me create a new user in the chat system.

Link to comment
Share on other sites

I was referring to the Support Pro badge as well, neither of them are showing up right now.

 

I've already uninstalled and reinstalled (mentioned that in my initial post), didn't have any effect.

 

It will not even let me create a new user in the chat system.

 

 

can you provide me to the email that I will PM you in a few seconds an access to your blesta instalation and ftp to trie to figure and fix the problem?

Link to comment
Share on other sites

Having a strange issue, video below:

http://screencast.com/t/FeQDBbzWZG

 

  1. I have to actually tick the remember me box to login
  2. When I try to update the admin information, it doesn't update/save
  3. Might have something to do with javascript, as I noticed that my support pro ticket count badge isn't showing again

I've cleared cookies, cache (browser and blesta), reinstalled the plugin, etc...same effect.

 

Not sure where to check but figured I'd see if you might have an idea of what could be the problem.

 

We have found the problem and fixed for you :)

 

The problem was that the default session directory was not writable, so it can not store session.

 

To any user that has the same problem, here is the fix:

 

open the file: [blesta instalation folder]/plugins/live_chat/vendores/blc/index.php
 
After the line 9:
@ini_set('session.cookie_httponly',1);

add this:

@ini_set('session.save_path','/tmp'); // to set the default session directory

Hope that help outhers ;)

 

Regards,

PV

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

Great work! For sure it deserves a donation (I'll do it in a moment) ;-)

 

Just a little thing about "bare metal security" webserver with mod_security, mod_evasive and WAF : 2 (important) rules are fired each time livechat refresh itself...

- on admin side, the only collateral damage is on the Blesta Menu: "bchat_badge" ($online function) fire the rules... that's easy to fix

- on other hand, if we've put a widget on a website, every visitor is blacklisted at very next ajax call (a few seconds visit)! On our server, we blacklist IP for 20 mn !! Ouch!

 

These 2 mod_security rules are quite important and we'd better try to keep them as they are...

 

1) Uniencoded possible Remote File Injection attempt in URI (AE)

2) URL detected as argument, possible RFI attempt detected

 

These 2 rules are fired because of the URL argument in GET variable ("Pattern match "=(?:ogg|gopher|data|php|zlib|(?:ht|f)tps?)://" at REQUEST_URI" for $refferer & $location). There's nothing we can do to quickly fix this problem, apart from disable these rules for the domain where LiveChat is installed. Not fair, not secure :(

 

It seems that your original code* dates january but LiveHelperChat updated his code, especially on May 11 : mod_security fix #286

 

May be, you could have a look? Thanks ;-)

 

Have a nice day

 

Didier

 

Edit : sorry, not "your" original code (that is well updated) but "vendor/blc" code ;-)

Link to comment
Share on other sites

Hi,

 

Great work! For sure it deserves a donation (I'll do it in a moment) ;-)

 

Just a little thing about "bare metal security" webserver with mod_security, mod_evasive and WAF : 2 (important) rules are fired each time livechat refresh itself...

- on admin side, the only collateral damage is on the Blesta Menu: "bchat_badge" ($online function) fire the rules... that's easy to fix

- on other hand, if we've put a widget on a website, every visitor is blacklisted at very next ajax call (a few seconds visit)! On our server, we blacklist IP for 20 mn !! Ouch!

 

These 2 mod_security rules are quite important and we'd better try to keep them as they are...

 

1) Uniencoded possible Remote File Injection attempt in URI (AE)

2) URL detected as argument, possible RFI attempt detected

 

These 2 rules are fired because of the URL argument in GET variable ("Pattern match "=(?:ogg|gopher|data|php|zlib|(?:ht|f)tps?)://" at REQUEST_URI" for $refferer & $location). There's nothing we can do to quickly fix this problem, apart from disable these rules for the domain where LiveChat is installed. Not fair, not secure :(

 

It seems that your original code* dates january but LiveHelperChat updated his code, especially on May 11 : mod_security fix #286

 

May be, you could have a look? Thanks ;-)

 

Have a nice day

 

Didier

 

Edit : sorry, not "your" original code (that is well updated) but "vendor/blc" code ;-)

 

 

Thanks for appreciate our work and for the donation Didier :) I have added you to my signature ;)

 

We use custum rules also but dont have any trigger on Mod_Security and/or CSF :) Tanks for the tip on the fix :)

 

We have alredy a new verion updated done and ready to be released wen Blesta 3.3 goes Stable, with alot of optimised code, stay tune :)

 

The new version will only work on Blesta 3.3 or above because some of the new functionality are only trigger by the new Events that are available on Blesta 3.3

 

Regards,

PV

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...