Please read the readme file for installation instructions
There is a install video for Joomla CMS which is almost same for Sugar CRM .
You need to select the integration driver as sugar crm
http://evnix.com/drupal2/node/424
Hi,
I managed to complete the installation but the final step said "Sugarcrm has been auto installed" and there was no download link for the SugarCRM module compared to the video. Please let me know how do I get the SugarCRM module
Asrar
Hi,
So I managed to get it integrated. The mistake I made was not providing the correct path to the sugarcrm config.php.
Now I have another issue, the chat window always shows:
Fetching...user..data
kindly wait
loading......
Yeah there is an error in the console:
(function() {with (this[2]) {with (this[1]) {with (this[0]) {return function(event) {FreiChat.min_max_freichat()
Uncaught SyntaxError: Unexpected token ILLEGAL
};}}}})
More details:
<script>alert('module freichatx says: arg.php file not
Uncaught SyntaxError: Unexpected token ILLEGAL
found!');</script>
My current setup is:
/var/www/html/crmweb
Hi, that solved the problem.
Next issue is, only the first user that i logged in managed to display the chat properly. All subsequent users just show loading. there is no error in console.
Open up your console , click on netwrok tab , and check for the response of any request made by freicha at the time when it is not loading .
what response do you get there ?
Hi, I have stumbled upon the same problem. "Sugarcrm has been auto installed" message without any download. I can login into the admin frontend without trouble.
Freichat client doesnt seem to work when i login into sugar.
So how did you solve this particular problem?
There was no request for the location of any sugar files during installation process.
The video linked here also doesnt seem to be up anymore.
Help would appreciated greatly :)
Thanks for the quick reply!
doesn't look like it :-/
thats the source once I logged in. (startscreen)
Sugar runs in a local environment
<link rel="SHORTCUT ICON" href="themes/Sugar5/images/sugar_icon.ico?v=oGt7CSUV1gCRG0O70YPqUw"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><title>Alice</title><link rel="stylesheet" type="text/css" href="cache/themes/Sugar5/css/yui.css?v=oGt7CSUV1gCRG0O70YPqUw"><link rel="stylesheet" type="text/css" href="include/javascript/jquery/themes/base/jquery.ui.all.css"><link rel="stylesheet" type="text/css" href="cache/themes/Sugar5/css/deprecated.css?v=oGt7CSUV1gCRG0O70YPqUw"><link rel="stylesheet" type="text/css" href="cache/themes/Sugar5/css/style.css?v=oGt7CSUV1gCRG0O70YPqUw"><script>var module_sugar_grp1 = 'Users';</script><script>var action_sugar_grp1 = 'Login';</script><script>jscal_today = 1000*1387283906; if(typeof app_strings == "undefined") app_strings = new Array();</script><script type="text/javascript" src="cache/include/javascript/sugar_grp1_jquery.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><script type="text/javascript" src="cache/include/javascript/sugar_grp1_yui.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><script type="text/javascript" src="cache/include/javascript/sugar_grp1.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><script type="text/javascript" src="include/javascript/calendar.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><script>
if ( typeof(SUGAR) == 'undefined' ) {SUGAR = {}};
if ( typeof(SUGAR.themes) == 'undefined' ) SUGAR.themes = {};
</script><script type="text/javascript" src="cache/themes/Sugar5/js/style.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><script type="text/javascript">
<!--
SUGAR.themes.theme_name = 'Sugar5';
SUGAR.themes.theme_ie6compat = false;
SUGAR.themes.hide_image = 'themes/Sugar5/images/hide.gif?v=oGt7CSUV1gCRG0O70YPqUw';
SUGAR.themes.show_image = 'themes/Sugar5/images/show.gif?v=oGt7CSUV1gCRG0O70YPqUw';
SUGAR.themes.loading_image = 'themes/Sugar5/images/img_loading.gif?v=oGt7CSUV1gCRG0O70YPqUw';
SUGAR.themes.allThemes = eval();
if ( YAHOO.env.ua )
UA = YAHOO.env.ua;
-->
</script><script type="text/javascript" src="cache/include/javascript/sugar_field_grp.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><a name="top"></a>
<div id="header">
<div id="companyLogo">
<a href="index.php?module=Home&action=index" border="0">
<img src="themes/default/images/company_logo.png?v=oGt7CSUV1gCRG0O70YPqUw&logo_md5=1d2df0902a895af3e05dbc7c4e6758eb" width="141" height="15" alt="Firmenlogo" border="0"></a>
</div> <div id="globalLinks">
<ul><li>
<a id="employees_link" href="index.php?module=Employees&action=index&query=true">Mitarbeiter</a>
</li>
<li>
<span>|</span> <a id="training_link" href="javascript:void(0)" onclick="void(window.open('http://support.sugarcrm.com'))">Support</a>
</li>
<li>
<span>|</span> <a id="about_link" href="index.php?module=Home&action=About">Über</a>
</li>
</ul></div> <div class="clear"></div>
<div class="clear"></div>
<br><br><div id="ajaxHeader">
<div id="moduleList">
<ul><li class="noBorder"> </li>
</ul></div>
</div>
<div class="clear"></div>
<div class="line"></div>
</div>
<iframe id="ajaxUI-history-iframe" src="index.php?entryPoint=getImage&imageName=blank.png" title="empty" style="display:none"></iframe>
<input id="ajaxUI-history-field" type="hidden"><script type="text/javascript">
if (SUGAR.ajaxUI & !SUGAR.ajaxUI.hist_loaded)
{
YAHOO.util.History.register('ajaxUILoc', "", SUGAR.ajaxUI.go);
YAHOO.util.History.initialize("ajaxUI-history-field", "ajaxUI-history-iframe");
}
</script><div id="main">
<div id="content" class="noLeftColumn">
<table style="width:100%"><tr><td><link rel="stylesheet" type="text/css" media="all" href="modules/Users/login.css?v=oGt7CSUV1gCRG0O70YPqUw"><script type="text/javascript" src="modules/Users/login.js?v=oGt7CSUV1gCRG0O70YPqUw"></script><script>
function validateAndSubmit(){generatepwd();}
</script><!--
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
--><script type="text/javascript">
var LBL_LOGIN_SUBMIT = 'Ausführen';
var LBL_REQUEST_SUBMIT = 'Ihre Anfrage wurde übermittelt.';
var LBL_SHOWOPTIONS = 'Optionen anzeigen';
var LBL_HIDEOPTIONS = 'Optionen verbergen';
</script><table cellpadding="0" align="center" width="100%" cellspacing="0" border="0" style="margin-top: 100px;"><tr><td align="center">
<div class="loginBoxShadow" style="width: 460px;">
<div class="loginBox">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%"><tr><td align="left"><b>Willkommen bei</b><br><img src="include/images/sugar_md_open.png" alt="Sugar" width="340" height="25" style="margin: 5px 0;"></td>
</tr><tr><td align="center">
<div class="login">
<form action="index.php" method="post" name="DetailView" id="form" onsubmit="return document.getElementById('cant_login').value == ''">
<table cellpadding="0" cellspacing="2" border="0" align="center" width="100%"><td scope="row" colspan="2">
<span class="error" id="browser_warning" style="display:none">
<b>Achtung:</b> Ihre Browser Version wird nicht mehr unterstützt oder Sie verwenden einen nicht unterstützten Browser..<p></p>Wir empfehlen folgende Versionen:<p></p><ul><li>Internet Explorer 10 (Kompatibilitätsmodus nicht unterstützt)</li><li>Firefox 24</li><li>Safari 5.1</li><li>Chrome 29</li></ul></span>
<span class="error" id="ie_compatibility_mode_warning" style="display:none">
<b>Hinweis:</b> Ihr Browser ist in der IE Kompatibilitätssicht welche nicht unterstützt wird.
</span>
</td>
<tr><td scope="row" width="1%"></td>
<td scope="row"><span id="post_error" class="error"></span></td>
</tr><tr><td scope="row" colspan="2" width="100%" style="font-size: 12px; font-weight: normal; padding-bottom: 4px;">
<input type="hidden" name="module" value="Users"><input type="hidden" name="action" value="Authenticate"><input type="hidden" name="return_module" value="Users"><input type="hidden" name="return_action" value="Login"><input type="hidden" id="cant_login" name="cant_login" value=""><input type="hidden" name="login_module" value="Home"><input type="hidden" name="login_action" value="index"><input type="hidden" name="login_record" value=""><input type="hidden" name="login_token" value=""><input type="hidden" name="login_oauth_token" value=""><input type="hidden" name="login_mobile" value=""></td>
</tr><tr><td> </td></tr><tr><td scope="row">Sprache:</td>
<td><select style="width: 152px" name="login_language" onchange="switchLanguage(this.value)"><option value="en_us">English (US)</option><option selected value="de_de">Deutsch</option></select></td>
</tr><tr><td scope="row" width="30%"><label for="user_name">Benutzername:</label></td>
<td width="70%"><input type="text" size="35" tabindex="1" id="user_name" name="user_name" value=""></td>
</tr><tr><td scope="row"><label for="user_password">Passwort:</label></td>
<td width="30%"><input type="password" size="26" tabindex="2" id="user_password" name="user_password" value=""></td>
</tr><tr><td> </td>
<td><input title="Anmelden" class="button primary" type="submit" tabindex="3" id="login_button" name="Login" value="Anmelden"><br> </td>
</tr></table></form>
</div>
</td>
</tr></table></div>
<div class="password">
<form action="index.php" method="post" name="fp_form" id="fp_form">
<table cellpadding="0" cellspacing="2" border="0" align="center" width="100%"><tr><td colspan="2" class="login_more">
<div style="cursor: hand; cursor: pointer; display:;" onclick='toggleDisplay("forgot_password_dialog");'>
<a href="javascript:void(0)"><img src="themes/Sugar5/images/advanced_search.gif?v=oGt7CSUV1gCRG0O70YPqUw" border="0" alt="Hide Options" id="forgot_password_dialog_options">Passwort vergessen?</a>
</div>
<div id="forgot_password_dialog" style="display:none">
<input type="hidden" name="entryPoint" value="GeneratePassword"><table cellpadding="0" cellspacing="2" border="0" align="center" width="100%"><tr><td colspan="2">
<div id="generate_success" class="error" style="display:inline;"> </div>
</td>
</tr><tr><td scope="row" width="30%"><label for="fp_user_name">Benutzername:</label></td>
<td width="70%"><input type="text" size="26" id="fp_user_name" name="fp_user_name" value=""></td>
</tr><tr><td scope="row" width="30%"><label for="fp_user_mail">E-Mail Adresse:</label></td>
<td width="70%"><input type="text" size="26" id="fp_user_mail" name="fp_user_mail" value=""></td>
</tr><tr><td scope="row" width="30%"><div id="wait_pwd_generation"></div></td>
<td width="70%"><input title="Email Temp Password" class="button" type="button" style="display:inline" onclick="validateAndSubmit(); return document.getElementById('cant_login').value == ''" id="generate_pwd_button" name="fp_login" value="Ausführen"></td>
</tr></table></div>
</td>
</tr></table></form>
</div>
</div>
</td>
</tr></table><br><br><!--end body panes--></td></tr></table></div>
<div class="clear"></div>
</div>
<div id="bottomLinks">
</div>
<div id="footer">
<div id="responseTime">
Server Antwortzeit: 0.20 Sekunden.
</div>
<div id="copyright">
© 2004-2013 SugarCRM Inc. The Program is provided AS IS, without warranty. Licensed under <a href="LICENSE.txt" target="_blank" class="copyRightLink">AGPLv3</a>.<br>This program is free software; you can redistribute it and/or modify it under the terms of the <br><a href="LICENSE.txt" target="_blank" class="copyRightLink"> GNU Affero General Public License version 3</a> as published by the Free Software Foundation, including the additional permission set forth in the source code header.<br>SugarCRM is a trademark of SugarCRM, Inc. All other company and product names may be trademarks of the respective companies with which they are associated.<br><img style="margin-top: 2px" border="0" width="120" height="34" src="include/images/poweredby_sugarcrm_65.png" alt="Powered By SugarCRM"></div>
</div>
<script>
if(SUGAR.util.isTouchScreen()) {
setTimeout(resizeHeader,10000);
}
//qe_init function sets listeners to click event on elements of 'quickEdit' class
if(typeof(DCMenu) !='undefined'){
DCMenu.qe_refresh = false;
DCMenu.qe_handle;
}
function qe_init(){
//do not process if YUI is undefined
if(typeof(YUI)=='undefined' || typeof(DCMenu) == 'undefined'){
return;
}
//remove all existing listeners. This will prevent adding multiple listeners per element and firing multiple events per click
if(typeof(DCMenu.qe_handle) !='undefined'){
DCMenu.qe_handle.detach();
}
//set listeners on click event, and define function to call
YUI().use('node', function(Y) {
var qe = Y.all('.quickEdit');
var refreshDashletID;
var refreshListID;
//store event listener handle for future use, and define function to call on click event
DCMenu.qe_handle = qe.on('click', function(e) {
//function will flash message, and retrieve data from element to pass on to DC.miniEditView function
ajaxStatus.flashStatus(SUGAR.language.get('app_strings', 'LBL_LOADING'),800);
e.preventDefault();
if(typeof(e.currentTarget.getAttribute('data-dashlet-id'))!='undefined'){
refreshDashletID = e.currentTarget.getAttribute('data-dashlet-id');
}
if(typeof(e.currentTarget.getAttribute('data-list'))!='undefined'){
refreshListID = e.currentTarget.getAttribute('data-list');
}
DCMenu.miniEditView(e.currentTarget.getAttribute('data-module'), e.currentTarget.getAttribute('data-record'),refreshListID,refreshDashletID);
});
});
}
qe_init();
SUGAR_callsInProgress++;
SUGAR._ajax_hist_loaded = true;
if(SUGAR.ajaxUI)
YAHOO.util.Event.onContentReady('ajaxUI-history-field', SUGAR.ajaxUI.firstLoad);
</script>Can you try changing the location of the freichat code in the index.php file , like cut paste the code in the upper part of the index.php file .
no change :-/
thats how index.php looks like now (I took out the license comment)
<?php if(!defined('sugarEntry'))define('sugarEntry', true);
$freichatx_code_written = true;
function freichatx_get_hash(){
if(is_file("freichat/hardcode.php")){
require('freichat/hardcode.php');
if(isset($_SESSION['authenticated_user_id']))
{
$temp_id=$_SESSION['authenticated_user_id'].$uid;
}
else
{
$temp_id='0'.$uid;
}
return md5($temp_id);
}
else
{
echo "<script>alert('module freichatx says: hardcode.php file not
found!');";
}
return 0;
}
function freichatx_get_id()
{
if(isset($_SESSION['authenticated_user_id']))
{
$id = $_SESSION['authenticated_user_id'];
}
else
{
$id = '0';
}
return $id;
}
$freichatx_html=ob_get_clean();
$html='<script type="text/javascript" language="javascipt" src="http://localhost/crm/freichat/client/main.php?id='.freichatx_get_id().'&xhash='.freichatx_get_hash().'"></script><link rel="stylesheet" href="http://localhost/crm/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">';
$freichatx_html=str_replace("",$html,$freichatx_html);
echo $freichatx_html;
include ('include/MVC/preDispatch.php');
$startTime = microtime(true);
require_once('include/entryPoint.php');
ob_start();
require_once('include/MVC/SugarApplication.php');
$app = new SugarApplication();
$app->startSession();
$app->execute();
?>Make sure you put the freichat code after this line : ob_start(); in the index.php file .
If that still does not work, give us your FTP details, we will install it for you.
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.