Resources
Resources
Troubleshooting Unexpected JSON Output
When you submit a form in Craft, if you’re getting JSON output rather than a normal webpage, chances are you’re hosting with MediaTemple and in your web root’s .htaccess
file you have the following code:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
<Files *.php>
Options +ExecCGI
</Files>
</IfModule>
Comment it out to solve the issue:
# <IfModule mod_fcgid.c>
# AddHandler fcgid-script .php
# <Files *.php>
# Options +ExecCGI
# </Files>
# </IfModule>