Updates failing
I keep getting HTML output from my put attempts that indicate an error occured. I have tried using curl and code to make a change. The change is to change teh state of a ticket. I am logged in using my email and password, and a get request to the ticket works, but the put fails. I have also tried with the xml processing instructions. See below:
What I send: open
The url: http://technomage.lighthouseapp.com/projects/14439/tickets/1.xml
What I get back: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Sorry, there was an error
#down {
width: 600px;
margin: 30px auto 30px auto;
text-align: left;
font-weight: bold;
font-size: 120%;
line-height: 150%;
border: 3px solid #fff;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
-o-border-radius: 8px;
border-radius: 8px;
background: #ddd;
}
.dmessage {
padding: 18px;
}
h2 {
font-size: 140%;
background-color: [#5](/discussions/api-developers/5 "Discussion #5")A9ECF;
color: #fff;
padding: 18px;
border-bottom: 3px solid [#005588](/discussions/api-developers/005588 "Discussion #005588");
-webkit-border-top-right-radius: 8px;
-webkit-border-top-left-radius: 8px;
}
document.observe('dom:loaded', function() {
$('back').writeAttribute('href', document.referrer);
});
<!-- container -->
<h2>Sorry, you've stumbled on an error</h2>
<div class="dmessage">
<p>It looks like you've stumbled on an error. We've been notified of the problem.</p>
<p><a href="#" id="back">« Go back to the page you were on</a>.</p>
</div>
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac