⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Add attachment and Data Shows JSON output



jspano
  • profile picture
  • Member

Posted 26 April 2012 - 17:49 PM

On any submit I get the following output:
[attachment=132:Screen shot 2012-04-26 at 1.46.54 PM.png]

The data will actually update but any attachments do not work.

Any ideas on what is going on?

(This is running on a live server)

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 26 April 2012 - 20:44 PM

You have javascripts errors . Check your firebug and see what is going on before the insert.

jspano
  • profile picture
  • Member

Posted 27 April 2012 - 14:25 PM

No errors are coming up and I haven't really modified the code too much from the examples. Any other ideas?

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 April 2012 - 19:09 PM

You forgot to change the base url on your live server project. As I see you have as base url: localhost:8888/other/assetmanager that proably is wrong

jspano
  • profile picture
  • Member

Posted 01 May 2012 - 13:08 PM

Nope, fixed that and it stills spits out that type of output.

nileshd
  • profile picture
  • Member

Posted 12 May 2013 - 20:41 PM

What I saw caused this error for me is dual insertion of Jquery from my regular page.. i put grocery crud within my regular header and footer, and the dual insertion of jquery and jquery-ui caused grocery crud to output json rather than regular. Maybe try to check if other javascript libraries you are inserting is conflicting with the ones grocery crud is inserting?