NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Issue with login
Started by Coldfire

Topic Locked
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
27 Mar 2024
Topics
2
Posts
6

Hello, I am using nameless mc on this website: https://elitepvpmc.000webhostapp.com

I recently parked this domain on that website: https://elitepvp.cf

Whenever I try to login to my account from the first web address, it works, but when I try to login from the second address, it gives this error:

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'ip' at row 1

I created my account originally on the first address, so that might have something to do with it. Everything else works on both sites. Please help!

Thanks

Coldfire · over 4 years ago
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
27 Mar 2024
Topics
2
Posts
6

Yes I did. I edited the file, is there anything I need to do to make sure it works?

Coldfire · over 4 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
28 Mar 2024
Topics
41
Posts
1042

Just to confirm, this line of modules/Core/pages/login.php was definitely removed?

What you can also try doing is change this line of core/classes/Log.php to

'ip' => '',
Samerton · over 4 years ago
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
27 Mar 2024
Topics
2
Posts
6

I removed the first line, and I also changed the IP line, but logging in still doesn't work and gives the same error message. Also, when I try to register an account on elitepvp.cf, it gives this error message:

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'lastip' at row 1

Then, when I clear cookies and reload the page, there is an error message with "Invalid Token"

Coldfire · over 4 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
28 Mar 2024
Topics
41
Posts
1042

Unfortunately I can't think of a reason for this to be happening if the above line is changed.

Would I be able to have a look at the files using FTP?

Samerton · over 4 years ago
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
27 Mar 2024
Topics
2
Posts
6

Let me think about it

x1
Coldfire · over 4 years ago · Last edited: over 4 years ago
bartek81005

bartek81005

Member
Joined
20 Feb 2022
Last Seen
25 Feb 2022
Topics
0
Posts
1

Same Problem :D 

 

bartek81005 · over 2 years ago
CPK

CPK

Community Moderator
Joined
20 Aug 2018
Last Seen
30 Jun 2023
Topics
13
Posts
68

Hello,

Please don't bump old threads. This is to avoid possible outdated information from going to the top of the forum. Feel free to start a new thread if you are still experiencing issues.

 

Thread Locked.


Community Mod (Discord: .cpk)

“We are only as strong as we are united, as weak as we are divided.”

- Albus Dumbledore


 

CPK · over 2 years ago