Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am having some issues with posting content into the site through xml. The service has been running sucessfully in the past, however, I am now facing issues with extra pages being returned before the appropriate data. This is the response when posting to an endpoint.
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 16 Dec 2012 10:11:15 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Vary: Accept-Encoding
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><struct>
<member><name>nid</name><value><string>1582</string></value></member>
</struct></value>
</param>
</params>
</methodResponse>
However the response I need is just:
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><struct>
<member><name>nid</name><value><string>1582</string></value></member>
</struct></value>
</param>
</params>
</methodResponse>
I have tried disabling Boost and also attempted to create a new location in nginx vhost. Not sure if it is linked to the 404 json request (http://drupal.org/node/1460882).
I am running it on Ubuntu 10.04 running as a VPS in Xen.
Comment | File | Size | Author |
---|---|---|---|
install.log_.txt | 5.6 KB | willhallonline | |
barracuda.cnf_.txt | 2.29 KB | willhallonline | |
barracuda_log.txt | 1 KB | willhallonline |
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedClosing as a duplicate of #1865848: strange things & ajax errors after upgrade. and others referenced there. A quick hint - disable and uninstall Purge & Expire and then clear all caches.
Comment #2
willhallonlineThanks very much. This has stumped me for about 2 weeks.