Error in Drupal: Page Not Found - misc/jquery. cookie.js

Asked by:
moonshine
Time:
2012-04-24 11:03 pm
Category:
Drupal
Hits:
1,196
It doesn't effect the user, but I have a back log of these errors.


Page Not Found - misc/jquery.cookie.js - But it IS There!

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

ChristiNi
2012-04-25 12:28 pm
Hello moonshine,

I'm sorry you're having trouble with your Drupal site. While checking into this, I found that this error usually is triggered when you are in the admin area of Drupal. The file jquery.cookie.js triggers a mod_security rule on the server. To resolve this, there are two options:

1. Request that mod_security be turned of for the site. This can be done by sending an email to support@webhostinghub.com with the domain name you want mod_security disabled for. Be sure to include either the AMP password or the last 4 digits of the credit card on file for account verification.

2. Using the cPanel File Manager, change the file name jquery.cookie.js to jquery_cookie.js and modify your modules/system/system.module file as follows:

Look for the following code and change misc/jquery.cookie.js to misc/jquery_cookie.js


// Cookie.
$libraries['jquery.cookie'] = array(
'title' => 'Cookie',
'website' => 'http://plugins.jquery.com/project/cookie',
'version' => '1.0',
'js' => array(
'misc/jquery.cookie.js' => array(),
),
);


Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Can't login to email
  2. "WordPress Login Temporarily Disabled"?
  3. Google Adwords Credit Link Doesn't Work in AMP

Support 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.