Please enter a value using 16 characters or fewer.

Rakano

Active member
Registered
Joined
May 19, 2021
Messages
34
Points
18

Reputation:

Hello ,

Can you help me to try to understand why this error appears when trying to login?

It only happens to some members. So I don't have any screenshot of the problem
 

UNKNOWN PH

RUSH ARMY
Registered
Joined
Jun 9, 2019
Messages
606
Points
73

Reputation:

Hello ,

Can you help me to try to understand why this error appears when trying to login?

It only happens to some members. So I don't have any screenshot of the problem
Rakanoplease provide a screenshot so we can recognize the error more easily
 

shqawe

Well-known member
Registered
Joined
Jun 30, 2019
Messages
63
Points
28

Reputation:

@Rakano I think if i'm not wrong this error appears if you add custom fields in login or register page.
 

Rakano

Active member
Registered
Joined
May 19, 2021
Messages
34
Points
18

Reputation:

@Rakano I think if i'm not wrong this error appears if you add custom fields in login or register page.
shqaweI didn't do this, but I think there is a conflict between two addons .
 

shqawe

Well-known member
Registered
Joined
Jun 30, 2019
Messages
63
Points
28

Reputation:

I didn't do this, but I think there is a conflict between two addons .
RakanoSo you have to check which addon make this problem. Try to disable addons which use login template one by one and ask your members who facing this problem if problem gone or not.
 

Rakano

Active member
Registered
Joined
May 19, 2021
Messages
34
Points
18

Reputation:

Unfortunately, this problem did not happen to me, but it happened with two other members so far and I am waiting for any of them to send a screenshot of the problem. I wanted to ask if this problem happened to anyone before.
 

shqawe

Well-known member
Registered
Joined
Jun 30, 2019
Messages
63
Points
28

Reputation:

Unfortunately, this problem did not happen to me, but it happened with two other members so far and I am waiting for any of them to send a screenshot of the problem. I wanted to ask if this problem happened to anyone before.
RakanoTo be honest it's first time i saw this problem and i searched in xenforo file's about that phrase to see when it is show and i find it show in custom fields case as i mentioned above. Can you share your forum link to see maybe we can find something there?
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Screenshot_20221205-210951.jpg

Got the same issue recently with 2-3 members. Not sure what add-on has the conflict. Although the user's had a password less than 16 chars.

Any update on the issue?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

View attachment 31906
Got the same issue recently with 2-3 members. Not sure what add-on has the conflict. Although the user's had a password less than 16 chars.

Any update on the issue?
Thanos CraxWhich addons has been installed?

Please enter a value using {count} characters or fewer.
  • DBTech Credits (phrase will not be used)
  • DBTech Donate (phrase will not be used)
  • DBTech Security (phrase will not be used)
  • DBTech Shop (phrase will not be used)
  • DBTech eCommerce (phrase will be used but count is set to 25)
  • ... any others
Any custom fields added?

In Xenforo it will also be used in applyValueConstraints for STRINGS and BINARIES
 
Last edited:
View previous replies…

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Which addons has been installed?

Please enter a value using {count} characters or fewer.
  • DBTech Credits (phrase will not be used)
  • DBTech Donate (phrase will not be used)
  • DBTech Security (phrase will not be used)
  • DBTech Shop (phrase will not be used)
  • DBTech eCommerce (phrase will be used but count is set to 25)
  • ... any others
Any custom fields added?

