Comments (7)
commit 39805104c33a87abe6c0f811aad3a9f226fb9fda should fix this
from simple-php-user-register-and-login-class.
My mistake, i just had the wrong variable assigned 0c706c53ca8b50209fb0be26e493ed6457010957.
from simple-php-user-register-and-login-class.
It would be best to use composer, I didn't initially do it this way because I wanted it to be simple.
However, it looks like the error is from the missing Exception.php file.
Link for non composer solution?
from simple-php-user-register-and-login-class.
It works perfectly using composer require function. Thank you!
from simple-php-user-register-and-login-class.
My only issue now the activation link. When I click on it, it drops this error in nginx log:
2021/02/24 10:49:03 [error] 46388#46388: *394 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to protected method doRegisterAttempt::verifyAccount() from context '' in /var/www/html/dashboard/activate.php:5
Stack trace:
#0 {main}
thrown in /var/www/html/dashboard/activate.php on line 5" while reading response header from upstream, client: 162.158.88.116, server: ********, request: "GET /dashboard/activate.php?key=552fe0ce102b88bdc4ed6f75 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "*******"
from simple-php-user-register-and-login-class.
changing to public returns Error: Call to a member function outputString() on bool in /var/www/html/dashboard/activate.php:6
line 6 in activate.php
($verify) ? $verify->outputString("Account activated") : $verify->outputString("Key is invalid");
Now it removes the key for the registered uid from activate_keys in MySQL before returning the error when clicking activation link and activates the registration, only the return message function not working
from simple-php-user-register-and-login-class.
Everything's perfect now, thank you!
from simple-php-user-register-and-login-class.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-php-user-register-and-login-class.