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
26 Jun 2022
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 2 years ago
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
26 Jun 2022
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 2 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
25 Jun 2022
Topics
37
Posts
888

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 2 years ago
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
26 Jun 2022
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 2 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
25 Jun 2022
Topics
37
Posts
888

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 2 years ago
Coldfire

Coldfire

Member
Joined
17 Aug 2019
Last Seen
26 Jun 2022
Topics
2
Posts
6

Let me think about it

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

bartek81005

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

Same Problem :D 

 

bartek81005 · 4 months ago
CPK

CPK

Community Moderator
Joined
20 Aug 2018
Last Seen
08 Mar 2022
Topics
13
Posts
64

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.

<hr /> <p style="text-align: center;"><strong>Community Moderator (Discord: cpk #9360)<br /></strong></p> <p style="text-align: center;"><span data-parade-type="promoarea" data-parade-location-types="promoarea" data-parade-location-ids="article" data-parade-views="false" data-parade-touches="false" data-parade-clicks="false" data-parade-mouseovers="false">“We are only as strong as we are united, as weak as we are divided.” <br /></span></p> <p style="text-align: center;"><span data-parade-type="promoarea" data-parade-location-types="promoarea" data-parade-location-ids="article" data-parade-views="false" data-parade-touches="false" data-parade-clicks="false" data-parade-mouseovers="false">- Albus Dumbledore</span></p> <hr /> <p style="text-align: center;"> </p>
CPK · 4 months ago