Welcome Guest, Not a member yet? Register   Sign In
New Server... XMLRPC Fail?
#1

[eluser]MNDMatt[/eluser]
I just uploaded my app to a new server, with the EXACT same code base, and getting completely stuck on this problem:

Old Server :
Code:
---DATA---
HTTP/1.1 200 OK
Date: Sat, 04 Apr 2009 17:25:31 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/5.2.3
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=9dfbcb9feaa227d9fb73f76e55d1a4b9; expires=Sat, 04 Apr 2009 18:25:32 GMT; path=/magento; domain=www.mndcreative.com; HttpOnly
Set-Cookie: PHPSESSID=9dfbcb9feaa227d9fb73f76e55d1a4b9; expires=Sat, 04-Apr-2009 18:25:32 GMT; path=/magento; domain=www.mndcreative.com; httponly
Connection: close
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse><params><param><value><array><data/></array></value></param></params></methodResponse>

---END DATA---

New Server:
Code:
---DATA---
HTTP/1.1 302
Date: Sat, 04 Apr 2009 17:40:00 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/5.2.3
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=9dfbcb9feaa227d9fb73f76e55d1a4b9; expires=Sat, 04 Apr 2009 18:40:00 GMT; path=/magento; domain=www.mndcreative.com; HttpOnly
Set-Cookie: PHPSESSID=deleted; expires=Fri, 04-Apr-2008 17:39:59 GMT; path=/magento; domain=www.mndcreative.com; httponly
Set-Cookie: PHPSESSID=deleted; expires=Fri, 04-Apr-2008 17:40:00 GMT; path=/magento; domain=www.mndcreative.com; httponly
Location: http://mndcreative.com/magento/index.php/
Content-Length: 0
Connection: close
Content-Type: text/html


---END DATA---

bool(false) Did not receive a '200 OK' response from remote server. (HTTP/1.1 302)

Any ideas on what could be going wrong here?

New Server Details - New Mosso Cloud Server, installed LAMP myself (via yum).

Please help!
#2

[eluser]slowgary[/eluser]
I don't know much about it, but have you looked up the HTTP status code? A 302 has has to do with redirection. Maybe it's your htaccess?
#3

[eluser]MNDMatt[/eluser]
Same exact .htaccess file...
Code:
Options +ExecCGI
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
#4

[eluser]tomcode[/eluser]
I've called

http://mndcreative.com/magento/index.php/ -> failure
http://mndcreative.com/magento/index.php -> works

Do You work with rewriting ?

Edit : meanwhile You've posted You're .htaccess.

Try setting the RewriteBase
Code:
RewriteBase /magento/
#5

[eluser]MNDMatt[/eluser]
Well, I haven't tinkered at all with the Magento htaccess file. Would I need to be changing something on my end instead to make a change?
#6

[eluser]slowgary[/eluser]
Also, www.mndcreative.com does not work, only mndcreative.com (minus the 'www.'), so either your .htaccess is breaking it, or your DNS records need a CNAME added.
#7

[eluser]tomcode[/eluser]
No, I was stupid. Your Rewrite is fine, at least for regular adresses. Your site works. I got now 'No input file specified.', when I call

http://mndcreative.com/magento/index.php/

Seems like he doesn't like the last slash.
#8

[eluser]MNDMatt[/eluser]
But if the magento service was the problem, wouldn't it return the same error on both of my servers that Im testing from?

My dev server is returning 200, my mosso server is 302...




Theme © iAndrew 2016 - Forum software by © MyBB