HostGator.com » Support Portal

Why do I get an AJAX Failure error in the email section of cpanel?

In a recent update, cPanel integrated AJAX scripting into the control panel. You may notice this in how menus "slide" and "expand," however it can cause browser incompatibilities.

The error appears similar to "AJAX Failure! I failed 3 times. Please refresh the page and try again." and it shows only in the email account section of cPanel. At this time it only affects Safari version 4.

Please try this fix at your own risk, this will permanently change the WebKit version on your computer. We do not assist with the installation or removal of this software and we suggest using any other possible browser first.

Problems with Safari 4

A number of Javascript bugs arise in SafariĀ® 4 BETA when you use it to access cPanel.

You can avoid these bugs either by clicking the click here link at the bottom of the page, or by running the latest version of WebKit, the HTML and CSS rendering engine used by Safari. Interacting with WebKit is the same as interacting with Safari.

Executing the following instructions will allow you to preserve your preferences and bookmarks while employing WebKit as a workaround for the Javascript bugs in Safari 4 BETA.

  1. Install the latest version of WebKit from http://nightly.webkit.org.
  2. Enter Safari’s Preferences and set the default browser to WebKit.
  3. Close Safari.
    • We recommend removing Safari’s icon from your Dock to prevent accidentally accessing it in the future.
  4. Add the WebKit icon to your dock or desktop.
    • An example of this icon can be seen in the figure below.

webkit.png
The WebKit Icon

The Email Accounts page is the only feature in cPanel known to be affected by the bug. It may also be important to note that Wordpress’ RTE requires the same fix.

In addition to these steps, connecting to cPanel's secure port (2083) may prevent this issue from occurring.


Article Comments

Ian C.
It seems that Safari 5 also does not work to support your AJAX in CPanel

happy3b1
hello there
I found a way to use old interface just disabled JavaScript for some time & u got a error ( Your email accounts are not displayed because either your browser does not support JavaScript or you have disabled it.
Click here to use an interface that requires less JavaScript. )
just click on link & old interface is working .
happy3b1

zota
cPanel interface isn't working in Safari 5 for me either. This cPanel bug also disables the chron job interface -- attempting to edit a cron job throws an ajax error *and* deletes the settings from the cron job.

I tried loading the page without javascript - the cron page doesn't load at all without javascript turned on.

Is there a global way to disable all the javascript effects from all current versions of cPanel?

And are there plans for a fully functional version of cPanel? This bug is crippling - I really don't want to go around explaining to my users which features work with which browsers.

john
I don't want to get TOO excited yet, but I just upgraded to Safari 5.0.2, and the Ajax problem seemed to go away. I haven't tried everything to see, so it would be good to hear from others if they are seeing goodness.

bavanek
I use 5.0.2 too but run into the same AJAX issue.

HostGator tech support suggested I use Firefox until such time as Apple fixes the issue in Safari. Since I set up email addresses sparingly, this may work for a few months but it reflects poorly on Safari IMHO.

Lee
The problem isn't in Safari, the problem is in CPanel. It used to work until they broke it.

Jim
No, the problem is Safari.

The new cPanel uses AJAX, a very common and universal programming style which most browsers are able to handle. Safari is not able.

amilelka
I'm having the same error on firefox with win 7

Joe White
According to

http://forums.cpanel.net/f145/add-version-javascript-files-url-stop-ajax-error-messages-173861.html

the problem lies in an updated version of AJAX and Safari using the cached version of the files on the page. Emptying the cache worked for me.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment