chuushi / CoreProtect-Lookup-Web-Interface

A flexible lookup web interface for CoreProtect 2
MIT License
50 stars 14 forks source link

Login error #25

Closed DevLan-Fargus closed 4 years ago

DevLan-Fargus commented 4 years ago

Good Morning, there is an error when that don't let u login .

SyntaxError: Unexpected token < in JSON at position 4

I digit the username and password and when I confirm I have this error

chuushi commented 4 years ago

Good morning!

Looks like there's a PHP error. Try:

This is the best debugging tool we have at the moment, and I hope to make this debugging process easier in the later pre-releases.

DevLan-Fargus commented 4 years ago

I've this one:

<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>

DevLan-Fargus commented 4 years ago

And this one:

`<!DOCTYPE html>

Protection Web par Bitdefender

Protection Web par Bitdefender

Cette page est bloquée pour votre sécurité

Une tentative d’envoi de votre mot de passe non chiffré, en texte brut, a été empêchée sur cette page. Vous trouverez plus de détails dans la section Notifications de votre solution de sécurité Bitdefender.

`
DevLan-Fargus commented 4 years ago

If u cannot understand from all of this... the code is horrible here.... I give you the link

http://survivalla.fun/coreprotect/

chuushi commented 4 years ago

image

Can you try copy-pasting the contents of this instead? Those look like the text you provided are from another website or browser extension.

I don't know what the credentials are, so I can't say for sure. The login seems to fail successfully, though.

image

Thanks!

DevLan-Fargus commented 4 years ago

http://survivalla.fun/coreprotect/

username: Fargus Password: 123456

chuushi commented 4 years ago

I logged in successfully.

What browser and extensions are you using? It's possible that your browser is erroring something on your side. Maybe because you're trying to send the password over non-secure protocol (HTTP)?

DevLan-Fargus commented 4 years ago

Yes, maybe is the antivirus I try disabling it in these page.

DevLan-Fargus commented 4 years ago

Yes it was this. I needed to disable a security block that the Antivirus gave to me as a "dangerous attack to my personal life"

-_-

chuushi commented 4 years ago

I'd suggest you look into setting up HTTPS on your webserver. If you're self-hosting the webserver, look up how to set up LetsEncrypt in your free time. ^^ In any case, I'm glad to be of help to ya. Let me know if you have any other issues, or feel free to close the issue. Thanks for the issue!

DevLan-Fargus commented 4 years ago

Thanks you 👍