Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Pass custom variables to Shield custom layout
Post: Pass custom variables to Shield custom layout

Hi, I'm trying to integrate Shield into my custom layout. I copied the login.php view into app/Views/Shield and setup my layout in app/Config/Auth.php My custom layout takes some custom variables a...
447 Views
2 Replies
04-11-2024, 03:11 AM
Fred9176
    Thread: CurlRequest Cookies not working
Post: RE: CurlRequest Cookies not working

Thank you, I think I found where the problem is : In fact : the login page redirects to an other page, which sets the cookie. The problem is that this redirection changes from POST to GET. B...
533 Views
2 Replies
12-13-2023, 01:10 AM
Fred9176
    Thread: CurlRequest Cookies not working
Post: CurlRequest Cookies not working

Hello, I'm migrating an CI3 app to CI4 (4.4.3) and I have problem to make CurlRequest working fine with cookies. In CI3, I used plain old PHP curl :  PHP Code: -- $ch = curl_init(); curl_seto...
533 Views
2 Replies
12-12-2023, 06:19 AM
Fred9176
    Thread: CLI library : be able to print arrays or objects
Post: RE: CLI library : be able to print arrays or objec...

I noted something strange : if I use print_r or d() between CLI:write commands, the result of these 2 commands are all written after all the CLI:write commands returns. For example, the following c...
711 Views
3 Replies
12-11-2023, 05:30 AM
Fred9176
    Thread: CLI library : be able to print arrays or objects
Post: RE: CLI library : be able to print arrays or objec...

Thank you, I didn't know this one for CI ;-)
711 Views
3 Replies
12-10-2023, 01:48 PM
Fred9176
    Thread: CLI library : be able to print arrays or objects
Post: CLI library : be able to print arrays or objects

Hi, Would it be possible to add the equivalent of print_r or var_dump to the CLI librayy ?  Actually, it only allows strings as input and this will also permit to display arrays and objects. Than...
711 Views
3 Replies
12-04-2023, 03:01 AM
Fred9176
    Thread: Toolbar slow on Raspberry Pi 1B and 3B (Docker/Alpine)
Post: RE: Toolbar slown on Raspberry Pi 1B and 3B (Docke...

kenjis Wrote: (04-26-2023, 12:11 AM) -- Just to confirm, that property is baseURL, not baseUrl. But you did set in app/Config/App.php. A setting mistake is not likely to happen. Do you see the ...
1,106 Views
4 Replies
04-26-2023, 12:19 AM
Fred9176
    Thread: Toolbar slow on Raspberry Pi 1B and 3B (Docker/Alpine)
Post: RE: Toolbar slown on Raspberry Pi 1B and 3B (Docke...

kenjis Wrote: (04-25-2023, 05:33 PM) -- Did you do Initial Configuration? See https://codeigniter.com/user_guide/installation/running.html#initial-configuration -- Yes, baseUrl is set. I tried se...
1,106 Views
4 Replies
04-26-2023, 12:01 AM
Fred9176
    Thread: Toolbar slow on Raspberry Pi 1B and 3B (Docker/Alpine)
Post: Toolbar slow on Raspberry Pi 1B and 3B (Docker/Alp...

Hi, I'm migrating an old CI3 app to CI4. This new app is hosted on Docker with Alpine 3.17 and php8.1. On my laptop (with standard processor), everything runs fine. But when I deploy my code...
1,106 Views
4 Replies
04-25-2023, 09:53 AM
Fred9176
    Thread: SQL : join with tables with same fields name (eg primary id) return invalid results
Post: SQL : join with tables with same fields name (eg p...

Hi, I noticed that if I build a query with 2 tables having the same name for primary key (and I guess this will be the case with any other field), the result is invalid as the id key in the resulti...
1,465 Views
2 Replies
11-27-2020, 06:20 AM
Fred9176
  Lightbulb Thread: Magic routing for modules
Post: Magic routing for modules

Hi, Would it be possible to enable magic routing for modules ? This will be much easier than defining all routes manually The URL should be /acme/blog/list, fo example, where acme is the name o...
11,416 Views
12 Replies
07-24-2019, 08:32 AM
Fred9176
    Thread: [solved] Multiple instances of a model
Post: RE: Multiple instances of a model

Thank you very much, it works fine :-)
3,588 Views
2 Replies
03-21-2016, 09:23 AM
Fred9176
    Thread: [solved] Multiple instances of a model
Post: [solved] Multiple instances of a model

Hi, I would like to know if it was possible to have multiple instances of the same model in a controller. For exemple, I'dlike to do something like that :  $objects = array(); for($i = 1;$...
3,588 Views
2 Replies
03-21-2016, 08:24 AM
Fred9176

Theme © iAndrew 2016 - Forum software by © MyBB