Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Run migration on multiple databases
Post: RE: Run migration on multiple databases

by adding shared instance to false, I am able to run migration for all tables Code: -- $db = \Config\Database::connect('company', false); $migration = \Config\Services::migrations(null, $db, fa...
1,037 Views
2 Replies
07-15-2021, 10:29 PM
pc87
    Thread: CI 4.1.3 404 error for public resources
Post: RE: CI 4.1.3 404 error for public resources

there was issue with server apache configuration, after changing to another server, it is working fine. [hr] ikesela Wrote: (07-09-2021, 10:15 AM) -- i have same problem, cannot view on web browser v...
1,714 Views
5 Replies
07-15-2021, 10:11 PM
pc87
    Thread: CI 4.1.3 404 error for public resources
Post: CI 4.1.3 404 error for public resources

I have updated codeigniter from 4.0.4 to 4.1.3. Now I am getting error 404 for public resources. my htaccess file as below: options all and followSymlinks not supported on server. When I die dump...
1,714 Views
5 Replies
07-06-2021, 07:54 AM
pc87
    Thread: Run migration on multiple databases
Post: Run migration on multiple databases

I am working multi database tenancy application. I have created custom command to run migration to all tenant database. When I run command, migration is added on only first database it is not addi...
1,037 Views
2 Replies
06-24-2021, 11:39 PM
pc87
    Thread: CIv4 Call to a member function setRules() on null
Post: CIv4 Call to a member function setRules() on null

I am getting `Call to a member function setRules() on null error` while saving data. I'm using codeigniter version 4.0.4  Model Code: PHP Code: --
2,355 Views
2 Replies
06-20-2021, 11:56 PM
pc87
    Thread: On page CSS or JavaScript inclusion
Post: RE: On page CSS or JavaScript inclusion

includebeer Wrote: (09-29-2019, 06:43 AM) -- What do you mean by that? You can put whatever you want in your view. CSS and JavaScript can be added inline or loaded from external files. -- I know th...
2,939 Views
4 Replies
09-30-2019, 12:38 AM
pc87
    Thread: On page CSS or JavaScript inclusion
Post: On page CSS or JavaScript inclusion

Does CI4 support on-page CSS or JavaScript inclusion like in Laravel allow?
2,939 Views
4 Replies
09-26-2019, 11:42 PM
pc87
    Thread: Create Custom Business Logic Classes [No Libraries]
Post: RE: Create Custom Business Logic Classes [No Libra...

I think library would be fine as you can converting third party classes or libraries to CI library and call into your controller or you can try PHP 'traits' https://www.php.net/manual/en/language.o...
5,795 Views
7 Replies
09-20-2019, 04:24 AM
pc87
  Rainbow Thread: CodeIgniter support for PWA
Post: CodeIgniter support for PWA

Hello Everyone, Is there any support for Progressing Web App(PWA) in CI4, is there any library or helper? OR  We can use it with PWA same way as the current version 3.x?
5,424 Views
2 Replies
09-19-2019, 06:21 AM
pc87

Theme © iAndrew 2016 - Forum software by © MyBB