Jump to content


Traveller

Member Since 06 Aug 2016
Offline Last Active Aug 09 2016 10:09 AM
-----

Posts I've Made

In Topic: GroceryCrud Add and Update does not work

08 August 2016 - 06:25 PM

good hint ;)  - Thank you I got it now.

 

Just for everone new to grocerycrud having the same problem (and for anyone interested especially grocery CRUD Master ;)

 

In the console I get the network error:

 

for the add: "NetworkError: 404 Not Found - http://MYDOMAIN.COM/...mployees/insert"
for the update: "NetworkError: 404 Not Found - http://MYDOMAIN.COM/...ees/update/1088"

the index.php is in http://MYDOMAIN.COM/ci/index.php so far the first part is correct. but then there is a second index.php

the edit screen is working on the url: http://MYDOMAIN.CON/...oyees/edit/1088

so I guess the correct path should be: http://MYDOMAIN.COM/...php/1102/insert

(just one /ci/index.php less).

 

THE PROBLEM: in the config.php I set

             $config['base_url'] = '/ci';

             $config['index_page'] = 'index.php';

 

and in the index.php:

             $system_path = '../../sys';

             $application_folder = '../../app';

homepage root pointed to was public_html/
test directory with index.php was public_html/ci/index.php

So if you wanna try to think yourself first, what´s wrong here, dont read after the *** stars ***

 

**********************************************

okay, here comes the solution:

.

.

.

.

.

             $config['base_url'] = '';

 

--> This was the soluton to not set a second 'index.php/ci'

 

Thank you so much for you help grocery CRUD Master.

 

best wishes from a Traveller ;)

 

 

 

 

 

 

 

 

 


In Topic: GroceryCrud Add and Update does not work

07 August 2016 - 01:37 PM

Nobody who can help?

some additional information: i´m using mariadb (mysql compatible) database and I tried with it the tables: MyISAM and InnoDB

If there is a solution to this decides if I will use grocerycrud or not ;(

 

Would be happy if someone could help!