As a regular Drupaller I come across quite a few errors now and again. Fortunately (although I get this one quite a bit in views) I do know what I am doing wrong. It is all down to the `
$base_url that you have set in
settings.php. If you have set it (uncommented the # from http://www.example.com) and you attempt to use it from a non authenticated domain you will get this error. For example if you have set the
$base_url as “http://www.mydomain.co.uk" but you are using views from the domain “http://mydomain.co.uk" then you will encounter problems. Simple change the url to the correct one!
I have written out the instructions in a process format for those looking for a walkthrough.
/sites/$new_url/settings.phpin your favourite text editor.
# $base_url = 'http://www.example.com';