In this tutorial we will show you how to fix the Joomla 2.5 javascript error that occurs when using the Module Manager. This may occur after performing an upgrade, and the error will look similar to this:

"A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."

This error typically occurs when you have a large number of menus, and the javascript times out while processing them. This can be solved by replacing the validate.js file with a corrected version.

We are assuming you are familiar with your website's file location, here is a link to an article that explains the directory structure in deeper detail

Fix the Javascript Error:

  1. Backup your Joomla website.
  2. Using FTP or File manager navigate to the existing validate.js file located here:
    /media/system/js/validate.js
  3. Rename the existing validate.js something like:
    validate.js.old
  4. Download the corrected validate.js file from github.
    Here is a link to the full download page:
    https://gist.github.com/rmcdaniel/192835346f68c2ead8fc/download
  5. Extract the downloaded file and upload to:
    /media/system/js/validate.js
  6. Now, clear your browser cache, then log back into the Joomla! Admin panel.

 

Congratulaions, now you know how to fix the issue with Joomla 2.5 that causes javascript errors when using the Module Manager! We would like to thank the Official Joomla Support forum for providing this solution. 

 

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Comments

n/a Points
2014-07-11 3:46 pm

I have used the fix and it works well, however, when I have the fixed validate.js installed, I have issues saving the global configuration and saving users.

If I replace the fixed validate.js with the original, global config and users work and the module saving is slow again, Sigh!

Staff
13,455 Points
2014-07-11 7:53 pm
Hello Glenn,

I'm sorry to hear that you're having problems with the validate.js file. This is an issue with Joomla 2.5 for which we unfortunately cannot fix directly for you. The developers who work with Joomla would need to provide a fix as John Paul indicates above. The best link I've found detailing their efforts to fix the issue can be found here. This fix addresses module manager issues. As Joomla is above version 3.1, you may find that updating to the latest code might be the only way permanently fix the problem. If you do update, make sure that you backup your website files and database.

Regards,
Arnel C.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.