In Xenforo it will also be used in applyValueConstraints for STINGS and BINARIES
BattleKingAdd-ons used:
Code:
[AddonFlare] XF2 Awards System
[AddonsLab] Resource Filter
[AddonsLab] Thread Filter
[AL] Core Package
[AnzahTools] Mass action in approval queue
[bs] Visitor Panel
[cXF] Cookie Notice
[cXF] Mobile Footer
[cXF] Replies and Views on thread view
[cXF] Sticky Create Button
[cXF] Thread scroll enhancement
[DohTheme] RE-ME
[EAE] Thread Count
[J] Email Check
[J] Thread Preview
[Kirby] Font Awesome Manager
[Liam W] (RIP) Global Name Styling
[MMO] Core Library
[MMO] Hide Bb-Code Content System
[MMO] Navigation tab icons
[MMO] Verified Badge
[n] Coinbase Commerce Integration
[NICK97] Recently Used Devices
[Nulumia] SEO & Index Tools
[Nulumia] XFOptimize
[OzzModz] ACP Usergroup Styling
[OzzModz] Floating Menu
[OzzModz] Force Users To Read Threads
[OzzModz] Gif Avatar Permissions
[OzzModz] Google Search
[OzzModz] Members Online Widget Permission
[OzzModz] Prefix Or Suffix Downloaded Attachments
[OzzModz] Read More Buttons
[OzzModz] Style Chooser In Navigation Bar
[OzzModz] XFRM Resources Layout
[SC] Prefix Filter
[TC] Paid Resources
[Telegram] Core
[TH] Content Creation Limits
[TH] Image Optimizer
[TH] Monetize
[TH] Notices Plus
[tl] Profile Vanity URL
[tl] Watermark
[Xen-Soluce] Avatar Gallery
[Xen-Soluce] Predefined Tags
[XenConcept] Minimum post length
[XenConcept] Captcha login
[XFA] Core
[XFA] Frequently Asked Questions
[XFA] Thread Template
[XM] XenMake Style Properties
[XTR] Live Forum Statistics Layout
[XTR] Random Tips
[XTR] Unlimited User Group Banners
Ads Manager
AMPXF
Approval queue tools
Auto OpenGraph
Browser Detection
Chat
Content Ratings For XF2.1+
D.C Style - Advanced Download for XF2
Daily Statistics
DragonByte Credits
Image Attachment Cache Control
Insert attachment
Lazy Image Loader
Live forum statistics
Login as User
Logo email
Multi Prefix
Open Links in New Tab
Quick search
Remove RSS
Report Improvements
Resource Manager Stencil
Search Improvements
Similar resources
Similar threads
Slow Query Logger
Standard Library
Sticky First Post
Tag Essentials
Ultimate Custom Nodes
XenForo Media Gallery
XenForo Resource Manager
XFRM resource statistics
XFRM top resources
XnForo.IR Dark AdminCP Style
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Add-ons used:
Code:
[AddonFlare] XF2 Awards System
[AddonsLab] Resource Filter
[AddonsLab] Thread Filter
[AL] Core Package
[AnzahTools] Mass action in approval queue
[bs] Visitor Panel
[cXF] Cookie Notice
[cXF] Mobile Footer
[cXF] Replies and Views on thread view
[cXF] Sticky Create Button
[cXF] Thread scroll enhancement
[DohTheme] RE-ME
[EAE] Thread Count
[J] Email Check
[J] Thread Preview
[Kirby] Font Awesome Manager
[Liam W] (RIP) Global Name Styling
[MMO] Core Library
[MMO] Hide Bb-Code Content System
[MMO] Navigation tab icons
[MMO] Verified Badge
[n] Coinbase Commerce Integration
[NICK97] Recently Used Devices
[Nulumia] SEO & Index Tools
[Nulumia] XFOptimize
[OzzModz] ACP Usergroup Styling
[OzzModz] Floating Menu
[OzzModz] Force Users To Read Threads
[OzzModz] Gif Avatar Permissions
[OzzModz] Google Search
[OzzModz] Members Online Widget Permission
[OzzModz] Prefix Or Suffix Downloaded Attachments
[OzzModz] Read More Buttons
[OzzModz] Style Chooser In Navigation Bar
[OzzModz] XFRM Resources Layout
[SC] Prefix Filter
[TC] Paid Resources
[Telegram] Core
[TH] Content Creation Limits
[TH] Image Optimizer
[TH] Monetize
[TH] Notices Plus
[tl] Profile Vanity URL
[tl] Watermark
[Xen-Soluce] Avatar Gallery
[Xen-Soluce] Predefined Tags
[XenConcept] Minimum post length
[XenConcept] Captcha login
[XFA] Core
[XFA] Frequently Asked Questions
[XFA] Thread Template
[XM] XenMake Style Properties
[XTR] Live Forum Statistics Layout
[XTR] Random Tips
[XTR] Unlimited User Group Banners
Ads Manager
AMPXF
Approval queue tools
Auto OpenGraph
Browser Detection
Chat
Content Ratings For XF2.1+
D.C Style - Advanced Download for XF2
Daily Statistics
DragonByte Credits
Image Attachment Cache Control
Insert attachment
Lazy Image Loader
Live forum statistics
Login as User
Logo email
Multi Prefix
Open Links in New Tab
Quick search
Remove RSS
Report Improvements
Resource Manager Stencil
Search Improvements
Similar resources
Similar threads
Slow Query Logger
Standard Library
Sticky First Post
Tag Essentials
Ultimate Custom Nodes
XenForo Media Gallery
XenForo Resource Manager
XFRM resource statistics
XFRM top resources
XnForo.IR Dark AdminCP Style
Thanos Crax
imageda52e2590e1a92e8.png

