I am using $cookie_domain = ".mysite.com"; because of the change from 6.17 (i am running my drupal site in a subfolder) and after upgrade, autocomplete fields and ajax when i am trying to update a display in one of my views are giving me an error.

Also the following error is occuring when i am trying to run update.php: HTTP POST is required.
warning: array_pop() [function.array-pop]: The argument should be an array in mysite.com/update.php on line 314.

Comments

sotiris’s picture

Status: Active » Fixed

Hmmmm solved it, this wasn't a Drupal bug, after changing $cookie_domain = ".mysite.com"; you must add at .htaccess file a new rewrite condition to include .myexample.com


Hope that i will help somebody, who will have the same problem.

cog.rusty’s picture

What rewrite condition?

rfay’s picture

You would never put a "." in front of the domain on $cookie_domain.

It should be

$cookie_domain = "example.com";

cog.rusty’s picture

Since 6.17 you do need to add the dot, if you have subdomains which you want to use the same cookie domain, as per RFC 2109. Drupal doesn't add the dot automatically any more as it did until now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.