by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SugarCRM or SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Free Trial

By clicking you consent to share your profile with the developer

#2954 - Cannot validate License Key

Closed Installation created by chandan 7 years ago

Dear Support Team,

We are using SecuritySuite and Sugar CRM CE version 6.5.18 on our network drive. But It takes long time to login to Sugar CRM.

So we are going to move sugar CRM to new server but still using SecuritySuite with old Sugar CRM.

On the other hand, we have successfully installed new sugar CRM version 6.5.25 on new server.

But cannot validate license key of Security Suite. Error message shown like that 'Public Key is required'.

We are using Xampp Server Version 1.7.2 with PHP 5.3.0 and Apache 2.2.12.

Kindly check the attached images and provide the solutions of how to solve this problem.

Thanks for your time.

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    7 years ago

    Did you do a new installation of SecuritySuite or simply migrate files over? I suggest completely installing the 6.5.25 version of SecuritySuite so that the correct files get copied. Do make sure that file permissions/ownership is set correctly or this will not install completely. This is a handy script to set permissions/ownership correctly before installing: http://www.shanedowling.com/sugarcrm-permissions-script/.

    Also make sure that php_curl is enabled on the new server and that config_override.php in the root Sugar folder on the server is at least temporarily writable by Apache during the license key validation.

    Hope this helps!

  2. chandan member avatar

    chandan

    7 years ago

    Dear Eggsurplus,,

    We have already downloaded and installed security suite version 6.5.25. CURL is enabled and Permission settings are also configured already. Our new installed Sugar CRM is under htdocs folder. Kindly see the following information:

    httpd.conf

    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    

    User

    Group

    config_override.php

    <?php /CONFIGURATOR/ $sugar_config['securitysuite_additive'] = true;

    $sugar_config['securitysuite_user_role_precedence'] = true;

    $sugar_config['securitysuite_user_popup'] = true;

    $sugar_config['securitysuite_popup_select'] = false;

    $sugar_config['securitysuite_inherit_creator'] = true;

    $sugar_config['securitysuite_inherit_parent'] = true;

    $sugar_config['securitysuite_inherit_assigned'] = true;

    $sugar_config['securitysuite_strict_rights'] = true;

    $sugar_config['securitysuite_shared_calendar_hide_restricted'] = true;

    $sugar_config['securitysuite_filter_user_list'] = false;

    $sugar_config['addAjaxBannedModules'][0] = 'SecurityGroups';

    $sugar_config['addAjaxBannedModules'][1] = 'SecurityGroups'; $sugar_config['securitysuite_version'] = '6.5.25';

    $sugar_config['default_permissions']['user'] = '';

    $sugar_config['default_permissions']['group'] = '';

    /CONFIGURATOR/

    CURL Enabled version

    cURL support enabled cURL Information 7.19.4 SSL Version OpenSSL/0.9.8k ZLib Version 1.2.3

    How we send attached photos? We are still using security suite on current running Sugar CRM on network drive. If new installation is successful, we will no longer use Sugar CRM on network drive.

    Our New server is Windows Server 2008 and we are trying to install security suite with new sugar CRM on Windows server but still not started as Live cos of facing this issue.

    Thanks for your quick response.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      Do you have php_curl enabled? That would be under php_info().

      The error "Public key is required" tells me that a key file (/modules/SecurityGroups/license/config.php) does not exist on the new server. This can happen if you use a source code repository and have done a blanket gitignore on any config.php file.

      Another possibility is that the new server cannot connect to https://www.sugaroutfitters.com.

      Images can be added here via the image icon or just email me at solutions@eggsurplus.com.

      If you can verify/try those first 3 items I'm sure you will find the issue preventing it from validating.

  3. chandan member avatar

    chandan

    7 years ago

    Dear Sir,

    We have enabled CURL in PHP.ini. We have send email to solutions@eggsurplus.com. Kindly check the attached photos and provide us any solution to solve that issue.

    Thanks for your kindness.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      Thank you.

      Can you try reinstalling SecuritySuite? It's not passing over the data correctly on the License API. This does not happen in general. Something during the server moved caused this issue to come up. Reinstalling SecuritySuite should do the trick. Do back up before reinstalling. Use the 6.5.25 version of SecuritySuite to install.

    • chandan member avatar

      chandan

      7 years ago

      thanks for the advice

      We have already reinstalled and still it doesn't work.

      We will do it again,

      Just to inform you we are still using old server and now we doing a fresh installation. Once the new installation is working good then we will close the old server.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      Odd. Not sure how to help you. Basically that error means that the key in that license config.php isn't being sent to the license server. Not sure what else on the server or network may be causing the request to be altered, but whatever it is, it's not reaching our servers as it should.

  4. chandan member avatar

    chandan

    7 years ago

    Dear Team,

    We reinstalled xampp server with PHP Version 5.6.3, then can validate License key. PHP 5.6.3 is not recommended by Sugar CRM CE version 6.5.25. We found that Add Invitee Search function in Meeting module doesn't work.

    Hence we downgraded to PHP version 5.3.0 to compatible with Sugar CE version, we cannot validate License Key, but search function is working.

    If you don't mind, Kindly help us how to configure to solve these errors.

    Thanks.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      Both PHP 5.3.0 and 5.6.3 are regularly used for licensing. Do you see any errors in your PHP error logs when validating the license?

  5. chandan member avatar

    chandan

    7 years ago

    With PHP 5.6.3 , We got following error when we click search button of add Invitees function.

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data[Learn More] sugar_grp1_yui.js:253:3976 YAHOO.lang.JSON.parse http://localhost/SugarCRM/cache/include/javascript/sugar_grp1_yui.js:253:3976 method_callback http://localhost/SugarCRM/cache/include/javascript/sugar_grp_jsolait.js:32:38 YAHOO.util.Connect.handleTransactionResponse http://localhost/SugarCRM/cache/include/javascript/sugar_grp1_yui.js:46:4420 YAHOO.util.Connect.handleReadyState/this._poll[c.tId]< http://localhost/SugarCRM/cache/include/javascript/sugar_grp1_yui.js:46:3933

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      I can't help you with that issue, but do you see any errors on 5.3.0 related to the licensing issue?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      I'm not familiar enough with your new server, but something is up that is causing the required parameters not to send when pinging the License API. That needs to be addressed in order to validate the license. It worked on your current/previous server. Something in the new server is making it not work. Not sure if it is a missing file, permissions, network configuration, but something is causing it not to ping with any parameters. We can see as much in our logs. That's all that information we can work with. I'm sorry that we can't help beyond that. I could spend time on your server to get it to work, but we would have to charge for that service and it wouldn't be guaranteed given the unknowns.

  6. chandan member avatar

    chandan

    7 years ago

    Thanks. How much do you charge for services to evaluate our server?

  7. chandan member avatar

    chandan

    7 years ago

    We got this error message .

    ..../sugarcrm/index.php?module=SecurityGroups&action=outfitterscontroller&to_pdf=1 : [HTTP/1.1 400 Bad Request 1542ms]

  8. chandan member avatar

    chandan

    7 years ago

    Dear Provider,

    Just to inform you that we can validate license on new server. Although it doesn't show successful message, we can create security groups and assign these groups to specific roles.

    Thanks for your quick reply and support.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      That's great to hear! I verified that that license ping came through successfully here as well. Odd on the display, but at least everything is working now.

      I'm going to close this case out, but feel free to reply here or create a new case if something comes up.

      Thank you!

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "We have big problem with SuiteCRM v.7.3.1 when creating custom screen by group. The Dashlets on the start page disappear for all user, we have this pr..." - claude_f.

    Read More Reviews