Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CSRF vuejs-axios not working
Post: RE: CSRF vuejs-axios not working

Don't know if this thread is still active... just found it after writing https://forum.codeigniter.com/thread-74671.html Maybe helpful for new people ending up here
6,914 Views
3 Replies
10-22-2019, 02:25 PM
bartMommens
  Question Thread: CSRF : Codeigniter / VueJs VIA JSON
Post: CSRF : Codeigniter / VueJs VIA JSON

Hi, We are currently using VUEJS here we had a "hickup" with the csrf protection from Codeigniter when sending json data instead of default  form-data. After some researching we've found multiple ...
2,824 Views
2 Replies
10-22-2019, 02:20 PM
bartMommens
    Thread: Migration stopped working after v3.1.11
Post: RE: Migration stopped working after v3.1.11

dave friend Wrote: (10-04-2019, 08:09 PM) -- jreklund Wrote: (10-04-2019, 02:38 PM) -- @davefriend: It haven't always been there, look at the commit. It just got added to system/database/drivers/pdo...
10,999 Views
9 Replies
10-05-2019, 12:39 AM
bartMommens
    Thread: Migration stopped working after v3.1.11
Post: RE: Migration stopped working after v3.1.11

mboufos Wrote: (10-04-2019, 05:50 AM) -- bartMommens Wrote: (10-04-2019, 05:34 AM) -- mboufos Wrote: (10-04-2019, 05:31 AM) -- hello, just to be sure you copy paste the system folder and the mime...
10,999 Views
9 Replies
10-04-2019, 06:36 AM
bartMommens
    Thread: Migration stopped working after v3.1.11
Post: RE: Migration stopped working after v3.1.11

mboufos Wrote: (10-04-2019, 05:31 AM) -- hello, just to be sure you copy paste the system folder and the mime file right ? https://codeigniter.com/user_guide/installation/upgrade_3111.html -- Hi mb...
10,999 Views
9 Replies
10-04-2019, 05:34 AM
bartMommens
    Thread: Migration stopped working after v3.1.11
Post: Migration stopped working after v3.1.11

