View Issue Details

IDProjectCategoryView StatusLast Update
0003372Composrcorepublic2020-03-23 21:30
ReporterJoeAssigned ToChris Graham 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003372: Upload issues on MSN's
DescriptionWhen uploading avatars through an MSN, the file is stored on the primary site regardless of where it was uploaded from. When viewing the primary site, everything displays fine, but the secondary site references its own base URL when it should reference the primary site URL.

For example:
User uploads avatar on secondary site (, file gets stored on primary (
Viewing forum posts and profiles on the primary site ( appear to have the correct URL (this references avatars on

However, when viewing forum posts or profiles on the secondary site (, the avatar image is broken as it's trying to reference an image stored on

There may be a setting I'm missing somewhere, or it could be a bug.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open



2017-11-24 01:37

reporter   ~0005248

I have not tried uploading other types of files; only avatars. So the issue, if any, may not be isolated to avatars alone.


2017-11-24 01:39

reporter   ~0005249

Ah shoot, correction in my description post:

"However, when viewing forum posts or profiles on the secondary site (, the avatar image is broken as it's trying to reference an image stored on"

Chris Graham

2017-11-27 16:52

administrator   ~0005272

Please confirm you have your board_prefix setting in _config.php correctly set. This is your forum base URL.

If you can confirm it is correctly set, I'll reopen this issue - but a code review tells me that it should work okay.


2017-11-28 10:57

reporter   ~0005280


I have set the board_prefix for both sites (even though I'm not sure if this needed to be done on the primary site too).

I was mistaken though, I misinformed you. Here's what's happening:

Upload avatar on 2nd site, file gets stored on 2nd site (should get stored on 1st site)
Profile view from 2nd site references 1st site
Profile view from 1st site references 1st site

It seems that both sites reference the correct URL, but if I upload through the 2nd site, it doesn't store itself on the 1st.

However, if I upload the avatar through the 1st site, it displays correctly on both sites.


2017-11-28 10:59

reporter   ~0005281

To confirm, the correct value for board_prefix was already configured for the secondary site but not for the primary. So I went ahead and entered it for the primary, but the problem still persists.

Chris Graham

2017-11-29 16:51


cns.php (74,803 bytes)

Chris Graham

2017-11-29 16:52

administrator   ~0005284

Fixed sources/forum/cns.php attached.

Uploads can only be stored on the site they are uploaded to, as there is no data-saving connection between the sites. However, it is supposed to use absolute URLs appropriately to workaround that and there were a couple of bugs.

Issue History

Date Modified Username Field Change
2017-11-24 01:36 Joe New Issue
2017-11-24 01:37 Joe Note Added: 0005248
2017-11-24 01:39 Joe Note Added: 0005249
2017-11-27 16:52 Chris Graham Note Added: 0005272
2017-11-27 16:52 Chris Graham Status non-assigned => closed
2017-11-27 16:52 Chris Graham Resolution open => suspended
2017-11-28 10:57 Joe Note Added: 0005280
2017-11-28 10:59 Joe Note Added: 0005281
2017-11-29 16:51 Chris Graham File Added: cns.php
2017-11-29 16:52 Chris Graham Note Added: 0005284
2017-11-29 16:52 Chris Graham Assigned To => Chris Graham
2017-11-29 16:52 Chris Graham Status closed => resolved
2017-11-29 16:52 Chris Graham Resolution suspended => fixed
2020-03-23 21:30 Chris Graham Category msn => core