Hi Sam,
thank you for your reply. The error message is probably generated by the web server. I also checked the error log and it comes up with this message:
[Tue Jul 08 09:17:54 2008] [error] [client xxx.xxx.xxx.xxx] ModSecurity: Access denied with code 501 (phase 1). Match of "rx (?:^(?:application/x-www-form-urlencoded$|multipart/form-data;)|text/xml)" against "REQUEST_HEADERS:Content-Type" required. [id "960010"] [msg "Request content encoding is not allowed by policy"] [severity "WARNING"] [hostname "domain.name.co.nz"] [uri "/new/admin/getitem?ID=1&ajax=1"] [unique_id "m9hWIdIFMgMAAHemQAUAAAAI"]
I found a few messages in other forums on error 501. It often appears in combination with Ajax. Usually the problem seems to be that the request method via the Ajax script (e.g. prototype) is set as 'post' but it should be 'POST' or 'get' but it should be 'GET'. I tried and replaced all lower case 'post' and 'get' in the javascript files with upper case ones but the result did not change.
I am using Firefox 3 and IE 7 (Windows). I can use other Silverstripe installations on different servers without any problem.
If anyone had a similar problem or can point me to the right direction I would be very grateful. ModSecurity seems to cause the problem but I don't know what setting would need to be changed.
Cheers!
Anatol