Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Codeigniter 4 running error ???
Post: RE: Codeigniter 4 running error ???

Miller Wrote: (10-10-2018, 01:34 AM) -- I am testing CodeIgniter 4, but I am getting this error: Fatal error: Default value for parameters with a class type hint can only be NULL in C:\xampp\htdocs\...
6,299 Views
4 Replies
10-10-2018, 02:16 AM
unodepiera
    Thread: How proper unit test
Post: RE: How proper unit test

Przem4S Wrote: (10-08-2018, 01:36 AM) -- Next try: https://i.imgur.com/GzdOhLt.png PHPUnit for Windows installed. -- Please, check my reply, all works fine: composer create-project codeign...
3,075 Views
6 Replies
10-08-2018, 08:44 AM
unodepiera
    Thread: orderBy not sorting results
Post: RE: orderBy not sorting results

pkMyt1 Wrote: (10-05-2018, 07:54 PM) -- First, you folks are amazing.  Thank you for the tremendous effort you have put into CI4. I am testing CI4 on a LIMS that I wrote way back for CI2.  I am tryin...
3,771 Views
2 Replies
10-05-2018, 11:02 PM
unodepiera
    Thread: Query - Call to undefined method CodeIgniter\Database\MySQLi\Connection::where()
Post: RE: Query - Call to undefined method CodeIgniter\D...

happyape Wrote: (10-04-2018, 01:22 AM) -- I get this error "Call to undefined method CodeIgniter\Database\MySQLi\Connection::where()" when I try this in my model class PHP Code: -- $this->db->ta...
9,797 Views
4 Replies
10-04-2018, 09:44 PM
unodepiera
    Thread: How proper unit test
Post: RE: How proper unit test

