⚠ 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. ⚠


fdias

Member Since 31 Jan 2012
Offline Last Active Jul 21 2016 11:43 PM
-----

Posts I've Made

In Topic: example doesn't work !

22 February 2016 - 06:10 PM

Put your base url. In this case http://localhost/backofficeFuego


In Topic: Too much spam here!

22 February 2016 - 12:32 PM

the spammer even makes fun of this!!!

 

I guess there are no moderators here.


In Topic: Issue with The newbies grocery CRUD Tutorial

22 February 2016 - 12:16 PM

Ratso,

 

Have you tried the URL without index.php? Perhaps it's configured as blank in CI config file.


In Topic: Bootstrap Theme - Search not working

22 February 2016 - 12:05 PM

If you can't help, please do not reply. You are a SPAMMER and reply the same shit in all posts! Hope you get banned, because I for one am not going anywhere near your stupid links!

 

[UPDATE ON THE BOOTSTRAP SEARCH ISSUE]

 

I believe I found the problem with the search. I had CSRF ENABLED on my config.php for codeigniter, as bellow:
 
/*
|--------------------------------------------------------------------------
| Cross Site Request Forgery
|--------------------------------------------------------------------------
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
| checked on a submitted form. If you are accepting user data, it is strongly
| recommended CSRF protection be enabled.
|
| 'csrf_token_name' = The token name
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
| 'csrf_regenerate' = Regenerate token on every submission
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
*/
 
$config['csrf_protection'] = TRUE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
 
$config['csrf_regenerate'] = FALSE;
 
 
The thing is only bootstrap theme does not allow it to be enabled in order to search. With the other themes the search works fine.
 
I believe this is a bug and it should be fixed, because CSRF is a valid security precaution.