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"
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?
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!
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!
Thank you for the comment, The concept is quite same as given here ua-cam.com/video/hOF2NQkkyYk/v-deo.html But will have to implement in CodeIgniter. I will try to create a video. Cheers
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 so much, you help me a lot for my carrier. hope you make more tutorials regarding in codeigniter 4.
Thank you, I will
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"
Hash is not working
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?
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!
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!
It’s looking good, I’ll use it in next days
Hello
thank you for this guide
any chance that you update (create a new one) this with "Codeigniter Shield" ?
Thank you
Thank you for the comment sure I look into it. Hopefully soon.
Thank you really much for the acknowledgement
No worries
Hi. How can i do e-commerce transactions on Codeigniter? Like shopping cart virtual pos. Thanks.
Thank you for the comment, The concept is quite same as given here ua-cam.com/video/hOF2NQkkyYk/v-deo.html But will have to implement in CodeIgniter. I will try to create a video. Cheers
Any new tutoriyal for codeigniter 4 ??? ,
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. Yeah I will try to make more videos like that. 👍
not working sir when i go to register or login says route not found help
maybe $routes->setAutoRoute(true); can help
Good explanation
You are most welcome
Thank you so much, you're the man!
Glad to help!
can you give us the htaccess code plz??
I need source all of the code files for better understanding please help me bro
Hi have you tried to download ?
great
Thank you
te kiero mucho
Thank you