Hi, My project is using Migration library to create and update table structures. Until version 3.1.10 everything worked fine. i use cli to execute the migration: `php index.php migrate_controll...
10,999 Views
9 Replies
10-04-2019, 02:55 AM
bartMommens
    Thread: CI3 Multiple apps one source optimal performance
Post: CI3 Multiple apps one source optimal performance

Hey Guys, I've been struggling with this question for a while now. I've created an app in CI3, at first i had 1 client that used it so no problem there. Now after a few years i have 20+ clients using...
4,321 Views
3 Replies
08-21-2019, 02:28 AM
bartMommens
    Thread: How to Run/maintain "one" CI3 App hosted on multiple subdomains/ servers.
Post: RE: How to Run/maintain "one" CI3 App hosted on mu...

mboufos Wrote: (08-01-2019, 02:43 AM) -- you can have different controllers for differest clients like routes --> client1 go to --> client1/home routes --> client2 go to --> client2/home i dont k...
4,044 Views
4 Replies
08-01-2019, 05:03 AM
bartMommens
    Thread: How to Run/maintain "one" CI3 App hosted on multiple subdomains/ servers.
Post: RE: How to Run/maintain "one" CI3 App hosted on mu...

mboufos Wrote: (08-01-2019, 01:52 AM) -- Hello, i am working on a similar project with 1 x CI and N x Clients. So to avoid all the maintanance on the CI i have 1 CI in 1 domain and all the clients h...
4,044 Views
4 Replies
08-01-2019, 02:24 AM
bartMommens
    Thread: How to Run/maintain "one" CI3 App hosted on multiple subdomains/ servers.
Post: How to Run/maintain "one" CI3 App hosted on multip...

Hi, A year ago i've started developing an application in CI3. The general idea behind this was that every client would have a seperate (sub)domain with their version of the application/db (stand-al...
4,044 Views
4 Replies
08-01-2019, 01:42 AM
bartMommens
    Thread: Authentication libraries: Two factor auth support
Post: RE: Authentication libraries: Two factor auth supp...

jhob Wrote: (07-09-2019, 04:26 AM) -- Thanks for the responses.  After a bit of hunting around I found a fork of Ion Auth 2 that includes TOTP and have just had a quick play around with it and all ap...
13,615 Views
5 Replies
07-09-2019, 01:09 PM
bartMommens
    Thread: Authentication libraries: Two factor auth support
Post: RE: Authentication libraries: Two factor auth supp...

jhob Wrote: (07-08-2019, 08:44 AM) -- I was coming on here to ask the exact same question.  Did you ever find a solution that worked for you? -- Hey jhob, I had to custom build it, but started f...
13,615 Views
5 Replies
07-08-2019, 09:06 AM
bartMommens
    Thread: $config['csrf_exclude_uris'] seems to be ignored
Post: RE: $config['csrf_exclude_uris'] seems to be ignor...

digitalhuman Wrote: (09-08-2016, 12:10 AM) -- I had the same thing. Solved it by: $config['csrf_exclude_uris'] = array(    "log.*+" ); Disables CRSF for every URL starting with: log     ex: ...
12,813 Views
0 Replies
07-06-2019, 01:58 AM
bartMommens
    Thread: Loading models in controllers by extending a custom core class.
Post: RE: Loading models in controllers by extending a c...

Dave, no worries i wasn't sure about the rework to begin with. Your opinion is highly valued! I've just reverted all my commits on my git repo, with a little fail while doing it but .( Revert "R...
5,692 Views
4 Replies
05-26-2019, 10:29 AM
bartMommens
    Thread: Loading models in controllers by extending a custom core class.
Post: RE: Loading models in controllers by extending a c...

dave friend Wrote: (05-25-2019, 08:37 AM) -- It seems to me that the main problem you are trying to solve is bartMommens Wrote: (05-25-2019, 03:09 AM) -- I don't want to repeat code to check if t...
5,692 Views
4 Replies
05-26-2019, 03:37 AM
bartMommens
  Question Thread: Loading models in controllers by extending a custom core class.
Post: Loading models in controllers by extending a custo...

Hello, I'm currently building an application that uses the same models in different controllers. Instead of using the normal way, being loading the model in the controller i've build a "core controll...
5,692 Views
4 Replies
05-25-2019, 03:09 AM
bartMommens
    Thread: Can't access to config->item from routes.php
Post: RE: Can't access to config->item from routes.php

You can try to define a variable called CAR_CONFIG and load it in your routes like this: create file car_config: PHP Code: -- $car_config = array( 'route_car' => 'test' ); //Add whatever ...
1,977 Views
1 Replies
05-24-2019, 06:43 AM
bartMommens
    Thread: CI3 to CI4 Migrations (__construct)
Post: RE: CI3 to CI4 Migrations (__construct)

kilishan Wrote: (04-16-2019, 06:42 AM) -- You can definitely use the constructor for almost anything you need to. It was purposefully left blank so framework code didn't get in the way of what you ne...
15,659 Views
8 Replies
05-07-2019, 06:27 AM
bartMommens
    Thread: CI3 to CI4 Migrations (__construct)
Post: RE: CI3 to CI4 Migrations (__construct)

Hi kilishan, Thanks for the information. I've just stumbled upon the filters myself, you suggestion confirms that i'm in the right place. Looks like Before Filters can replace __construct() in my ...
15,659 Views
8 Replies
04-16-2019, 06:55 AM
bartMommens
    Thread: CI3 to CI4 Migrations (__construct)
Post: CI3 to CI4 Migrations (__construct)

Hello, i'm currently migrating a CI3 project over to CI4, my old project relied heavily on __constructor() so that each extended controller would require this. PHP Code: -- public function __cons...
15,659 Views
8 Replies
04-16-2019, 06:34 AM
bartMommens

Theme © iAndrew 2016 - Forum software by © MyBB