⚠ In case you've missed it we are migrating 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 forum is read-only and soon will be archived. ⚠


muuucho

Member Since 19 Feb 2016
Offline Last Active Feb 26 2016 07:38 PM
-----

Topics I've Started

Validation gives error when creating new post

22 February 2016 - 09:59 AM

    public function mymembers()
            {
$crud = new grocery_CRUD();
                        //$crud->set_theme('bootstrap');
                        $crud->set_subject('Medlemmar');//Header etc
                        $crud->columns('name', 'age', 'born', 'userInterestId');//name of the columns
                        $crud->fields('name', 'age', 'born', 'userInterestId');//name of the columns
                        $crud->set_relation('userInterestId', 'interests', 'interestName');//the relation to another table
$crud->required_fields('age','born');//validation
                        
$output = $crud->render();
$this->_example_output($output);
            }

examples doesnt run

19 February 2016 - 07:15 AM

Trying to start grocerycrud for the first time by running the preinstalled examples. I go to the examples page and clck the link Customers. This gives me the error message "The server can not find the requested page:

xxx.xxx.xxx.xxx/cigc/index.php/examples/customers_management (port 80)".

 

I assume that the view shall be generated by grocerybrud.

 

This is a brand new installation of both Codeigniter and grocery crud on a remote server. I have only changed the db connection data and set up the sample database.