please_enter_value_using_x_characters_or_fewer
dbtech_credits_please_enter_value_using_x_characters_or_fewer
image954560f7cb982a09.png

The only add-on I could search with similar phrase.
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Do you know at which point it will be generated, I mean the error?
BattleKingAfter disabling the only thing I thought would cause it was this addon:

[NICK97] Recently Used Devices 2.3.0​

Since it is directly related to login and has a major part in it too. Disabled it and one of them just told me it's fixed.

image.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

After disabling the only thing I thought would cause it was this addon:

[NICK97] Recently Used Devices 2.3.0​

Since it is directly related to login and has a major part in it too. Disabled it and one of them just told me it's fixed.

image.png
Thanos CraxGood to know I will check the addon, maybe I find something

I guess I found it ;) Is it possible that this user reach the system via IPV6? We could try to increase the field "IP" in table "xf_fc_user_devices"

192.168.100.100 => result in a length of 15
2400:adca:104:e800:fccb:3bfa:bab5:64b3 => result in a length of 38

So please increase the field to 40 and reactivate the addon again.
You also need to change the nick97\recentlyuseddevices\Entity\Device.php

Change this
'ip' => ['type' => self::BINARY, 'maxLength' => 16],
to
'ip' => ['type' => self::BINARY, 'maxLength' => 40],

Give it a try and let us know.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

Good to know I will check the addon, maybe I find something

I guess I found it ;) Is it possible that this user reach the system via IPV6? We could try to increase the field "IP" in table "xf_fc_user_devices"

192.168.100.100 => result in a length of 15
2400:adca:104:e800:fccb:3bfa:bab5:64b3 => result in a length of 38

So please increase the field to 40 and reactivate the addon again.
You also need to change the nick97\recentlyuseddevices\Entity\Device.php

Change this
'ip' => ['type' => self::BINARY, 'maxLength' => 16],
to
'ip' => ['type' => self::BINARY, 'maxLength' => 40],

Give it a try and let us know.
BattleKing@Thanos Crax and @Rakano did you test it?
 

Rakano

Active member
Registered
Joined
May 19, 2021
Messages
34
Points
18

Reputation:

If you connect your host with cloudflare , try to disable "Rocket Loader" service . @Thanos Crax
 

Rakano

Active member
Registered
Joined
May 19, 2021
Messages
34
Points
18

Reputation:

@BattleKing I don't have this addon and problem solved when I disabled cloudflare.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

Rakano

Active member
Registered
Joined
May 19, 2021
Messages
34
Points
18

Reputation:

let us know which addons you have installed, maybe we will find it there too
BattleKingI found it already installed.(recent used devices addon) 😅😅
And I tried your solution and re-activated CloudFlare and no one has complained since yesterday.
Thank you bro 😍😍😍
 
Top