⚠ 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

set_relation_n_n - ( Example Film management stalls on submit)



metsy
  • profile picture
  • Member

Posted 30 August 2012 - 15:15 PM

I installed Grocery Crud 1.3 into Bonfire ( codeigniter HMVC ) all the examples work perfect with the exception of the Film management example, when I submit nothing happens I get the following error from Chrome Console:


Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://localhost:8080/my_site/examples/film_management/insert
Uncaught SyntaxError: Unexpected token <

I have set [color=#282828][font=helvetica, arial, sans-serif] "csrf_protection = FALSE"[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]Any help would be greatly appreciated,[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]Metsy[/font][/color]

metsy
  • profile picture
  • Member

Posted 30 August 2012 - 16:14 PM

Solved:
I was submitting the form without a default value for the "rental duration", this caused an SQL error.