Concrete 5.6 jQuery cookie issue

Permalink 1 user found helpful
Hey,

I just attempted to install the new C5 installation (which looks great btw) on my hosting provider (name.com), however I am getting a '406' error on the installation when it is trying to load the 'concrete/js/jquery.cookie.js' file.

A bit of looking around online suggests that some hosts have a 'mod_security' rule which prevents loading up files with '.cookie' in the name.

The immediate workaround I can come up with for this is to rename the file, and any places it might be referenced in the source; however this isn't ideal as should I upgrade later, I'm sure the issue might possibly present itself again.

I didn't know if anyone had come across this issue as of yet?

Cheers,

Dan

 
Job replied on at Permalink Reply
Job
Does the file definitely exist?
Danives replied on at Permalink Reply
Yeah - I fixed it by changing the two scripts filenames to 'jquerycookie.js' and then changing two files in the Concrete5 library to get past the issue. I believe the files were:

/concrete/single_pages/install.php
/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php

Was then able to install without any issue! Definitely a permissions thing.

D
wroxbox replied on at Permalink Reply
I might have similar issue cause Firebug says:
"NetworkError: 406 Not Acceptable -http://dev.domain.org/concrete/js/jquery.cookie.js"...

Edit: The issue was the same and renaming the jquery.cookie.js to another and fix those files linking into it fixed the installation.