View Issue Details

IDProjectCategoryView StatusLast Update
0002783Composr[All Projects] General / Uncategorisedpublic2017-04-27 17:04
Reportercupper3Assigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002783: Attempting to invoke an Avatar creates error
DescriptionAttempting to edit profile by adding a stock avatar creates this error as shown in the attached stack trace PDF.

Loading up my own avatar cause the identical error.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

cupper3

2016-08-18 01:51

reporter  

stock avatar An error has occurred.pdf (279,968 bytes)

Chris Graham

2016-08-18 09:50

administrator   ~0004257

Sorry for the issue. This is actually a legacy upgrade bug. You can resolve by just doing an edit to each of the Custom Profile Fields. Don't make any changes, just edit each one, and that will correct the legacy issue in the database structure.

We recently improved the upgrader for future upgrades.

cupper3

2016-08-18 22:42

reporter   ~0004258

It seems that attempting ANY kind of edit to the Profile gets a similar error message.

As example, I tried uploading a Photo, and change the Title. In each case, again got error messages.

The Custom Profile Fields ; is that the one in this menu tree: Home → Admin Zone → Custom Profile Fields → Edit Custom Profile Field? How can they be edited when one is not making a change to them? Do you mean just hit "Edit" and then "Save"? I tried that and still get an error message.

Any upgrades are from 10RCxx, which was a fresh install, and not upgraded from 9.x.x

cupper3

2016-08-18 22:43

reporter   ~0004259

Last edited: 2016-08-18 22:43

View 2 revisions

See new note above asking for input as the issue appears to still exist.

cupper3

2016-09-19 21:53

reporter   ~0004339

Still an issue with RC 18

Chris Graham

2016-09-20 17:15

administrator   ~0004343

Sorry I didn't reply to your further question. Yes, just hit Edit and then Save.

I wasn't very clear, the v9 to v10 upgrader has been improved, but the bug here was actually in v9. So the manual repair is still needed. I'll post a repair script as a second option in a minute.

Chris Graham

2016-09-25 17:26

administrator  

execute_temp.php (4,259 bytes)

Chris Graham

2016-09-25 17:27

administrator   ~0004351

I got distracted, but I've now attached the cleanup script. Put in data_custom, then load up via URL. It will rebuilt CPF database indexes and re-set the correct database data-types.

Issue History

Date Modified Username Field Change
2016-08-18 01:51 cupper3 New Issue
2016-08-18 01:51 cupper3 File Added: stock avatar An error has occurred.pdf
2016-08-18 09:50 Chris Graham Note Added: 0004257
2016-08-18 09:50 Chris Graham Status non-assigned => closed
2016-08-18 09:50 Chris Graham Assigned To => Chris Graham
2016-08-18 09:50 Chris Graham Resolution open => no change required
2016-08-18 22:42 cupper3 Note Added: 0004258
2016-08-18 22:43 cupper3 Note Added: 0004259
2016-08-18 22:43 cupper3 Status closed => @20@
2016-08-18 22:43 cupper3 Resolution no change required => reopened
2016-08-18 22:43 cupper3 Note Edited: 0004259 View Revisions
2016-09-19 21:53 cupper3 Note Added: 0004339
2016-09-19 21:53 cupper3 Status @20@ => assigned
2016-09-20 17:15 Chris Graham Note Added: 0004343
2016-09-25 17:26 Chris Graham File Added: execute_temp.php
2016-09-25 17:27 Chris Graham Note Added: 0004351
2016-09-25 17:27 Chris Graham Status assigned => resolved
2016-09-25 17:27 Chris Graham Resolution reopened => fixed
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised