echo "Clearing Database Cache\n";
// this needs to clear it's own cache along with remote one..
-
- $response = $this->curl("http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache");
+ $url = "http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache";
+ $response = $this->curl($url);
$json = json_decode($response, true);
if(empty($json['data']) || $json['data'] != 'DONE'){
- echo $response. "\n";
+ echo "fetching $url\n";
+ echo "GOT:" . $response. "\n";
echo "Clear DataObjects Cache failed\n";
exit;
}
id int(11) NOT NULL auto_increment,
PRIMARY KEY (id)
) ENGINE=innodb DEFAULT CHARSET=utf8 ;
--- need to specify engine set, as
+-- need to specify engine set, otherwise the unique index get's borked.
ALTER TABLE core_domain ADD COLUMN domain VARCHAR(255) NOT NULL DEFAULT '';