Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Entity loading problem
Post: Entity loading problem

hi all, i'm working on a project with CI4 recently, i really love CI4, but i discover some problem with the entity class, it's not a big deal if your data is not big, but it will comsume a lot of RAM ...
690 Views
1 Replies
05-10-2021, 06:07 AM
tmtuan
    Thread: Code Igniter is the best app to learn about websites
Post: RE: Code Igniter is the best app to learn about we...

Absolutely, CI is easy to learn, fast and lightweight. I use CI3 from 3 year ago and now with CI4 i really love it, check out this website https://truyenconect.com/ it build on CI3 and i'm updating it...
36,684 Views
36 Replies
05-04-2021, 08:47 PM
tmtuan
    Thread: CodeIgniter v4.0.5 and v4.1.0 released
Post: RE: CodeIgniter v4.0.5 and v4.1.0 released

thanks you CI team, i love your work
18,016 Views
43 Replies
01-31-2021, 09:42 PM
tmtuan
    Thread: edit table and add new index key with forge
Post: RE: edit table and add new index key with forge

includebeer Wrote: (12-27-2020, 08:18 AM) -- According to the user guide (http://codeigniter.com/user_guide/dbmgmt/forge.html#addKey) it looks like it’s only possible when creating a table. Quote: ...
829 Views
2 Replies
12-27-2020, 08:04 PM
tmtuan
    Thread: edit table and add new index key with forge
Post: edit table and add new index key with forge

Hi, i'm using CI4 and db migration, when i create the table i can create the index at the same time, it worked perfectly, but when i try to edit the table and try to create the index with forge, it...
829 Views
2 Replies
12-26-2020, 09:09 AM
tmtuan
    Thread: composer require get error in centos 7
Post: RE: composer require get error in centos 7

captain-sensible Wrote: (10-29-2020, 09:33 AM) -- so just to clarify your running composer on live server ? For development on my Linux PC , i'm using apache . I set up my normal user to join ap...
1,883 Views
6 Replies
10-29-2020, 06:54 PM
tmtuan
    Thread: CI4 and wp in shared hosting
Post: RE: CI4 and wp in shared hosting

captain-sensible Wrote: (10-29-2020, 02:37 AM) -- tmtuan Wrote: (10-29-2020, 01:52 AM) -- sure, if you're using the shared hosting, and uploaded the wordpress on public_html folder, then you can cre...
1,893 Views
6 Replies
10-29-2020, 03:32 AM
tmtuan
    Thread: CI4 and wp in shared hosting
Post: RE: CI4 and wp in shared hosting

sure, if you're using the shared hosting, and uploaded the wordpress on public_html folder, then you can create a sub folder in it for CI4. But we need to modify the index.php file, you have to move ...
1,893 Views
6 Replies
10-29-2020, 01:52 AM
tmtuan
    Thread: composer require get error in centos 7
Post: composer require get error in centos 7

hi all. i have my project in CI4 working ok in my VPS (centos 7). Recently, i'm trying to emplement new report funciton, in that function, i need to use PHPSpreadsheet to export data to excel ( htt...
1,883 Views
6 Replies
10-29-2020, 01:42 AM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-17-2020, 04:18 AM) -- Then I it looks like you may have found a bug in the Entities, I would file an issue on GitHub for it. -- i also think my Entities have problem, so i double...
1,898 Views
8 Replies
10-17-2020, 04:45 AM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-16-2020, 07:46 PM) -- To me it looks like your name space is off because your Modules folder is under the app folder. PHP Code: -- namespace Modules\Site\Models; // should ...
1,898 Views
8 Replies
10-16-2020, 09:28 PM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-16-2020, 11:19 AM) -- Our you defining the use clause like I showed? If the Entity is in the acp then the use clause should be like below. Site/Post controller use app/Modu...
1,898 Views
8 Replies
10-16-2020, 07:39 PM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-15-2020, 11:27 PM) -- Your not giving enough information like what is site a module? If your calling a Site Module then you need to tell it where the Entity is. use app/Modu...
1,898 Views
8 Replies
10-16-2020, 12:06 AM
tmtuan
    Thread: Entity class not working on 2 module
Post: Entity class not working on 2 module

hi all, i recently implement entity to my project, i successfull setup it to work with the backend module, but when i call that model in the frontend module, it does not return an entity object, i ...
1,898 Views
8 Replies
10-15-2020, 09:00 PM
tmtuan
    Thread: CI4 Project not working in Goddady VPS server
Post: RE: CI4 Project not working in Goddady VPS server

i recently have the same problem when i deploy my new project on vultr vps, my client's server instal centos 7, nginx and have php intl extention enable. does anyone have the same problem?
978 Views
2 Replies
10-15-2020, 08:41 PM
tmtuan
    Thread: Best practice for date in entity
Post: RE: Best practice for date in entity

in CI4 they have the Time class, try to use this use CodeIgniter\I18n\Time; then you can format the form date to mysql datetime before save it to DB
894 Views
2 Replies
10-12-2020, 07:24 PM
tmtuan
    Thread: route filters does not work
Post: RE: route filters does not work

ojmichael Wrote: (10-11-2020, 10:36 PM) -- That seems insane.. What happens if you do something like this? PHP Code: -- 'myfilter' => ['before' => ['newblog', 'editBlogs', 'removeBlog']], //et...
1,608 Views
5 Replies
10-12-2020, 07:20 PM
tmtuan
    Thread: route filters does not work
Post: route filters does not work

Hi, i'm using CI 4.0.4 for my project, i'm working on permission check with routes and filter in it, but it seem to be not woking right. My code look like this: - In App/Filter i declare an filter al...
1,608 Views
5 Replies
10-11-2020, 04:36 AM
tmtuan
    Thread: CI4 - Pagiantion problem
Post: CI4 - Pagiantion problem

Hi, i use CI4, i have some problem with the pagination library My controller code is Code: -- //get Data $this->_model->orderBy('id DESC')->findAll(); $currPage = $this->request->getGet('page...
531 Views
0 Replies
06-03-2020, 10:16 PM
tmtuan
    Thread: problem with routes in Code Modules
Post: RE: problem with routes in Code Modules

i got them same problem too, my module folder is: https://s3.upanh.pro/2020/03/10/ci4.png i do as the same document said and my custom routes.php in acp/blog/config can not loaded. when i move the rou...
2,727 Views
7 Replies
03-12-2020, 09:28 PM
tmtuan

Theme © iAndrew 2016 - Forum software by © MyBB