pro-dev-ph / codeigniter4-auth-and-user-management Goto Github PK
View Code? Open in Web Editor NEWA simple authentication and user management system for CodeIgniter 4
License: Apache License 2.0
A simple authentication and user management system for CodeIgniter 4
License: Apache License 2.0
I just tried your code and for some reason the url helper isn't loading
I am trying to run the project on my computer. I get the following errors:
Deprecated: Optional parameter $body declared before required parameter $userAgent is implicitly treated as a required parameter in D:\laragon\www\pergola\system\HTTP\IncomingRequest.php on line 161
Deprecated: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated in D:\laragon\www\pergola\system\HTTP\Request.php on line 439
Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at D:\laragon\www\pergola\app\Config\Events.php:33) in D:\laragon\www\pergola\system\Debug\Exceptions.php:164 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', 'D:\laragon\www\...', 164) #1 D:\laragon\www\pergola\system\Debug\Exceptions.php(164): header('HTTP/1.1 500 In...', true, 500) #2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 {main} thrown in D:\laragon\www\pergola\system\Debug\Exceptions.php on line 164
Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at D:\laragon\www\pergola\app\Config\Events.php:33) in D:\laragon\www\pergola\system\Debug\Exceptions.php:164 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', 'D:\laragon\www\...', 164) #1 D:\laragon\www\pergola\system\Debug\Exceptions.php(164): header('HTTP/1.1 500 In...', true, 500) #2 D:\laragon\www\pergola\system\Debug\Exceptions.php(224): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #4 {main} thrown in D:\laragon\www\pergola\system\Debug\Exceptions.php on line 164
I run this project using PHP 8.1. I still get the "fatal" errors even though tried to fix the "deprecated errors".
When I click on Register link it shows this error.
Looks like all js css files are missing eg.
/public/vendor/bootstrap/
/public/vendor/jquery/
Hi.
Tring to run this on Win 10 using XXAMP . Checked sys requirements and db but http://localhost/users/public/ ... returns this ....
Deprecated: Required parameter $userAgent follows optional parameter $body in C:\xampp\htdocs\users\system\HTTP\IncomingRequest.php on line 161
Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\users\app\Config\Events.php:33) in C:\xampp\htdocs\users\system\Debug\Exceptions.php:164 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', 'C:\xampp\htdocs...', 164) #1 C:\xampp\htdocs\users\system\Debug\Exceptions.php(164): header('HTTP/1.1 500 In...', true, 500) #2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 {main} thrown in C:\xampp\htdocs\users\system\Debug\Exceptions.php on line 164
Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\users\app\Config\Events.php:33) in C:\xampp\htdocs\users\system\Debug\Exceptions.php:164 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', 'C:\xampp\htdocs...', 164) #1 C:\xampp\htdocs\users\system\Debug\Exceptions.php(164): header('HTTP/1.1 500 In...', true, 500) #2 C:\xampp\htdocs\users\system\Debug\Exceptions.php(224): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #4 {main} thrown in C:\xampp\htdocs\users\system\Debug\Exceptions.php on line 164
Hello,
Very nice addon for CI4. Few suggestions if you need any:
Thank you for you work!
Pls explain how to add email for account activation in codeigniter4-auth-and-user-management.
I was getting an invalid email format when posting the forgot password form. Solution: The name="email" attribute is missing from the form input in app/Views/auth/auth/forgot.php
I then got a file not found error in the reset password email method. Solution: Replace the paths in app/Helpers/auth_helper.php
Replace: view('Views\emails[file]')
With: view('auth/emails/[file]')
on register action is trying to get the view
auth/auth/register
but this file doesn't exist, it should be
auth/register
I get this error when I visit the URL https://example.com/auth/public/
404 - File Not Found
Controller method is not found: login
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.