Drupal – Admin Module $.cookie is not a function Error

Recently i need to migrate a Drupal 6 website to a hosting. Everything seems work fine but the Admin module fails to work. The following error is shown in Firebug console.

  • $.cookie is not a function


 

After checking the module issue, it is found that the error was caused by the mod_security setting. But i have no permission to edit Apache setting in the new hosting.
Luckily the following patch by pdrake works
Download jqcookie by pdrake

The problem is resolved after enabling the jqcookie module.

Done =)

Reference: Drupal Admin issues – Uncompressed javascript fails with admin module enabled

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.