Can you shed some light on how you're handling routes? You don't appear to be using auto-routing, but I don't see in your video where you're changing the routes.php files to handle new routes you setup. Is the magic in the .htaccess? Thanks!
How do I download the full file? I can't find the link that downloads, on the site there are only a few example files: controller auth, ... I wanted complete, is there any way?
Hi, author, sorry disturbed you, may I know why I type php spark serve, it give error message said that: php : The term 'php' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + php spark serve + ~~~ + CategoryInfo : ObjectNotFound: (php:String) [], CommandNotFoundExceptio n + FullyQualifiedErrorId : CommandNotFoundException
the same problem. but I already solved it. when you type "php spark serve", the directory in the terminal must be "xammp>htdocs>codeigniter4folder". that is called a rootfolder. if you are not in a rootfolder, it will display error.
Great content! Couldn't you maybe build a small full stack project using nuxt or vue and codeigniter? If no, it'd be appreciated if you create more codeigniter content. Thanks.
Thank you for the comment, The concept is quite same as given here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hOF2NQkkyYk.html But will have to implement in CodeIgniter. I will try to create a video. Cheers
Please help I am having an issue when I login it submits but nothing happens ( I can seen in the debug that data is entered and it matches to whats in the DB) yet it just takes me back to login (I cant access dashboard because it doesn't log me in also). Thanks!
After looking up user in the database, I added a NULL check ... $userInfo = $userModel->where('email',$email)->first(); if ($userInfo === NULL) { session()->setFlashdata('fail', 'User not found'); return redirect()->to('auth'); } ... Otherwise, when checking the password hash: $checkPassword = Hash::check($password, $userInfo['password']); Error is issued "Trying to access array offset on value of type null"