Jump to content

Error in adding records

error internal error insert_validation

  • Please log in to reply
No replies to this topic

#1 patogh2018



  • Members
  • Pip
  • 1 posts

Posted 17 May 2018 - 03:09 AM

Hello, I am facing a problem with GC. I need to add some info to a table and I am getting the error:


500 (Internal Server Error)


This is the code I have in the controller:


function testdb(){
   $crud = new grocery_CRUD();
   $output = $crud->render();
   $output -> op = 'user_management';
My table testdb has only 3 feilds: id (INT), A(INT) and B(varchar 100) - mysql


When I remove the "$crud->required_fields('A');" I am able to save the data, but when I activate the required_field conditions the system returns 500 (Internal Server Error). I have checked logs for errors but nothing found.


Can you help me?


Thanks for your help,

Attached Thumbnails

  • error.png

Also tagged with one or more of these keywords: error, internal error, insert_validation

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users