XF 2.1 Please enter a valid value

GamerMob

Active member
Hope someone can help here. I went to edit the Admin group for my site today and when I hit Save it came up with a message, "Please enter a valid value."

The field it seems to be triggered on is the User banner text



Now it seems to take it if the field is no more than 4 characters as shown below.

Note: I tried manually changing it in the database and it doesn't reflect the changes to the banner.



Any help would be appreciated.
 

Brogan

XenForo moderator
Staff member
Can you run this query in phpMyadmin:
SQL:
show create table xf_user_group


Then select full texts and paste the output.
It should look like this:
SQL:
CREATE TABLE `xf_user_group` (
 `user_group_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
 `title` varchar(50) NOT NULL,
 `display_style_priority` int(10) unsigned NOT NULL DEFAULT 0,
 `username_css` text NOT NULL,
 `user_title` varchar(100) NOT NULL DEFAULT '',
 `banner_css_class` varchar(75) NOT NULL DEFAULT '',
 `banner_text` varchar(100) NOT NULL DEFAULT '',
 PRIMARY KEY (`user_group_id`),
 KEY `title` (`title`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4
 

GamerMob

Active member
Can you run this query in phpMyadmin:
SQL:
show create table xf_user_group


Then select full texts and paste the output.
It should look like this:
SQL:
CREATE TABLE `xf_user_group` (
`user_group_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL,
`display_style_priority` int(10) unsigned NOT NULL DEFAULT 0,
`username_css` text NOT NULL,
`user_title` varchar(100) NOT NULL DEFAULT '',
`banner_css_class` varchar(75) NOT NULL DEFAULT '',
`banner_text` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`user_group_id`),
KEY `title` (`title`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4
It won't let me paste anything

 

Brogan

XenForo moderator
Staff member
Which add-ons do you have installed?

Are there any template modifications being applied to the user_group_edit admin template?
 

GamerMob

Active member
Which add-ons do you have installed?

Are there any template modifications being applied to the user_group_edit admin template?
AttachmentRequired
Global Name Styling
Lazy Load Images
Account Wrapper - Font Awesome
Member View - Font Awesome
User Criteria Extended
User Improvements
Core
Amazon S3 for XenForo
Attachment Improvements
Gift Upgrades
Live forum statistics
Report Reasons
Warning Improvements
Standard Library

No edits to the user_group_edit template... Oddly I upgraded my test site installation to 2.2.0 Beta 6 and it works fine.
 

GamerMob

Active member
Odd. I don't think I've ever seen anything like that before.

Is the test installation on a different server then?
It is the same server. This issue was bizarre... So the initial error message resolved after upgraded the test install to 2.2 Beta 6, but the uploading of XML files was not fixed by upgrading.
 

Brogan

XenForo moderator
Staff member
It has to have been some sort of corrupt cache for that site only - it can't have been a general Apache issue otherwise it would have affected the other site the same way.

Oh well, at least it's resolved.
 
Top