by Urdhva Tech

Need a landing page for your next campaign? A way for your customers to create support cases? Do your sales reps need a way to enter leads? With WebToModule you can create custom webforms for these any many other users. Supports all modules, including custom modules.

Includes a 30 day guarantee
Try it Now

#2996 - Non admin user access to add-on

Closed Bug? created by Solus Verified Purchase 3 years ago

I instaled Web To Module on my local instance and I works finw when I log in as an Adminstrator user but when logged in as any other user I get the following error

Mon Aug 10 15:41:22 2020 [16476][4abfbd97-1936-53ce-3a5a-5f2d2efdf0a9][FATAL] SugarOutfitters_API::call(): HTTP Request failed: Array
(
    [url] => https://store.suitecrm.com/api/v2/key/validate?key=697895834c8f97d05699cbb7f5ab068b&public_key=8865f4bed3a24ab802b2b4942f57c9cf%2Ced757ceaef6ab1ada555d0da1c8cb74e%2Ca547d21116e8d3d0cbfeba47eed2a095%2C11b547d323d6b68da1b2c9edb095da13%2C1ea78ba331e17ada24fd24ece0e52b33%2C3e8b714324456444e797a9264d6dbfa3&user_count=9&group_user_count=0&admin_user_count=1&sugar_edition=CE&sugar_fork=SuiteCRM&db_type=mssql&developerMode=true&host_name=localhost&package_scan=false&sugar_version=6.5.25&site_url=http%3A%2F%2Flocalhost%2Fcrm&addon_version=3.1.19&metadata=
    [content_type] => application/json
    [http_code] => 400
    [header_size] => 203
    [request_size] => 582
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.788292
    [namelookup_time] => 0.004862
    [connect_time] => 0.198544
    [pretransfer_time] => 0.574696
    [size_upload] => 0
    [size_download] => 21
    [speed_download] => 26
    [speed_upload] => 0
    [download_content_length] => 21
    [upload_content_length] => -1
    [starttransfer_time] => 0.788256
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 104.130.124.191
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 10.2.1.200
    [local_port] => 49559
)

Mon Aug 10 15:41:22 2020 [16476][4abfbd97-1936-53ce-3a5a-5f2d2efdf0a9][FATAL] OutfittersLicense::doValidate() failed: Array
(
    [success] => 
    [result] => Key does not exist.
)

Mon Aug 10 15:41:24 2020 [16476][4abfbd97-1936-53ce-3a5a-5f2d2efdf0a9][FATAL] Exception handling in C:\Users\Stuart\source\repos\CRM\include\MVC\Controller\SugarController.php:400
Mon Aug 10 15:41:24 2020 [16476][4abfbd97-1936-53ce-3a5a-5f2d2efdf0a9][FATAL] Exception in Controller: Unauthorized access to administration.
Mon Aug 10 15:41:24 2020 [16476][4abfbd97-1936-53ce-3a5a-5f2d2efdf0a9][FATAL] backtrace:
#0 C:\Users\Stuart\source\repos\CRM\modules\UT_WebToModule\views\view.license.php(25): sugar_die('Unauthorized ac...')
#1 C:\Users\Stuart\source\repos\CRM\include\MVC\View\SugarView.php(224): ViewLicense->preDisplay()
#2 C:\Users\Stuart\source\repos\CRM\include\MVC\Controller\SugarController.php(435): SugarView->process()
#3 C:\Users\Stuart\source\repos\CRM\include\MVC\Controller\SugarController.php(375): SugarController->processView()
#4 C:\Users\Stuart\source\repos\CRM\include\MVC\SugarApplication.php(113): SugarController->execute()
#5 C:\Users\Stuart\source\repos\CRM\index.php(52): SugarApplication->execute()
#6 {main}

The non-admin user has been given full access to the module. Any thoughts on how to fix this?

SuiteCRM V7.11.10 Web To Module V5.1 MS SQL Db IIS PHP V7.1.33

  1. urdhvatech member avatar

    Urdhva Tech Provider Affiliate

    3 years ago

    Hello,

    It should work properly for nonadmin users as well. However, I have checked the URL you have mentioned into the support case and it seems the public key is not of the WebToModule. Have you installed any other plugin into your CRM? If yes then might be the public key is of that plugin. Can you please investigate that and let us know? That will help us to identify the actual reason behind this error. You can get in touch on Skype as well. We are fall in the IST timezone. Our Skype id: urdhvatech

    Thanks & Regards, Team Urdhva Tech.

  2. StuartRegan member avatar

    Solus Verified Purchase

    3 years ago

    Hi, I have installed a few add-ons but it looks like that public key is for SecuritySuite. SecuirtySuite seems to be working in all other regards.

  3. urdhvatech member avatar

    Urdhva Tech Provider Affiliate

    3 years ago

    Hello,

    The public key is not from any of our plugins. The strange part is that it is populated SecuritySuite's public key to validate. We have uploaded the new version(5.2) of WebToModule which includes the latest license code of the store. Please download the latest version and install it. After installing the latest one first validate the license from the admin. Then after you will check for the non-admin user. If you are getting the same error again then we will need to check it on your instance. You can connect with us on this email address > contact@urdhva-tech.com

    While uninstalling the previous version please select the "Do Not Remove Tables" option on the screen otherwise all your records from the WebToModule will be removed from your system.

    Thanks & Regards, Team Urdhva Tech.

  4. urdhvatech member avatar

    Urdhva Tech Provider Affiliate

    3 years ago

    Hello,

    The issue has been resolved into the latest WebToModule version(5.2). Closing the ticket.

    Thanks & Regards, Team Urdhva Tech.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating