Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: AJAX error for some users when going to the view a list of contacts

AJAX error for some users when going to the view a list of contacts 2 months 4 days ago #67864

  • dmcguire
  • dmcguire's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
For some users, the message:

There was an error processing your request, please try again at a later time./ If this error persists, please have your administrator disable Ajax for this module

Appears when going to view the list of contacts.

An error is thrown in the browser:

"AjaxUI error parsing response" in sugar_grp1.js

A quick repair does not change the symptoms.

There are no errors thrown in suitecrm.log or in the server's httpd error log.

This is on SuiteCRM 7.10.6 and was first reported after an upgrade to 7.10.5 from 7.10.1.

Any suggestions are welcome and appreciated.

-Darrell
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 3 days ago #67892

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1076
  • Karma: 250
Can you reproduce this in the live demo?

suitecrm.com/demo

You can try some other repairs from Admin / Repair (anything javacsript related)
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 8 hours ago #67976

  • dmcguire
  • dmcguire's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
I've done all Javascript related rebuilds/ fixes.
I've been unable to duplicate the issue in the sandbox.

For most users it is fine. For a few it is not. If I turn off AJAX for that module, then I get a terse screen with only the ability to add a new contact.
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 5 hours ago #67986

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1076
  • Karma: 250
That error you mentioned (AjaxUI error parsing response" in sugar_grp1.js) is that on the page itself, or on the Browser's Developer console?

If it is on the page, check also the console, please.
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 5 hours ago #67987

  • dmcguire
  • dmcguire's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
The reference to sugar_grp1.js is only visible through the browser's console.
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 5 hours ago #67994

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1076
  • Karma: 250
Ok, thanks. And in the Developer console, please go to the Network tab and reload the page with the error.

Then tell me if you see any HTTP request there with a failure (like a 500 error), and any additional info it shows in that error.
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 4 hours ago #67998

  • dmcguire
  • dmcguire's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Error:

HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
(XHR)GET - www.DOMAINNAMEGOESHERE.com/crm/index.php...d=1&loadLanguageJS=1


Code:

var panel=SUGAR.ajaxUI.errorPanel;panel.setHeader(SUGAR.language.get('app_strings','ERR_AJAX_LOAD'));panel.setBody('<iframe id="ajaxErrorFrame" style="width:780px;height:550px;border:none;marginheight="0" marginwidth="0" frameborder="0""></iframe>');panel.setFooter(SUGAR.language.get('app_strings','ERR_AJAX_LOAD_FOOTER'));panel.render(document.body);SUGAR.util.doWhen(function(){var f=document.getElementById("ajaxErrorFrame");return f!=null&&f.contentWindow!=null&&f.contentWindow.document!=null;},function(){document.getElementById("ajaxErrorFrame").contentWindow.document.body.innerHTML=errorMessage;window.setTimeout('throw "AjaxUI error parsing response"',300);});SUGAR.ajaxUI.errorMessage=errorMessage;window.setTimeout('if((typeof(document.getElementById("ajaxErrorFrame")) == "undefined" || typeof(document.getElementById("ajaxErrorFrame")) == null || document.getElementById("ajaxErrorFrame").contentWindow.document.body.innerHTML == "")){document.getElementById("ajaxErrorFrame").contentWindow.document.body.innerHTML=SUGAR.ajaxUI.errorMessage;}',3000);panel.show();panel.center();throw"AjaxUI error parsing response";},canAjaxLoadModule:function(module)


Request Headers

Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US, en; q=0.5
Cache-Control: no-cache
Connection: Keep-Alive
Cookie: sugar_user_theme=SuiteP; EmailGridWidths=0=10&1=10&2=150&3=250&4=175&5=125; ck_login_language_20=en_us; ck_login_id_20=48931375-e67e-01f6-9702-5b22947e64f8; PHPSESSID=1831da6c85fd9157089450bce5dc97e9
Host: www.baldwingroup.com
Referer: www.DOMAINNAMEGOESHERE.com/crm/index.php?action=ajaxui
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
X-Requested-With: XMLHttpRequest


Response Headers

Cache-Control: no-store, no-cache, must-revalidate
Connection: close
Content-Length: 3126
Content-Type: text/html; charset=UTF-8
Date: Fri, 15 Jun 2018 11:07:49 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: Apache/2.4.6 (CentOS) PHP/7.1.17 SVN/1.7.14 mod_wsgi/3.4 Python/2.7.5
Set-Cookie: ck_login_id_20=48931375-e67e-01f6-9702-5b22947e64f8; expires=Thu, 13-Sep-2018 11:07:49 GMT; Max-Age=7776000; path=/; domain=www.DOMAINNAMEGOESHERE.com; HttpOnly
Set-Cookie: ck_login_language_20=en_us; expires=Thu, 13-Sep-2018 11:07:49 GMT; Max-Age=7776000; path=/; domain=www.DOMAINNAMEGOESHERE.com; HttpOnly
Set-Cookie: sugar_user_theme=SuiteP; expires=Sat, 15-Jun-2019 11:07:49 GMT; Max-Age=31536000; HttpOnly
X-Powered-By: PHP/7.1.17

The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 4 hours ago #68002

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1076
  • Karma: 250
I have a foggy memory of an issue just like this. It was related to "saved searches" on the list view. That's why it was user specific.

Let's try and clear the saved searches from those users.

Try entering this as your browser's URL:
http://localhost/index.php?action=index&module=Contacts&searchFormTab=advanced_search&query=true&clear_query=true

Change that "localhost" to be your server URL (like my.company.com).

This has to be done for each user that shows the error.
The administrator has disabled public write access.

AJAX error for some users when going to the view a list of contacts 2 months 4 hours ago #68004

  • dmcguire
  • dmcguire's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
That totally fixed it; thanks!!!
The administrator has disabled public write access.
Time to create page: 0.118 seconds
Powered by Kunena Forum