Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Please, release Translations
Post: Please, release Translations

Please, release https://github.com/codeigniter4/translations/releases
1,470 Views
1 Replies
03-28-2020, 06:05 PM
falko
    Thread: How to redirect from initController?
Post: RE: How to redirect from initController?

Maybe should iniController stop the request if it return a response?
3,453 Views
3 Replies
03-18-2020, 05:33 AM
falko
    Thread: How to redirect from initController?
Post: How to redirect from initController?

Hello! I have the following code: PHP Code: --
3,453 Views
3 Replies
03-16-2020, 02:34 PM
falko
    Thread: Please, remove.
Post: Please, remove.

Please, remove laminas/laminas-escaper. Use htmlentities($string, ENT_QUOTES | ENT_HTML5, 'UTF-8'). Please, remove kint-php/kint. Use var_dump() with xDebug.
1,571 Views
1 Replies
03-09-2020, 02:12 PM
falko
    Thread: How to get old validation errors
Post: RE: How to get old validation errors

Ok. I found it: system/Validation/Validation.php:643 PHP Code: -- public function getErrors(): array { // If we already have errors, we'll use those. // If we don't, check the session to s...
1,804 Views
3 Replies
03-08-2020, 03:09 PM
falko
    Thread: How to get old validation errors
Post: RE: How to get old validation errors

MGatner Wrote: (03-01-2020, 08:54 AM) -- You should pass the error messages during the redirect, using "with($name, $content)", e.g.: https://codeigniter4.github.io/userguide/general/common_functions...
1,804 Views
3 Replies
03-05-2020, 10:57 AM
falko
    Thread: Where are the migration commands?
Post: RE: Where are the migration commands?

I tried to run "php spark" and no migration commands appear.
5,176 Views
9 Replies
02-27-2020, 03:59 PM
falko
    Thread: Where are the migration commands?
Post: Where are the migration commands?

I'm using CodeIgniter 4.0.2 and the migration commands are gone. How can I get them back?
5,176 Views
9 Replies
02-27-2020, 02:18 PM
falko
    Thread: How to get old validation errors
Post: How to get old validation errors

Hello! I know that is possible to use the function old() to get items from a redirect()->withInput(). My doubt is: How to get old validation errors? Has a function for that? PHP Code: -- pub...
1,804 Views
3 Replies
02-26-2020, 02:21 PM
falko
    Thread: Help understanding routes
Post: RE: Help understanding routes

Update your namespace to this: namespace App\Controllers\Admin; and move the Login file to the Admin folder.
1,085 Views
2 Replies
02-21-2020, 05:42 AM
falko
    Thread: How to create custom Error 404 page
Post: RE: How to create custom Error 404 page

littlej Wrote: (02-19-2020, 01:27 PM) -- Perfect ! :-) If you have time, don't forget to rate my answer with the "Rate" button at the bottom ;-) -- The button is not working. It just freeze the scr...
3,410 Views
5 Replies
02-19-2020, 01:36 PM
falko
    Thread: How to create custom Error 404 page
Post: RE: How to create custom Error 404 page

littlej Wrote: (02-02-2020, 05:24 PM) -- Hello Falko ! You can set a custom 404 page in the "app/Config/Routes.php" file: https://codeigniter4.github.io/userguide/incoming/routing.html#override ...
3,410 Views
5 Replies
02-19-2020, 01:25 PM
falko
    Thread: How to set Validation Labels on Model
Post: RE: How to set Validation Labels on Model

elephpantech Wrote: (02-19-2020, 07:45 AM) -- PHP Code: -- class Users extends \CodeIgniter\Model {         protected $validationRules = [         'username' => [         'label' => 'Usuario',...
1,490 Views
2 Replies
02-19-2020, 01:24 PM
falko
    Thread: Load Dynamic Model
Post: RE: Load Dynamic Model

Add the "use" statement above your class. I.e. use App\Models\RolesModel; class x extends Controller { }
3,079 Views
3 Replies
02-13-2020, 01:49 PM
falko
    Thread: How to set Validation Labels on Model
Post: How to set Validation Labels on Model

Hello, CodeIgniters! How to set Validation Labels on Model? Thanks! ! !
1,490 Views
2 Replies
02-13-2020, 12:43 PM
falko
    Thread: How to create custom Error 404 page
Post: How to create custom Error 404 page

Hello, guys! I'm creating a RESTful resource and I marked the page "new" as except. OK. Everything working nice, BUT, how to handle a custom Error 404 page in JSON format (the default is html) ...
3,410 Views
5 Replies
02-02-2020, 04:16 PM
falko
    Thread: CodeIgniter4 - Event pass by ???
Post: RE: CodeIgniter4 - Event pass by ???

try to require the \CodeIgniter\Events\Events file on your lib class file
7,983 Views
11 Replies
10-02-2018, 01:00 PM
falko
    Thread: Microsoft has acquired GitHub
Post: RE: Microsoft has acquired GitHub

Paradinight Wrote: (06-06-2018, 12:15 PM) -- i do not care too. currently it doesn't matter. -- I disagree.
7,034 Views
7 Replies
06-29-2018, 11:41 AM
falko
    Thread: Github bought by Microsoft?
Post: RE: Github bought by Microsoft?

A few days ago GitHub provided user access data to MyCrossSoft. Not to be noticeable, Twitter reported something similar for anyone to distrust. Get off! https://forum.codeigniter.com/thread-...
3,515 Views
7 Replies
06-29-2018, 11:38 AM
falko
    Thread: Show your support!
Post: RE: Show your support!

As code contributions drag on, it is perhaps because users of this framework prefer to pay... ?
56,346 Views
35 Replies
06-29-2018, 11:30 AM
falko

Theme © iAndrew 2016 - Forum software by © MyBB