WP interfers with script saving to DB
-
I have an affiliate script call fantasos installed in the directory “2”: mysite.com/2 and WP is installed on the main directory. I’m using a theme from ithemes. The fantaos script located in the 2 derectoy has a followup auto responder system.
When we try to save the 1-st text message, Fantasos sends POST request to DB, nothing intercepts this request and data is saved successfully. Thus the correct response is returned by the server. Here is the CORRECT header of the server’s response:
—
HTTP/1.1 301 Moved permanently
Date: Sun, 26 Apr 2009 15:17:09 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Set-Cookie: zen_sbr=20090426111139-1E34BA20; domain=.successteam1.com; path=/
Location: /2/master/plugins/followupman/messages.html?keep_search=1
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/cgi
—Here we can see the CORRECT Fantasos’s redirect URL: /2/master/plugins/followupman/messages.html?keep_search=1
When we try to save the 2-nd text message, Fantasos sends POST request to DB, something intercepts this request and data is not saved. In this case the incorrect response is returned by the server. Here is the INCORRECT header of the server’s response:
—
HTTP/1.1 301 Moved Permanently
Date: Sun, 26 Apr 2009 15:16:12 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.6
X-Pingback: http://www.successteam1.com/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Last-Modified: Sun, 26 Apr 2009 15:16:12 GMT
Location: http://www.successteam1.com/2/master/plugins/followupman/messages.html
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8
—Here we can see the INCORRECT redirect URL: http://www.successteam1.com/2/master/plugins/followupman/messages.html. It seems that this redirect URL is generated by this:
X-Pingback: http://www.successteam1.com/xmlrpc.phpIt is not clear why does the issue appear only when the 2-nd text is being saved, but it is completely clear that WordPress causes this issue.
- The topic ‘WP interfers with script saving to DB’ is closed to new replies.