"Session invalid" error when testing demo on my own server
#3
Closed
opened 2 years ago by kromonos
·
5 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I'm trying to deploy captcheck on my own server, but I only get following with the
test.html
:First I thought it was because of MySQL 8, but I've same issue with MySQL 5.7 and MariaDB 10 with PHP 7.4 FPM. The session id was successfully written into the session table and can be found when searched manually in the database.
If you're playing with the test/sample code,
test.php
needs the correct API url too, or it'll try to validate your form against my server instead of yours! :)https://source.netsyms.com/Netsyms/Captcheck/src/branch/master/test.php#L5
Trying to deployto "Session invalid" error when testing demo on my own server 2 years agoThe API url is correctly set. You can find the installation at https://captcha.bka.li
Check your
test.php
as I said. It's trying to validate the submitted captcha against captcheck.netsyms.com instead of your server. I can see it in the HTTP access logs for captcheck.netsyms.com.Your captcheck.js is fine though.
oh damn. Thanks for the hint. I totally forgot about the URL in
test.php
.Edit: Even after your first hint ?
No problem :)