<p>I'm guessing you're on MediaTemple?</p>

<p><a href="http://buildwithcraft.com/help/forms-returning-json" rel="nofollow">http://buildwithcraft.com/help/forms-returning-json</a></p>

CC BY-SA 3.0
2014-11-07T02:12:40.893Z
Correct! I apologize... I have no idea how I missed that help topic. I am already starting to dislike MT.
Keith
CC BY-SA 3.0
2014-11-07T02:11:28.683Z
2014-11-07T02:11:28.683Z
Brad Bell
<p>I am running Craft Pro 2.2.2601. When I submit an entry, I am getting back JSON rather than being redirected to a success page.</p>

<p>For example, I just go to:</p>

<pre><code>/admin/entries/pages/new
</code></pre>

<p>I fill out some fields and click <code>Save</code>. It kicks me to the next page that displays JSON as the source as opposed to an "Entry saved" flash message:</p>

<pre><code>{"success":true,"title":"Services","cpEditUrl":"http:\/\/www.test123.com\/admin\/entries\/pages\/22-services","author":{"id":"1","enabled":"1","archived":"0","locale":"en_us","localeEnabled":true,"slug":null,"uri":null,"dateCreated":{"date":"2014-11-04 15:44:04","timezone_type":1,"timezone":"+00:00"},"dateUpdated":{"date":"2014-11-04 15:44:04","timezone_type":1,"timezone":"+00:00"},"root":null,"lft":null,"rgt":null,"level":null,"username":"test123","photo":null,"firstName":null,"lastName":null,"email":"test123@gmail.com","preferredLocale":null,"admin":"1","client":"0","status":"active","lastLoginDate":{"date":"2014-11-07 02:01:58","timezone_type":1,"timezone":"+00:00"},"invalidLoginCount":null,"lastInvalidLoginDate":null,"lockoutDate":null,"passwordResetRequired":"0","lastPasswordChangeDate":{"date":"2014-11-04 15:44:04","timezone_type":1,"timezone":"+00:00"},"unverifiedEmail":null,"newPassword":null,"currentPassword":null,"verificationCodeIssuedDate":null},"postDate":"11\/6\/2014"}
</code></pre>

<p>The page also contains the posted data, so refreshing re-submits the form post. I have disabled JS compression and it worked once (got the "Entry saved" flash message), but now it is back to spitting out JSON.</p>

<debugging>
JSON response displayed as plain text on submission when creating/editing an entry
# JSON response displayed as plain text on submission when creating/editing an entry

(Asked by: username_0 on 2014-11-07)

I am running Craft Pro 2.2.2601. When I submit an entry, I am getting back JSON rather than being redirected to a success page.
For example, I just go to:
/admin/entries/pages/new

I fill out some fields and click Save. It kicks me to the next page that displays JSON as the source as opposed to an "Entry saved" flash message:
{"success":true,"title":"Services","cpEditUrl":"http:\/\/www.test123.com\/admin\/entries\/pages\/22-services","author":{"id":"1","enabled":"1","archived":"0","locale":"en_us","localeEnabled":true,"slug":null,"uri":null,"dateCreated":{"date":"2014-11-04 15:44:04","timezone_type":1,"timezone":"+00:00"},"dateUpdated":{"date":"2014-11-04 15:44:04","timezone_type":1,"timezone":"+00:00"},"root":null,"lft":null,"rgt":null,"level":null,"username":"test123","photo":null,"firstName":null,"lastName":null,"email":"test123@gmail.com","preferredLocale":null,"admin":"1","client":"0","status":"active","lastLoginDate":{"date":"2014-11-07 02:01:58","timezone_type":1,"timezone":"+00:00"},"invalidLoginCount":null,"lastInvalidLoginDate":null,"lockoutDate":null,"passwordResetRequired":"0","lastPasswordChangeDate":{"date":"2014-11-04 15:44:04","timezone_type":1,"timezone":"+00:00"},"unverifiedEmail":null,"newPassword":null,"currentPassword":null,"verificationCodeIssuedDate":null},"postDate":"11\/6\/2014"}

The page also contains the posted data, so refreshing re-submits the form post. I have disabled JS compression and it worked once (got the "Entry saved" flash message), but now it is back to spitting out JSON.

**Tags:** debugging


---

## 1 answers

### Answer by username_1 on 2014-11-07. Score: 2 | Accepted answer

I'm guessing you're on MediaTemple?

<http://buildwithcraft.com/help/forms-returning-json>

> **Comments:**
> **username_0**: Correct! I apologize... I have no idea how I missed that help topic. I am already starting to dislike MT.  

---

