DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN 10 Relative Path Issue

 3 Replies
 0 Subscribed to this topic
 33 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 1
New Around Here

So we just upgraded from 9.13.7 to 10.00.00. Since the upgrade there are a few weird quirks we are running into with the relative path in certain areas. IN a few places it's looking at the server root instead of the site root. We did not encounter this with the older version.

Our URL is set up like this "www.devserver.com/ourdnnsite/", and since the upgrade there are a few admin pages where the relative path is wrong. If I go to "Manage-->Themes" all of the image links are broken. Looking in the browser console it's showing going directly to "/portals/_default/skins/theme/thumbnail.png", when in reality, and almost everywhere else, it should be "/ourdnnsite/portals/_default/skins/theme/thumbnail.png". All of those image links are also broken on the "Pages-->Advanced-->Appearance" settings screen.

"Settings-->Config Manager" and "Settings-->Custom CSS" sometimes does the same thing. I say sometimes because when it happens the editor will not show up, but if I refresh the page the editor might actually come up so it's stranger than the Themes screen since that one is at least consistently broken. When it errors out it's the same issue, it looks for "/Resources/Shared/components/MonacoEditor/basic-languages/css/css.js" instead of "/ourdnnsite/Resources/Shared/components/MonacoEditor/basic-languages/css/css.js".

I'm able to swap themes without a problem, and when the editor shows up on the config screen it works just fine, so what we're seeing is more of a nuisance than anything else. I have not seen anyone else report anything like this so it's obviously isolated to us, but any help on where to look to fix this would be appreciated.

Veteran Member
Posts: 367
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

MrKleen, have you compare the pages that work against the ones that doesn't work? is there anything different on those pages? maybe a third party module or something you costum developed; this might help you isolate the problem a little bit more.

Also, what do you have on the admin logs? have you seen any errors related to this?

In the site alias section from Settings, how many entries do you have registered? in this same section, do you've an alias set as primary?

New Around Here
Posts: 1
New Around Here

Hey Marco,

Thank you for replying. On Friday I ended up creating a brand new installation of DNN 10, instead of upgrading, and then installed the modules and theme I use on top of that and everything works perfectly now. I assume whatever happened was just a glitch in the Matrix :-) 

Thanks again!

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
I think this post may be linked to the same bug.

https://dnncommunity.org/...rm-in-child-portals/

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved