http://localhost:8888/directory/examples/photos
I can view the photos table. I can delete a row. But when I go into Edit, and click Update Changes, the "Loading, updating changes..." message shows and stays. In my Safari console, the following error is displayed:
POST [color="#545454"]http://localhost:[/color][color="#545454"]8888[/color][color="#545454"]/directory/examples/photos/update_validation/84[/color] 500 (Internal Server Error)
Here is the function in examples.php:
function photos()
{
try{
/* This is only for the autocompletion */
$crud = new grocery_CRUD();
$crud->set_theme('datatables');
$crud->set_table('photos');
$crud->set_subject('Photos');
$crud->columns('token', 'name');
$output = $crud->render();
$this->_example_output($output);
}catch(Exception $e){
show_error($e->getMessage().' --- '.$e->getTraceAsString());
}
}
Any idea why?