Przem4S Wrote: (10-03-2018, 01:46 AM) -- Hello :) So, I have problem with testing. Firstly - yes I read Testing Section in CI4 Docs (https://bcit-ci.github.io/CodeIgniter4/testing/overview.html...
3,075 Views
6 Replies
10-04-2018, 12:39 PM
unodepiera
    Thread: Query - Call to undefined method CodeIgniter\Database\MySQLi\Connection::where()
Post: RE: Query - Call to undefined method CodeIgniter\D...

happyape Wrote: (10-04-2018, 01:22 AM) -- I get this error "Call to undefined method CodeIgniter\Database\MySQLi\Connection::where()" when I try this in my model class PHP Code: -- $this->db->ta...
9,797 Views
4 Replies
10-04-2018, 04:40 AM
unodepiera
    Thread: CSRF via http header?
Post: RE: CSRF via http header?

puschie Wrote: (10-01-2018, 02:55 AM) -- but the idea is good - we should support header-csrf tokens for better compatibility. its used by many front end frameworks -- I have been working with Angul...
4,793 Views
4 Replies
10-01-2018, 03:01 AM
unodepiera
    Thread: Issue with form validation
Post: RE: Issue with form validation

happyape Wrote: (10-01-2018, 12:47 AM) -- Yes that makes sense to me. Thank you. In the documentation there was no suggestion to check for the POST request so I thought it would do validation for ...
9,774 Views
17 Replies
10-01-2018, 01:18 AM
unodepiera
    Thread: CSRF via http header?
Post: RE: CSRF via http header?

albertleao Wrote: (09-30-2018, 10:56 PM) -- I looked through the docs and it didn't seem like it was supported, but as time has moved on many of us use front end frameworks like Vue or Angular. Since...
4,793 Views
4 Replies
09-30-2018, 11:44 PM
unodepiera
    Thread: Issue with form validation
Post: RE: Issue with form validation

happyape Wrote: (09-30-2018, 02:46 PM) -- unodepiera Wrote: (09-30-2018, 10:48 AM) -- InsiteFX Wrote: (09-30-2018, 03:57 AM) -- This has to do with the News Tutorial. Try that and tell me what you ...
9,774 Views
17 Replies
09-30-2018, 10:47 PM
unodepiera
    Thread: Issue with form validation
Post: RE: Issue with form validation

InsiteFX Wrote: (09-30-2018, 03:57 AM) -- This has to do with the News Tutorial. Try that and tell me what you get. -- You are right InsiteFX, the documentation is wrong, the validation accept an ar...
9,774 Views
17 Replies
09-30-2018, 10:48 AM
unodepiera
    Thread: Issue with form validation
Post: RE: Issue with form validation

happyape Wrote: (09-27-2018, 12:47 AM) -- Here is my code - This gives me "Undefined property: App\Controllers\Home::$validation" error. Code: --    public function login() {        if (! $thi...
9,774 Views
17 Replies
09-30-2018, 12:26 AM
unodepiera
    Thread: CodeIgniter4 - Event listner
Post: RE: CodeIgniter4 - Event listner

happyape Wrote: (09-29-2018, 12:38 PM) -- unodepiera Wrote: (09-29-2018, 11:47 AM) -- happyape Wrote: (09-19-2018, 03:21 AM) -- I am just trying to understand if CI4 events (https://bcit-ci.github....
7,670 Views
12 Replies
09-29-2018, 11:29 PM
unodepiera
    Thread: CodeIgniter4 - Event listner
Post: RE: CodeIgniter4 - Event listner

happyape Wrote: (09-19-2018, 03:21 AM) -- I am just trying to understand if CI4 events (https://bcit-ci.github.io/CodeIgniter4/general/events.html) are meant to function similar way as of Laravel (ht...
7,670 Views
12 Replies
09-29-2018, 11:47 AM
unodepiera
    Thread: "isAJAX()" method always return false;
Post: RE: "isAJAX()" method always return false;

titounnes Wrote: (09-29-2018, 07:41 AM) -- I tried to create an API with a script like the one below. when I run it with $.ajax , the application always returns the "false" value in the isAJAX method...
3,190 Views
2 Replies
09-29-2018, 11:32 AM
unodepiera
    Thread: CodeIgniter 4.0.0-alpha.1 released
Post: RE: CodeIgniter 4.0.0-alpha.1 released

Awesome job!!!, thanks a lot Lonnie Ezell and CodeIgniter team.
42,109 Views
29 Replies
09-29-2018, 04:36 AM
unodepiera
    Thread: CI4 lacks seems to lack a couple of super convenient CI3 features.
Post: RE: CI4 lacks seems to lack a couple of super conv...

Hi skunkbak, for set and get configuration files you can do it like said ciadmin: PHP Code: -- $appConfig = \config('app'); $appConfig->CSPEnabled = true; -- https://bcit-ci.github.io/CodeI...
6,107 Views
9 Replies
09-28-2018, 04:22 AM
unodepiera
    Thread: My blog, tutorials and videotutorials for Codeigniter 2 & 3.
Post: My blog, tutorials and videotutorials for Codeigni...

Hi, I have a blog in spanish language, each week I write tutorials for codeigniter 2 and 3, then leave the link. Blog: http://uno-de-piera.com Youtube channel: https://www.youtube.com/channel/U...
3,851 Views
2 Replies
05-05-2015, 11:31 AM
unodepiera
    Thread: best way to use HMVC
Post: RE: best way to use HMVC

nasser.man Wrote: (05-02-2015, 09:59 AM) -- hey, how i can use HMVC in CI3? does CI3 support HMVC built-in or  what plugins are out there to add modular part to my application? -- https://www.youtu...
6,843 Views
3 Replies
05-02-2015, 12:44 PM
unodepiera
    Thread: Can i check userlogin in construct ?
Post: RE: Can i check userlogin in construct ?

bobykurniawan Wrote: (11-27-2014, 03:46 AM) -- PHP Code: -- class Admin extends CI_Controller { function __construct() {    parent::__construct();   $aut = $this->donaturlib->is_admin();    if(!$...
7,531 Views
0 Replies
11-28-2014, 10:02 AM
unodepiera

Theme © iAndrew 2016 - Forum software by © MyBB