Closed (fixed)
Project:
Drupal core
Version:
6.17
Component:
ajax system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2010 at 18:15 UTC
Updated:
23 Jun 2010 at 04:00 UTC
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
Comment #1
sotiris commentedHmmmm 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.
Comment #2
cog.rusty commentedWhat rewrite condition?
Comment #3
rfayYou would never put a "." in front of the domain on $cookie_domain.
It should be
$cookie_domain = "example.com";
Comment #4
cog.rusty commentedSince 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.