Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to get data after saving the model
Post: RE: How to get data after saving the model

You should read about entities: https://codeigniter4.github.io/CodeIgniter4/models/entities.html (https://codeigniter4.github.io/CodeIgniter4/models/entities.html) database table users: id      ...
87 Views
4 Replies
9 hours ago
davis.lasis
    Thread: Failed to decode session object. Session has been destroyed
Post: RE: Failed to decode session object. Session has b...

I know this is more then 2 years old, but still though https://forum.codeigniter.com/thread-81111-post-393307.html (https://forum.codeigniter.com/thread-81111-post-393307.html) Use `mediumblob` ...
5,815 Views
3 Replies
01-25-2022, 07:12 AM
davis.lasis
    Thread: CI 4.1.8 session issues
Post: RE: CI 4.1.8 session issues

3 days later... Cause of the problem was that CI session could not be written into database. Simply session was too big, therefore on the next reload it could not be read. https://codeigniter.c...
127 Views
1 Replies
01-25-2022, 07:10 AM
davis.lasis
    Thread: can someone help me change function to run codeigniter 4 ?
Post: RE: can someone help me change function to run c...

Glad that you figured that out, but that's how i would write it PHP Code: -- public function vlDemos(int $parent_id = 429){   return $this->db->table('categories')               ->select('id, ...
86 Views
1 Replies
01-25-2022, 05:06 AM
davis.lasis
    Thread: CI 4.1.8 session issues
Post: CI 4.1.8 session issues

Hi guys, I have weird issue with CI4 session. Every 2nd page reload throws ErrorException - session_start(): Failed to decode session object. Session has been destroyed - i did upgrade to CI 4....
127 Views
1 Replies
01-25-2022, 04:48 AM
davis.lasis
    Thread: CodeIgniter4-translations
Post: RE: CodeIgniter4-translations

Thanks, @"kenjis" for an update.  I will jump back into LV translations till end of this year. Cheers
12,921 Views
16 Replies
12-06-2021, 11:59 PM
davis.lasis
    Thread: Make link generator
Post: RE: Make link generator

PHP Code: -- Maybe this will help you? # CONTROLLER public function linkGenerate() {     $urls = [];         $results = $this->confirmModel->select('TRACKID')->findAll();         foreach ...
812 Views
7 Replies
12-02-2021, 03:11 AM
davis.lasis
    Thread: Ci4 system error localization not working
Post: RE: Ci4 system error localization not working

MrWhite Wrote: (01-06-2021, 10:48 AM) -- davis.lasis Wrote: (01-06-2021, 09:55 AM) -- You need Codeigniter global language translations. It has DE language as well.  Add this in your composer or do...
1,892 Views
10 Replies
10-14-2021, 03:51 AM
davis.lasis
    Thread: How to send an email with content from a View Ci4
Post: RE: How to send an email with content from a View ...

Read this documentation, if the issue still is not resolved, then send in error message https://codeigniter4.github.io/CodeIgniter4/libraries/email.html (https://codeigniter4.github.io/CodeIgniter4/l...
1,390 Views
6 Replies
09-27-2021, 03:57 AM
davis.lasis
    Thread: Can CI accept a variable as the full join syntax? [SOLVED]
Post: RE: Can CI accept a variable as the full join synt...

PHP Code: -- $joinData = [             0 => [                 'table' => 'table AS k',                 'condition' => 'k.something = j.anotherthing',                 'type' => 'left',           ...
598 Views
2 Replies
07-30-2021, 03:54 AM
davis.lasis
    Thread: Model files in CI4
Post: RE: Model files in CI4

Your files and code should look something like this: Entities/ComuniEntity.php PHP Code: --
3,552 Views
21 Replies
07-13-2021, 03:29 AM
davis.lasis
    Thread: How to make and include different routing files inside one route file?
Post: RE: How to make and include different routing file...

I use autoload config for each module loadup and automatic routes You must have Config/Routes.php and Config/Services.php for each module Modules structure: attached image app/Config/Autoload...
1,112 Views
4 Replies
04-18-2021, 09:50 AM
davis.lasis
    Thread: CI 4 contact form with configuration
Post: RE: CI 4 contact form with configuration

Dear Jeewakapk, as InsiteFX said - we do help, but i have the feeling that the problem is that you don't understand how this PHP plaform works. Moving from that - you don't know how to use it and what...
728 Views
3 Replies
04-16-2021, 01:02 PM
davis.lasis
    Thread: Hi, sir Update query is not working
Post: RE: Hi, sir Update query is not working

by the code and approach - this seems to be done in a controller - just a guess maybe your `$invoice_id` is 0 maybe your `$invoice_id` is "" last option is most likely as that's how empty input...
688 Views
3 Replies
04-16-2021, 12:21 PM
davis.lasis
    Thread: Module view file showing invalid
Post: RE: Module view file showing invalid

i have not replicated and tested, but by the looks you should change folders and paths names with capital letters to make exact path matches /example => /Example public $psr4 = [ APP_...
1,134 Views
3 Replies
04-10-2021, 10:30 AM
davis.lasis
    Thread: Schedule releases of CI4
Post: RE: Schedule releases of CI4

once a month - could be too much of a pressure to a team. I think this could force some reckless commits and merges, just to "get on time" once 6 months - kinda normal once a year - too long, boring...
3,524 Views
15 Replies
04-08-2021, 10:21 AM
davis.lasis
    Thread: Redirect with get parameter
Post: RE: Redirect with get parameter

I guess you should read this manual first https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html (https://codeigniter4.github.io/CodeIgniter4/incoming/routing.html)
600 Views
2 Replies
03-08-2021, 06:27 AM
davis.lasis
    Thread: connect to sql server with sqlsrv
Post: RE: connect to sql server with sqlsrv

I do use multiple platforms with sqlsrv to connect to axapta database servers. Maybe you need to use single quotes in .env file? This is my code that does work, if this does not work for you, the...
3,409 Views
10 Replies
02-11-2021, 06:14 AM
davis.lasis
    Thread: I have issues will leave a link here
Post: RE: I have issues will leave a link here

fix your route, remove brackets around $1 PHP Code: -- $routes->get('agents/getClientsToAgent/(:num)', 'Agents::getClientsToAgent/$1'); -- https://codeigniter4.github.io/CodeIgniter4/incoming/ro...
1,284 Views
2 Replies
02-10-2021, 02:03 AM
davis.lasis
    Thread: Ci4 system error localization not working
Post: RE: Ci4 system error localization not working

You need Codeigniter global language translations. It has DE language as well.  Add this in your composer or download manually in your system https://github.com/codeigniter4/translations
1,892 Views
10 Replies
01-06-2021, 09:55 AM
davis.lasis

Theme © iAndrew 2016 - Forum software by © MyBB