View Issue Details

IDProjectCategoryView StatusLast Update
0000715XMB1Bugspublic2024-08-23 11:50
ReporterBelle Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.9.12.06 
Target Version1.9.12.07Fixed in Version1.9.12.07 
Summary0000715: Cannot change avatars on/off in user ranks
DescriptionAfter changing the avatar to 'off' for the newbie members in User Ranks, I am met with a MySQL error. This is replicated on a fresh install, as well as the Softaculous demo for the forum.

Debug says:

MySQL encountered the following error: Incorrect integer value: '' for column `(mysql server for the xmb forum here)`.`xmbnr_ranks`.`posts` at row 1
(errno = 1366)

In the following query:
UPDATE xmbnr_ranks SET title='', posts='', stars='1', allowavatars='no', avatarrank='' WHERE id='1'
Steps To ReproduceAdministration Panel > User Ranks > Change 'Avatars' off/on
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision3062

Relationships

related to 0000701 closedmiqrogroove When all post based ranks are removed viewthread.php generates Warnings 

Activities

miqrogroove

2024-08-22 13:00

administrator   ~0000518

This might be something specific to mysql servers configured for strict mode. I will look into it and the fix should be simple.

miqrogroove

2024-08-23 08:15

administrator   ~0000519

While the error-level message is specific to MySQL strict mode, the Newbie rank editor itself was partly broken by a recent patch.

miqrogroove

2024-08-23 11:50

administrator   ~0000520

Thank you for reporting this bug. The latest copy of cp2.php should be all you need. https://sourceforge.net/p/xmb-forum/code/HEAD/tree/xmb19x/trunk/source/cp2.php?format=raw

Issue History

Date Modified Username Field Change
2024-08-22 04:45 Belle New Issue
2024-08-22 13:00 miqrogroove Assigned To => miqrogroove
2024-08-22 13:00 miqrogroove Status new => acknowledged
2024-08-22 13:00 miqrogroove Note Added: 0000518
2024-08-23 08:13 miqrogroove Relationship added related to 0000701
2024-08-23 08:15 miqrogroove Status acknowledged => assigned
2024-08-23 08:15 miqrogroove Target Version => 1.9.12.07
2024-08-23 08:15 miqrogroove Note Added: 0000519
2024-08-23 11:50 miqrogroove Status assigned => resolved
2024-08-23 11:50 miqrogroove Resolution open => fixed
2024-08-23 11:50 miqrogroove Fixed in Version => 1.9.12.07
2024-08-23 11:50 miqrogroove SVN Revision => 3062
2024-08-23 11:50 miqrogroove Note Added: 0000520