Services - 6.x-2.4
Deploy - Latest dev
Drupal - 6.19

Deployment log details are:
Module—login
Description—Remote user login
Result—Error
Message—Parse error. Not well formed.

The login that I'm using is correct, I've double checked it, and tried to use another admin user's login as well with the same result.

I've followed the Deploy install guide exactly, and I can't find any other dependencies that might be causing this issue (I'm not running the Date API module). I've seen these issues:

http://drupal.org/node/999218
http://drupal.org/node/669970

Neither provide a solution to this problem for my setup.

Any insight you can provide would be helpful

Comments

dirtysteak’s picture

I am also having this issue, and have reviewed both of the nodes referenced above. I do not have a date field in my node type, and I don't want to hack core...

I am running the same version of deploy, but Drupal core 6.20 instead of the OP's 2.19.

My error log details are identical, one line.

I see the error on multiple types of node pages, with different fields (some with images, some simply content, etc...)

dirtysteak’s picture

Just noticed that when I submitted the module-enable form for all of the services on the destination server, none of them were selected. I also uploaded into the /modules directory on accident instead of the sites/all/modules dir (I don't think it technically matters for this, but still a bonehead move). I will fix these issues and report back if it helps.

dirtysteak’s picture

Well, unfortunately resolving these issues didn't remove the error. Still getting a "Parse Error, Not Well Formed"

bmartinP4’s picture

As far as I can tell these errors only have to do with the login being malformed, not the data being sent. The process isn't getting as far as actually opening a connection and sending data, because there is no record of a connection being opened on my source server. Like the error specifies, this is a login problem, and not a data parsing problem.

dirtysteak’s picture

Any chance it has to do with special characters in the login? I'm using a generated password that has loads of special chars in it....are you?

bmartinP4’s picture

Nope. Just standard letters/numbers.

dirtysteak’s picture

Well, count my instance of this error in the bonehead category. I tried to follow the install instructions exactly, but it seems that I took some liberty at step five for the deployment server. I had only entered the base address for my live site. Instead, following the following step as written solved my problem.

5. Enter 'Live Server' for the Name and 'http://your-destination-site.example.com/services/xmlrpc' for the URL field. (Replace "your-destination-site.example.com" with the domain that you will be using for your actual destination server.) Save the server information.

Hopefully this helps someone else who makes the same mistake.

Thanks for the cool module.

bmartinP4’s picture

Glad to hear you got it working! Now if only I could do the same.

ifuyivara’s picture

Did you ever worked it out? I'm having the same problem

katbailey’s picture

Any time you get a response like this it basically means there was a fatal error on the destination server. Check your error logs there.

dixon_’s picture

Status: Active » Postponed (maintainer needs more info)

As katbailey says, it's probably a problem on the destination side. Could we see some more extensive logs from there?

danmuzyka’s picture

In case this helps anyone who comes across this support thread, here is how we addressed this error. After digging through the code and printing out lots of dpm()s, we discovered that the session ID was not being returned from the destination site when Deploy was attempting to login. Through process of elimination, we determined that this issue was caused by a small syntax error in a custom module: a blank line above the opening <?php tag.

My hunch is that this line break was causing Drupal to send the HTTP headers too early, before the session was set. Whether or not that is the specific cause of the issue in our case, removing that line (and removing a stray $nid =0; that was in the module but not in any functions and was leftover from early development) fixed the issue.

This is a rather specific case that probably isn't the cause of this error message for most sites, but thought I'd post it here in case it happens to help someone.

dixon_’s picture

To help version 6.x-1.x move forward, please see this issue: #526936: Find best way to proceeding with 6.x-1.x and more specifically this comment: http://drupal.org/node/526936#comment-4931548

robin van emden’s picture

I encountered the very same problem. In our case, the problem went away after simply disabling the Devel module. Might be a way to fix this for some.